commit: a670710b170e8fa133c5490366a87dbdda94d0a7 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Mon Jan 2 22:22:35 2023 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Mon Jan 2 22:27:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a670710b
sys-devel/llvm: Run llvm-tblgen from BROOT when cross-compiling, not EPREFIX Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> sys-devel/llvm/llvm-13.0.1.ebuild | 2 +- sys-devel/llvm/llvm-14.0.6-r2.ebuild | 2 +- sys-devel/llvm/llvm-15.0.5.ebuild | 2 +- sys-devel/llvm/llvm-15.0.6.9999.ebuild | 2 +- sys-devel/llvm/llvm-15.0.6.ebuild | 2 +- sys-devel/llvm/llvm-16.0.0.9999.ebuild | 2 +- sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild | 2 +- sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild | 2 +- sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys-devel/llvm/llvm-13.0.1.ebuild b/sys-devel/llvm/llvm-13.0.1.ebuild index cf405c121646..dbaae29ecdd4 100644 --- a/sys-devel/llvm/llvm-13.0.1.ebuild +++ b/sys-devel/llvm/llvm-13.0.1.ebuild @@ -401,7 +401,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${SLOT}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${SLOT}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-14.0.6-r2.ebuild b/sys-devel/llvm/llvm-14.0.6-r2.ebuild index 0f53397cf7ae..619870533d1b 100644 --- a/sys-devel/llvm/llvm-14.0.6-r2.ebuild +++ b/sys-devel/llvm/llvm-14.0.6-r2.ebuild @@ -415,7 +415,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${SLOT}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${SLOT}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-15.0.5.ebuild b/sys-devel/llvm/llvm-15.0.5.ebuild index 86b72d9c66b4..f48a8da1f701 100644 --- a/sys-devel/llvm/llvm-15.0.5.ebuild +++ b/sys-devel/llvm/llvm-15.0.5.ebuild @@ -418,7 +418,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-15.0.6.9999.ebuild b/sys-devel/llvm/llvm-15.0.6.9999.ebuild index ab36cada7cfb..8f078936032b 100644 --- a/sys-devel/llvm/llvm-15.0.6.9999.ebuild +++ b/sys-devel/llvm/llvm-15.0.6.9999.ebuild @@ -418,7 +418,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-15.0.6.ebuild b/sys-devel/llvm/llvm-15.0.6.ebuild index e48bc7e27f16..a0f90b636940 100644 --- a/sys-devel/llvm/llvm-15.0.6.ebuild +++ b/sys-devel/llvm/llvm-15.0.6.ebuild @@ -418,7 +418,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-16.0.0.9999.ebuild b/sys-devel/llvm/llvm-16.0.0.9999.ebuild index ce7bb47d6446..5f54f11fe7fe 100644 --- a/sys-devel/llvm/llvm-16.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-16.0.0.9999.ebuild @@ -421,7 +421,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild index 5102c71fb739..9b5f96110a1f 100644 --- a/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild +++ b/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild @@ -421,7 +421,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild index 5102c71fb739..9b5f96110a1f 100644 --- a/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild +++ b/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild @@ -421,7 +421,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=( diff --git a/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild index 0e4934164443..a62b3a87d4aa 100644 --- a/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild +++ b/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild @@ -421,7 +421,7 @@ multilib_src_configure() { fi if tc-is-cross-compiler; then - local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" [[ -x "${tblgen}" ]] \ || die "${tblgen} not found or usable" mycmakeargs+=(