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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32253158008 for ; Wed, 14 Jun 2023 15:15:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A57BE0864; Wed, 14 Jun 2023 15:15:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CEF9E0864 for ; Wed, 14 Jun 2023 15:15:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59D67340F8F for ; Wed, 14 Jun 2023 15:15:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6F32A66 for ; Wed, 14 Jun 2023 15:15:19 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1686755633.c9a1216cb805d26b177f98b927537859ec82997f.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/ntl/ntl-11.5.1-r4.ebuild X-VCS-Directories: dev-libs/ntl/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: c9a1216cb805d26b177f98b927537859ec82997f X-VCS-Branch: master Date: Wed, 14 Jun 2023 15:15:19 +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: 241443a8-ce73-4158-aa68-d4ce3f60fb43 X-Archives-Hash: 6434586cf8818576a52db43ddf0e7be8 commit: c9a1216cb805d26b177f98b927537859ec82997f Author: Michael Orlitzky gentoo org> AuthorDate: Wed Jun 14 15:09:47 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Wed Jun 14 15:13:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a1216c dev-libs/ntl: set NATIVE=off again. Pong. NTL detects CPU features at build time, and needs something like CXXFLAGS="-march=native" to do it properly. But, so long as we don't try to enable anything based on the user's CPU_FLAGS_X86, it should be safe to leave NATIVE=off to avoid overriding his CXXFLAGS. Signed-off-by: Michael Orlitzky gentoo.org> dev-libs/ntl/ntl-11.5.1-r4.ebuild | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild b/dev-libs/ntl/ntl-11.5.1-r4.ebuild index c8e07339e445..a15d8549c839 100644 --- a/dev-libs/ntl/ntl-11.5.1-r4.ebuild +++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild @@ -47,12 +47,6 @@ src_configure() { # may lead to worse performance." So we are probably not missing out # on much. # - # The NATIVE=on option adds "-march=native" to CXXFLAGS and should - # not be enabled on Gentoo, but is currently necessary for NTL's CPU - # feature detection to work (bug 815775). See the upstream issue, - # - # https://github.com/libntl/ntl/issues/22 - # perl DoConfig \ PREFIX="${EPREFIX}"/usr \ LIBDIR="${EPREFIX}"/usr/$(get_libdir) \ @@ -67,7 +61,7 @@ src_configure() { NTL_GF2X_LIB=on \ NTL_THREADS=$(usex threads on off) \ NTL_ENABLE_AVX_FFT=off \ - NATIVE=on \ + NATIVE=off \ || die "DoConfig failed" if use doc; then