Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 849553 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 sys-devel/clang ebuild to always use bundled clang-tblgen tool
sys-devel_clang_clang-15.0.6.ebuild.patch (text/plain), 958 bytes, created by
Jocelyn Mayer
on 2023-01-31 11:52:23 UTC
(
hide
)
Description:
Patch to sys-devel/clang ebuild to always use bundled clang-tblgen tool
Filename:
MIME Type:
Creator:
Jocelyn Mayer
Created:
2023-01-31 11:52:23 UTC
Size:
958 bytes
patch
obsolete
>--- sys-devel/clang/clang-15.0.6.ebuild 2022-12-18 06:10:24.000000000 +0100 >+++ sys-devel/clang/clang-15.0.6.ebuild 2023-01-04 15:18:25.983389678 +0100 >@@ -323,11 +334,12 @@ > > if tc-is-cross-compiler; then >- [[ -x "/usr/bin/clang-tblgen" ]] \ >- || die "/usr/bin/clang-tblgen not found or usable" > mycmakeargs+=( > -DCMAKE_CROSSCOMPILING=ON >- -DCLANG_TABLEGEN=/usr/bin/clang-tblgen > ) > fi >+ local HOST_BUILD_DIR=${WORKDIR}/x/y/clang-"$( multilib_get_enabled_abi_pairs | tail -n 1 )" >+ mycmakeargs+=( >+ -DCLANG_TABLEGEN="${HOST_BUILD_DIR}/bin/clang-tblgen" >+ ) > > # LLVM can have very high memory consumption while linking, >@@ -343,4 +357,9 @@ > > multilib_src_compile() { >+ if ! multilib_is_native_abi; then >+ # Make sure native clang-tblgen has been built >+ local HOST_BUILD_DIR=${WORKDIR}/x/y/clang-"$( multilib_get_enabled_abi_pairs | tail -n 1 )" >+ cd ${HOST_BUILD_DIR} && ninja -v clang-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