Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 849552 Details for
Bug 892718
sys-devel/llvm & sys-devel/clang: always use bundled [llvm|clang]-tblgen
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to llvm ebuild to always use bundled llvm-tblgen version
sys-devel_llvm_llvm-15.0.6.ebuild.patch (text/plain), 976 bytes, created by
Jocelyn Mayer
on 2023-01-31 11:51:42 UTC
(
hide
)
Description:
Patch to llvm ebuild to always use bundled llvm-tblgen version
Filename:
MIME Type:
Creator:
Jocelyn Mayer
Created:
2023-01-31 11:51:42 UTC
Size:
976 bytes
patch
obsolete
>--- sys-devel/llvm/llvm-15.0.6.ebuild 2022-12-18 06:10:24.000000000 +0100 >+++ sys-devel/llvm/llvm-15.0.6.ebuild 2022-12-21 08:42:19.145491815 +0100 >@@ -419,12 +428,12 @@ > > if tc-is-cross-compiler; then >- local tblgen="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" >- [[ -x "${tblgen}" ]] \ >- || die "${tblgen} not found or usable" > mycmakeargs+=( > -DCMAKE_CROSSCOMPILING=ON >- -DLLVM_TABLEGEN="${tblgen}" > ) > fi >+ local HOST_BUILD_DIR=${WORKDIR}/${PN}_build-"$( multilib_get_enabled_abi_pairs | tail -n 1 )" >+ mycmakeargs+=( >+ -DLLVM_TABLEGEN="${HOST_BUILD_DIR}/bin/llvm-tblgen" >+ ) > > # workaround BMI bug in gcc-7 (fixed in 7.4) >@@ -453,4 +465,9 @@ > > multilib_src_compile() { >+ if ! multilib_is_native_abi; then >+ # Make sure native llvm-tblgen has been built >+ local HOST_BUILD_DIR=${WORKDIR}/${PN}_build-"$( multilib_get_enabled_abi_pairs | tail -n 1 )" >+ cd ${HOST_BUILD_DIR} && ninja -v llvm-tblgen && cd - >+ fi > cmake_build distribution >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 892718
: 849552 |
849553