Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 437458 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), 845 bytes, created by
Peter Levine
on 2016-06-14 00:18:06 UTC
(
hide
)
Description:
llvm-3.8.0-r2.ebuild.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2016-06-14 00:18:06 UTC
Size:
845 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-13 19:37:05.757431300 -0400 >@@ -358,6 +358,28 @@ > #filter-flags -msahf -frecord-gcc-switches > fi > >+ if tc-is-cross-compiler; then >+ strip-flags >+ filter-flags -O* >+ [[ ${CXX} == *clang* ]] && \ >+ append-flags -target ${CHOST} --sysroot="${SYSROOT}" >+ >+ [[ -x "/usr/bin/llvm-tblgen" ]] || \ >+ die "/usr/bin/llvm-tblgen not found or usable" >+ mycmakeargs+=( >+ -DCMAKE_CROSSCOMPILING=True >+ -DLLVM_TABLEGEN=/usr/bin/llvm-tblgen >+ ) >+ >+ 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) >+ [[ ${CXX} == *clang* ]] && \ >+ mycmakeargs+=(-DLLVM_ENABLE_PIC=False) >+ 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