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@gentoo.org>
This commit is contained in:
James Le Cuirot
2023-01-07 10:56:09 +00:00
parent d141ef44fd
commit 5af79da3e8
4 changed files with 0 additions and 40 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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