Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 437338 Details for
Bug 442958
sys-devel/llvm fails to cross compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
llvm-3.8.0-r2.ebuild.patch
llvm-3.8.0-r2.ebuild.patch (text/plain), 780 bytes, created by
Peter Levine
on 2016-06-13 04:02:14 UTC
(
hide
)
Description:
llvm-3.8.0-r2.ebuild.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2016-06-13 04:02:14 UTC
Size:
780 bytes
patch
obsolete
>--- llvm-3.8.0-r2.ebuild.old 2016-06-12 23:54:20.583749524 -0400 >+++ llvm-3.8.0-r2.ebuild 2016-06-12 23:39:57.703228755 -0400 >@@ -358,6 +358,25 @@ > #filter-flags -msahf -frecord-gcc-switches > fi > >+ if tc-is-cross-compiler; then >+ [[ -x "/usr/bin/llvm-tblgen" ]] \ >+ || die "/usr/bin/llvm-tblgen not found or usable" >+ mycmakeargs+=( >+ -DCMAKE_CROSSCOMPILING=True >+ -DLLVM_TABLEGEN=/usr/bin/llvm-tblgen >+ -DCMAKE_CXX_FLAGS="-I${EROOT}usr/include/" >+ ) >+ >+ if use clang; then >+ [[ -x "/usr/bin/clang-tblgen" ]] \ >+ || die "/usr/bin/clang-tblgen not found or usable" >+ mycmakeargs+=(-DCLANG_TABLEGEN=/usr/bin/clang-tblgen) >+ if [[ ${CXX%++} == "clang" ]]; then >+ mycmakeargs+=(-DLLVM_ENABLE_PIC=False) >+ fi >+ fi >+ fi >+ > cmake-utils_src_configure > } >
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 442958
:
423458
|
433256
|
437338
|
437408
|
437438
|
437458