mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user