commit: 7af3599e16e14b8a5957d6d72efb4182f454f150 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Apr 19 06:25:52 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Apr 19 06:25:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af3599e
llvm-runtimes/flang-rt: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> llvm-runtimes/flang-rt/Manifest | 1 - .../flang-rt/flang-rt-21.0.0_pre20250405.ebuild | 72 ---------------------- 2 files changed, 73 deletions(-) diff --git a/llvm-runtimes/flang-rt/Manifest b/llvm-runtimes/flang-rt/Manifest index 4b78a234a4a3..8b14e6641afc 100644 --- a/llvm-runtimes/flang-rt/Manifest +++ b/llvm-runtimes/flang-rt/Manifest @@ -1,2 +1 @@ DIST llvm-project-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.gz 230651433 BLAKE2B b71d459de99a741f9eb5809fcb44e6d9a17d3295bf11755d2b04a83fff6257eb4e5856826581c000e3b2868ff1cfb155ee18c692654f8083af04574d414c8fa2 SHA512 5b8d1e493830b7838b3ca76148dfc2e2af1cbaa660bd80958777698210c3347a1308f0725d40b10f8f12877daf99c4ba4837e4fa857a781ae912ee167369bafd -DIST llvm-project-f3e6473df46fd920e09e06e57a5549eb8e3a8bd3.tar.gz 229893133 BLAKE2B 20a14a99fb55070c30b05298916875d7f7b5476bc47c72f675204adb62daf1126bc83f2e7e51867042cb0ea415f04ef32653118116d01f666a82dc888fb6e999 SHA512 f11eac15fc1d96232267d588fa1c41ebbff3367b1fccf1cfd43f3290f682b73ffa78f2336a2a155c41ef67cf4e6f43019b152996d790f03acf4b9b732a3cf4b7 diff --git a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild b/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild deleted file mode 100644 index 30245857a84e..000000000000 --- a/llvm-runtimes/flang-rt/flang-rt-21.0.0_pre20250405.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic llvm.org - -DESCRIPTION="LLVM's Fortran runtime" -HOMEPAGE="https://flang.llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions" -SLOT="${LLVM_MAJOR}" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !<llvm-core/flang-21.0.0_pre20250221-r1 -" -BDEPEND=" - llvm-core/llvm:${LLVM_MAJOR} - llvm-core/flang - test? ( - dev-python/lit - ) -" - -LLVM_COMPONENTS=( - runtimes flang-rt cmake flang llvm/{cmake,utils/llvm-lit} -) -llvm.org_set_globals - -src_configure() { - # the code is not portable - local -x FC=flang F77=flang - strip-unsupported-flags - - local mycmakeargs=( - # we may not have a runtime yet - -DCMAKE_Fortran_COMPILER_WORKS=TRUE - - -DLLVM_ENABLE_RUNTIMES="flang-rt" - # this package forces NO_DEFAULT_PATHS - -DLLVM_BINARY_DIR="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}" - - -DFLANG_RT_INCLUDE_TESTS=$(usex test) - ) - use test && mycmakeargs+=( - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" - -DLLVM_LIT_ARGS="$(get_lit_flags)" - ) - - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 - use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" - cmake_src_configure -} - -src_test() { - # respect TMPDIR! - local -x LIT_PRESERVES_TMP=1 - cmake_build check-flang-rt -} - -src_install() { - cmake_src_install - - # in standalone build, the library is installed to (incorrect) resource dir - # but the driver only looks for it in lib (sigh) - # https://github.com/llvm/llvm-project/issues/127538 - mkdir -p "${ED}/usr/lib/llvm/${LLVM_MAJOR}" || die - mv "${ED}/usr/$(get_libdir)/clang/${LLVM_MAJOR}/lib"/* \ - "${ED}/usr/lib/llvm/${LLVM_MAJOR}/lib" || die -}
