diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-31 16:00:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-31 16:00:27 +0000 |
commit | 1db00cc6e94b90c08090bb5b8c406622946c4ae5 (patch) | |
tree | c34bf820c2809fb7e08ed5564df2a25cf759516f /app-benchmarks/stress-ng | |
parent | 693cc9b6e847a01c1bb692153021aaf9fb0fab25 (diff) |
gentoo resync 31.01.2019
Diffstat (limited to 'app-benchmarks/stress-ng')
-rw-r--r-- | app-benchmarks/stress-ng/Manifest | 3 | ||||
-rw-r--r-- | app-benchmarks/stress-ng/files/stress-ng-0.09.50-makefile.patch | 60 | ||||
-rw-r--r-- | app-benchmarks/stress-ng/stress-ng-0.09.50.ebuild | 35 |
3 files changed, 98 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index 04205df5eb1f..73e4a5c23462 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1,4 +1,7 @@ AUX stress-ng-0.09.47-makefile.patch 1719 BLAKE2B ec889073ac77ee3109d9abbd039388acb2c3924af141a9111b2411e6ca5a721af2f331be03009913bae7aea39044fc1fc5ed7f2cff83b386df8a15c7edab8162 SHA512 f5a567ab766ef4bd473e0e2324cada9b4d63601ce27c310fcf1f24ca051286c72b8f41e666f148542e97ca95691828bd66ee55cbc801e4b8effcf0be46c976d6 +AUX stress-ng-0.09.50-makefile.patch 1714 BLAKE2B 214f285b898da3b004ccd2fb8e7bdee328509aa1a9254aeb196ac836b0fdd04942968f639948a5a2a5d2c18066b6d426020135e11d3663acaaedf12c6fe153b7 SHA512 c83d5e216a5cdd568be1755836b4a385ead1136500c4b4704ad338472de483b5aeb8234f1a9ed184de067e6ec42b864013aec7300a5256bfd953ee7153ac0aca DIST stress-ng-0.09.49.tar.xz 369304 BLAKE2B 48b11df90563ec7d09e84e441039366bfca9788af5079ce9bc921370d78371638ff9a9fbaa7e623eefb343b5c19b55a5e4b9bb9688898733c0452b3e2b9549e4 SHA512 b4eb93dc2d015766da1361840e4880db83a9e9297d4272383abdfcaeb26dc8437c3dc0b007efa5c12585bfaacaa2ae255ed52c693f9e8f6595a7294db48bc68a +DIST stress-ng-0.09.50.tar.xz 372592 BLAKE2B 430e4e8feefb358d6e9445d2418356d306c978ae0e6521a8fa6f216cd2fd031569ce9359236080784682991d81a3d9aacc4cef54709fbed2d9a99d7154d9e6b0 SHA512 b52a2e52011d6fcc7c72ad12c6173c7e7e77028e6c90d2aef170235bfb5b9b0ffe7422b178e58d68c0239dc85cce59edb6a58b9edfea84aba2b24c995321d5d4 EBUILD stress-ng-0.09.49.ebuild 681 BLAKE2B ae6167f649744ffde0c24168023506856601640532b063802f7e43579dbc050fcd5a0e5c1c758e52043ea22d45ffc970b51def5bdd2585a60ceb76975a7455c2 SHA512 e3ffbbed36df0df4f13dfa3a4feb71dfbda201f235cbbdb581074d772a4340a1ee019a5a2559a7e034995893a8955a5694cb5d46d1f1b3dadcabd649ad19c61c +EBUILD stress-ng-0.09.50.ebuild 674 BLAKE2B 9ac6e39b960870a705e4649e41aa27aa74de5330c5691672adef956177cbf93943a1d7f8fc43dd17dcf4b4b4c0c30004d5a5be840ea8cb0ec8b157809583b62a SHA512 3ada71e65666907a5ac925323021a47d0d91c5560a8cd21c99fcc7e36641c493538819579edd592f029254ae5b666982ee20e8bdf94e5a788ac54c4fac19d82c MISC metadata.xml 953 BLAKE2B c10dbe55ea86af30a97975174565c3c9bbc76bf029f1582a5fbe8a98f79afb80a509543730294673d5b51ddf4a32fc93e8017f8ba0b26cac119c1e97e8fd025a SHA512 7975ca315e447e9d6c2d551fcf396b2a03d71661c4bd33843dba0413ea7b119dd1d3f59aaa91298bb5be2a17f377f7cae96cc7413531f30a88e2f401ef76f0bb diff --git a/app-benchmarks/stress-ng/files/stress-ng-0.09.50-makefile.patch b/app-benchmarks/stress-ng/files/stress-ng-0.09.50-makefile.patch new file mode 100644 index 000000000000..791f599118b7 --- /dev/null +++ b/app-benchmarks/stress-ng/files/stress-ng-0.09.50-makefile.patch @@ -0,0 +1,60 @@ +--- a/Makefile 2019-01-02 18:19:15.000000000 +0100 ++++ b/Makefile 2019-01-27 15:09:56.000000000 +0100 +@@ -21,7 +21,7 @@ + # Codename "portable pressure producer" + # + +-CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -std=gnu99 -g ++CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -std=gnu99 + + # + # Pedantic flags +@@ -344,12 +344,10 @@ + .o: stress-ng.h Makefile + + .c.o: stress-ng.h Makefile $(SRC) +- @echo "CC $<" +- @$(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) -c -o $@ $< + + stress-ng: $(OBJS) +- @echo "LD $@" +- @$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@ ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@ + @sync + + makeconfig: +@@ -370,7 +368,7 @@ + sed '$$ s/.$$//' >> apparmor-data.c + @echo "};" >> apparmor-data.c + @echo "const size_t g_apparmor_data_len = sizeof(g_apparmor_data);" >> apparmor-data.c +- @echo "CC $<" ++ echo "CC $<" + @$(CC) -c apparmor-data.c -o apparmor-data.o + @rm -rf apparmor-data.c apparmor-data.bin + +@@ -386,12 +384,12 @@ + perf.o: perf.c perf-event.c + @$(CC) $(CFLAGS) -E perf-event.c | grep "PERF_COUNT" | sed 's/,/ /' | \ + awk {'print "#define _SNG_" $$1 " (1)"'} > perf-event.h +- @echo CC $< +- @$(CC) $(CFLAGS) -c -o $@ $< ++ echo CC $< ++ $(CC) $(CFLAGS) -c -o $@ $< + + stress-vecmath.o: stress-vecmath.c +- @echo CC $< +- @$(CC) $(CFLAGS) -fno-builtin -c -o $@ $< ++ echo CC $< ++ $(CC) $(CFLAGS) -fno-builtin -c -o $@ $< + @touch stress-ng.c + + $(OBJS): stress-ng.h Makefile +@@ -439,6 +437,6 @@ + mkdir -p ${DESTDIR}${BINDIR} + cp stress-ng ${DESTDIR}${BINDIR} + mkdir -p ${DESTDIR}${MANDIR} +- cp stress-ng.1.gz ${DESTDIR}${MANDIR} ++ cp stress-ng.1 ${DESTDIR}${MANDIR} + mkdir -p ${DESTDIR}${JOBDIR} + cp -rp example-jobs/*.job ${DESTDIR}${JOBDIR} diff --git a/app-benchmarks/stress-ng/stress-ng-0.09.50.ebuild b/app-benchmarks/stress-ng/stress-ng-0.09.50.ebuild new file mode 100644 index 000000000000..13f9d61038e8 --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.09.50.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Stress test for a computer system with various selectable ways" +HOMEPAGE="http://kernel.ubuntu.com/~cking/stress-ng/" +SRC_URI="http://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/libaio + dev-libs/libbsd + dev-libs/libgcrypt:0= + net-misc/lksctp-tools + sys-apps/attr + sys-apps/keyutils + sys-libs/libapparmor + sys-libs/libcap + sys-libs/zlib:= +" + +RDEPEND="${DEPEND}" + +DOCS=( + "README" + "README.Android" + "TODO" + "syscalls.txt" +) + +PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) |