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 5995B15800A for ; Fri, 4 Aug 2023 20:08:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BE00E03DF; Fri, 4 Aug 2023 20:08:30 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 591ADE03DF for ; Fri, 4 Aug 2023 20:08:30 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2AA7B340D87 for ; Fri, 4 Aug 2023 20:08:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3604EEC2 for ; Fri, 4 Aug 2023 20:08:27 +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: <1691179681.b723304aa048be3e1eefc17f62b9ae60975d395e.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-r3.ebuild X-VCS-Directories: dev-libs/ntl/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: b723304aa048be3e1eefc17f62b9ae60975d395e X-VCS-Branch: master Date: Fri, 4 Aug 2023 20:08:27 +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: ec858337-24b9-4021-ac9c-0d16d1450232 X-Archives-Hash: 2d2972c51791d9c4da8e6bfdc27848fa commit: b723304aa048be3e1eefc17f62b9ae60975d395e Author: Michael Orlitzky gentoo org> AuthorDate: Fri Aug 4 17:25:48 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Fri Aug 4 20:08:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b723304a dev-libs/ntl: drop 11.5.1-r3 Signed-off-by: Michael Orlitzky gentoo.org> dev-libs/ntl/ntl-11.5.1-r3.ebuild | 86 --------------------------------------- 1 file changed, 86 deletions(-) diff --git a/dev-libs/ntl/ntl-11.5.1-r3.ebuild b/dev-libs/ntl/ntl-11.5.1-r3.ebuild deleted file mode 100644 index b4e6ec7eadc4..000000000000 --- a/dev-libs/ntl/ntl-11.5.1-r3.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs gnuconfig - -DESCRIPTION="High-performance and portable C++ number theory library" -HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl" -SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/44" -KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc threads cpu_flags_x86_avx2" - -BDEPEND="dev-lang/perl" -DEPEND="dev-libs/gmp:0= - dev-libs/gf2x - threads? ( >=dev-libs/gf2x-1.2 )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${P}/src" - -DOCS=( "${WORKDIR}/${P}"/README ) - -src_unpack() { - default - gnuconfig_update "${S}/libtool-origin/" -} - -src_configure() { - # The DoConfig script builds its own libtool, but doesn't - # really try to set up the build environment (bug 718892). - export CC="$(tc-getCC)" - export CXX="$(tc-getCXX)" - - # The "AVX2" detection within NTL does more than just detect AVX2; - # it also checks that (for example) the size of a "long" is 64 bits. - # If we try to enable the AVX FFT (based on the avx2 cpu flag) and - # if NTL determines that AVX2 is unusable for some other reason, - # then the build will fail (bug 815775). To work around that, we - # disable the AVX FFT on x86 entirely. This still isn't perfect, but - # it should fix the cases we know about. - local avx_fft=$(usex cpu_flags_x86_avx2 on off) - use x86 && avx_fft=off - - # Currently the build system can build a static library or both - # static and shared libraries, but not only shared libraries. The - # name NTL_GMP_LIP is *not* a typo. - perl DoConfig \ - PREFIX="${EPREFIX}"/usr \ - LIBDIR="${EPREFIX}"/usr/$(get_libdir) \ - CXXFLAGS="${CXXFLAGS}" \ - CPPFLAGS="${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - CXX="$(tc-getCXX)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - SHARED=on \ - NTL_GMP_LIP=on \ - NTL_GF2X_LIB=on \ - NTL_THREADS=$(usex threads on off) \ - NTL_ENABLE_AVX_FFT="${avx_fft}" \ - NATIVE=off \ - || die "DoConfig failed" - - if use doc; then - DOCS+=( "${WORKDIR}/${P}"/doc/*.txt ) - HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html "${WORKDIR}/${P}"/doc/*.gif ) - fi - - # 780534 - Required for rlibtool so it can find the generated libtool - ln -sf libtool-build/libtool . || die -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - - # Use rm -f because the static archive may not be created when - # using (for example) slibtool-shared. - rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die - - rm -r "${ED}"/usr/share/doc/NTL || die -}