From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3A3DF13835A for ; Thu, 10 Sep 2020 21:57:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CDBEE090E; Thu, 10 Sep 2020 21:57:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A1B0E090E for ; Thu, 10 Sep 2020 21:57:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59738340DF5 for ; Thu, 10 Sep 2020 21:57:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5C39344 for ; Thu, 10 Sep 2020 21:57:30 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1599775045.d4e293f30f2c4c62c2e467807872fe45348f02e7.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/stress-ng/files/, app-benchmarks/stress-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/stress-ng/Manifest app-benchmarks/stress-ng/files/stress-ng-0.11.19-optimization-checks.patch app-benchmarks/stress-ng/stress-ng-0.11.19.ebuild X-VCS-Directories: app-benchmarks/stress-ng/ app-benchmarks/stress-ng/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: d4e293f30f2c4c62c2e467807872fe45348f02e7 X-VCS-Branch: master Date: Thu, 10 Sep 2020 21:57:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 48c159b6-48e6-45ea-8430-b074294d12a0 X-Archives-Hash: 109fd689bfaf0b619de02197c498d687 commit: d4e293f30f2c4c62c2e467807872fe45348f02e7 Author: Conrad Kostecki gentoo org> AuthorDate: Thu Sep 10 21:55:03 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu Sep 10 21:57:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e293f3 app-benchmarks/stress-ng: drop old version Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> app-benchmarks/stress-ng/Manifest | 1 - .../stress-ng-0.11.19-optimization-checks.patch | 87 ---------------------- app-benchmarks/stress-ng/stress-ng-0.11.19.ebuild | 44 ----------- 3 files changed, 132 deletions(-) diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index badb00724f8..8765c676141 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1,2 +1 @@ -DIST stress-ng-0.11.19.tar.xz 475692 BLAKE2B 711e9532655e8b76c44d06a86c773e2a2d5c19cf08dec693f7aacf100060ed492fc7ace8244897d4b342a3f1cae8e3f81314cb5b792253957c1622621bd1f6c0 SHA512 eefb331699faccaaa98775e14e4f33f5cc99b86ec8feb8f1c34b6cb7d20f061c576f8fcd683e51740fa662fb54d987bed36b9d87ad13a1b39b4fe66e60177ab1 DIST stress-ng-0.11.20.tar.xz 480540 BLAKE2B 97ef2726ae5882c405ac752b56fa14e1a08a428b2ff2685b2d513438394b86184aa412ce97ea428a6ab4ec42c29c6bd4f5c28da9331c27c477d29a8fbe070a74 SHA512 08dda9ec44d9bde873b0186c4dbf3b15090c261316f0ec0ceed5378d31780b85038f898957c892393fef593ad5c913d044c1db8e2b60c68d88f5678d0209b6ac diff --git a/app-benchmarks/stress-ng/files/stress-ng-0.11.19-optimization-checks.patch b/app-benchmarks/stress-ng/files/stress-ng-0.11.19-optimization-checks.patch deleted file mode 100644 index 18bd02ae9d5..00000000000 --- a/app-benchmarks/stress-ng/files/stress-ng-0.11.19-optimization-checks.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 70acc386b6afb726d4576a3d4368b51114e92530 Mon Sep 17 00:00:00 2001 -From: Colin Ian King -Date: Tue, 1 Sep 2020 12:54:19 +0100 -Subject: [PATCH] stress-ng.h: build in target clone types if gcc supports the - feature - -Add in more build time optimization checks, try to build smarter with -various gcc compatibility support checks. - -Signed-off-by: Colin Ian King ---- - stress-ng.h | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 61 insertions(+), 1 deletion(-) - -diff --git a/stress-ng.h b/stress-ng.h -index 3803bc71..6ce7d72e 100644 ---- a/stress-ng.h -+++ b/stress-ng.h -@@ -1686,7 +1686,67 @@ extern void pr_dbg_lock(bool *locked, const char *fmt, ...) FORMAT(printf, 2, 3 - - /* GCC5.0+ target_clones attribute */ - #if defined(HAVE_TARGET_CLONES) && defined(STRESS_ARCH_X86) --#define TARGET_CLONES __attribute__((target_clones("mmx","sse","sse2","ssse3", "sse4.1", "sse4a", "avx", "avx2", "arch=skylake-avx512", "default"))) -+#if defined(__MMX_WITH_SSE__) -+#define TARGET_CLONE_MMX "mmx", -+#else -+#define TARGET_CLONE_MMX -+#endif -+ -+#if defined(__AVX__) -+#define TARGET_CLONE_AVX "avx", -+#else -+#define TARGET_CLONE_AVX -+#endif -+ -+#if defined(__AVX2__) -+#define TARGET_CLONE_AVX2 "avx2", -+#else -+#define TARGET_CLONE_AVX2 -+#endif -+ -+#if defined(__SSE__) -+#define TARGET_CLONE_SSE "sse", -+#else -+#define TARGET_CLONE_SSE -+#endif -+ -+#if defined(__SSE2__) -+#define TARGET_CLONE_SSE2 "sse2", -+#else -+#define TARGET_CLONE_SSE2 -+#endif -+ -+#if defined(__SSE3__) -+#define TARGET_CLONE_SSE3 "sse3", -+#else -+#define TARGET_CLONE_SSE3 -+#endif -+ -+#if defined(__SSSE3__) -+#define TARGET_CLONE_SSSE3 "ssse3", -+#else -+#define TARGET_CLONE_SSSE3 -+#endif -+ -+#if defined(__SSE4_1__) -+#define TARGET_CLONE_SSE4_1 "sse4.1", -+#else -+#define TARGET_CLONE_SSE4_1 -+#endif -+ -+#if defined(__SSE4_2__) -+#define TARGET_CLONE_SSE4_2 "sse4.2", -+#else -+#define TARGET_CLONE_SSE4_2 -+#endif -+ -+#if defined(__AVX512F__) -+#define TARGET_CLONE_SKYLAKE_AVX512 "arch=skylake-avx512", -+#else -+#define TARGET_CLONE_SKYLAKE_AVX512 -+#endif -+ -+#define TARGET_CLONES __attribute__((target_clones(TARGET_CLONE_AVX TARGET_CLONE_AVX2 TARGET_CLONE_MMX TARGET_CLONE_SSE TARGET_CLONE_SSE2 TARGET_CLONE_SSE3 TARGET_CLONE_SSSE3 TARGET_CLONE_SSE4_1 TARGET_CLONE_SSE4_2 TARGET_CLONE_SKYLAKE_AVX512 "default"))) - #elif defined(HAVE_TARGET_CLONES) && defined(STRESS_ARCH_PPC64) - #define TARGET_CLONES __attribute__((target_clones("cpu=power9,default"))) - #else diff --git a/app-benchmarks/stress-ng/stress-ng-0.11.19.ebuild b/app-benchmarks/stress-ng/stress-ng-0.11.19.ebuild deleted file mode 100644 index 45fa78dbb29..00000000000 --- a/app-benchmarks/stress-ng/stress-ng-0.11.19.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit optfeature toolchain-funcs - -DESCRIPTION="Stress test for a computer system with various selectable ways" -HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/" -SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -DEPEND=" - dev-libs/libaio - dev-libs/libbsd - dev-libs/libgcrypt:0= - sys-apps/attr - sys-apps/keyutils:= - sys-libs/libcap - sys-libs/zlib -" - -RDEPEND="${DEPEND}" - -DOCS=( "README" "README.Android" "TODO" "syscalls.txt" ) - -PATCHES=( - "${FILESDIR}/${PN}-0.11.17-makefile.patch" - "${FILESDIR}/${PN}-0.11.19-optimization-checks.patch" -) - -src_compile() { - tc-export CC - - default -} - -pkg_postinst() { - optfeature "AppArmor support" sys-libs/libapparmor - optfeature "SCTP support" net-misc/lksctp-tools -}