commit: 5af79da3e8e90a67968227b8c3bcf2f49c3d454f Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sat Jan 7 10:56:09 2023 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat Jan 7 13:34:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af79da3
sys-devel/llvm: Drop unnecessary cross-compiling aids from V16 I was pleasantly surprised to find that these are no longer needed, as a native build of llvm-tblgen is now automatically done when cross-compiling. Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> sys-devel/llvm/llvm-16.0.0.9999.ebuild | 10 ---------- sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild | 10 ---------- sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild | 10 ---------- sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild | 10 ---------- 4 files changed, 40 deletions(-) diff --git a/sys-devel/llvm/llvm-16.0.0.9999.ebuild b/sys-devel/llvm/llvm-16.0.0.9999.ebuild index 38faaf5b1adf..60cde39577b6 100644 --- a/sys-devel/llvm/llvm-16.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-16.0.0.9999.ebuild @@ -420,16 +420,6 @@ multilib_src_configure() { ) fi - if tc-is-cross-compiler; then - local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" - [[ -x "${tblgen}" ]] \ - || die "${tblgen} not found or usable" - mycmakeargs+=( - -DCMAKE_CROSSCOMPILING=ON - -DLLVM_TABLEGEN="${tblgen}" - ) - fi - # workaround BMI bug in gcc-7 (fixed in 7.4) # https://bugs.gentoo.org/649880 # apply only to x86, https://bugs.gentoo.org/650506 diff --git a/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild index 9a91d21695fd..68c8e75e5b31 100644 --- a/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild +++ b/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild @@ -420,16 +420,6 @@ multilib_src_configure() { ) fi - if tc-is-cross-compiler; then - local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" - [[ -x "${tblgen}" ]] \ - || die "${tblgen} not found or usable" - mycmakeargs+=( - -DCMAKE_CROSSCOMPILING=ON - -DLLVM_TABLEGEN="${tblgen}" - ) - fi - # workaround BMI bug in gcc-7 (fixed in 7.4) # https://bugs.gentoo.org/649880 # apply only to x86, https://bugs.gentoo.org/650506 diff --git a/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild index 9a91d21695fd..68c8e75e5b31 100644 --- a/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild +++ b/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild @@ -420,16 +420,6 @@ multilib_src_configure() { ) fi - if tc-is-cross-compiler; then - local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" - [[ -x "${tblgen}" ]] \ - || die "${tblgen} not found or usable" - mycmakeargs+=( - -DCMAKE_CROSSCOMPILING=ON - -DLLVM_TABLEGEN="${tblgen}" - ) - fi - # workaround BMI bug in gcc-7 (fixed in 7.4) # https://bugs.gentoo.org/649880 # apply only to x86, https://bugs.gentoo.org/650506 diff --git a/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild index 4798e7ef1858..5b6c7934d02c 100644 --- a/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild +++ b/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild @@ -420,16 +420,6 @@ multilib_src_configure() { ) fi - if tc-is-cross-compiler; then - local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" - [[ -x "${tblgen}" ]] \ - || die "${tblgen} not found or usable" - mycmakeargs+=( - -DCMAKE_CROSSCOMPILING=ON - -DLLVM_TABLEGEN="${tblgen}" - ) - fi - # workaround BMI bug in gcc-7 (fixed in 7.4) # https://bugs.gentoo.org/649880 # apply only to x86, https://bugs.gentoo.org/650506