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 D3A2A1382C5 for ; Fri, 29 Jan 2021 14:36:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14A0AE0C41; Fri, 29 Jan 2021 14:36:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 EEEDDE0C41 for ; Fri, 29 Jan 2021 14:36:47 +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 D5FC03406C0 for ; Fri, 29 Jan 2021 14:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28090476 for ; Fri, 29 Jan 2021 14:36:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1611931001.ec99bdb5626bdd50340702243b3e62fe8fd4d6bc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgcrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgcrypt/libgcrypt-1.9.1.ebuild X-VCS-Directories: dev-libs/libgcrypt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ec99bdb5626bdd50340702243b3e62fe8fd4d6bc X-VCS-Branch: master Date: Fri, 29 Jan 2021 14:36:45 +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: 71831e20-b921-47e3-a1a6-e13661eeec64 X-Archives-Hash: 869c9d1641132193f1461ca2d898df0b commit: ec99bdb5626bdd50340702243b3e62fe8fd4d6bc Author: Sam James gentoo org> AuthorDate: Fri Jan 29 14:36:38 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 29 14:36:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec99bdb5 dev-libs/libgcrypt: add CPU_FLAGS_* Bug: https://bugs.gentoo.org/766423 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/libgcrypt/libgcrypt-1.9.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.9.1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.9.1.ebuild index 7c5ab1075dd..a40209631d4 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.9.1.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.9.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" LICENSE="LGPL-2.1 MIT" SLOT="0/20" # subslot = soname major version KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+asm doc o-flag-munging static-libs" +IUSE="+asm cpu_flags_arm_neon cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_padlock cpu_flags_x86_sha cpu_flags_x86_sse4_1 doc o-flag-munging static-libs" RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" @@ -43,6 +43,13 @@ multilib_src_configure() { CC_FOR_BUILD="$(tc-getBUILD_CC)" --enable-noexecstack + $(use_enable cpu_flags_arm_neon neon-support) + $(use_enable cpu_flags_x86_aes aesni-support) + $(use_enable cpu_flags_x86_avx avx-support) + $(use_enable cpu_flags_x86_avx2 avx2-support) + $(use_enable cpu_flags_x86_padlock padlock-support) + $(use_enable cpu_flags_x86_sha shaext-support) + $(use_enable cpu_flags_x86_sse4_1 sse41-support) # required for sys-power/suspend[crypt], bug 751568 $(use_enable static-libs static) $(use_enable o-flag-munging O-flag-munging)