Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 365750 Details for
Bug 425844
sys-devel/llvm-3.1-r1 doesn't install CMake modules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.3-r1
llvm-3.3-r1-cmake.patch (text/plain), 1.20 KB, created by
Maciej Piechotka
on 2013-12-20 15:31:04 UTC
(
hide
)
Description:
Patch for 3.3-r1
Filename:
MIME Type:
Creator:
Maciej Piechotka
Created:
2013-12-20 15:31:04 UTC
Size:
1.20 KB
patch
obsolete
>--- /usr/portage/sys-devel/llvm/llvm-3.3-r1.ebuild 2013-11-10 16:31:33.000000000 +0100 >+++ sys-devel/llvm/llvm-3.3-r1.ebuild 2013-12-20 14:57:47.665685411 +0100 >@@ -6,7 +6,7 @@ > > PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 ) > >-inherit eutils flag-o-matic multilib multilib-minimal \ >+inherit cmake-utils eutils flag-o-matic multilib multilib-minimal \ > python-r1 toolchain-funcs pax-utils check-reqs > > DESCRIPTION="Low Level Virtual Machine" >@@ -251,6 +251,22 @@ > > ECONF_SOURCE=${S} \ > econf ${CONF_FLAGS} >+ >+ multilib_build_binaries && cmake_configure >+} >+ >+cmake_configure() { >+ # sadly, cmake doesn't seem to have host autodetection >+ # but it's fairly easy to steal this from configured autotools >+ local targets=$(sed -n -e 's/^TARGETS_TO_BUILD=//p' Makefile.config || die) >+ local libdir=$(get_libdir) >+ local mycmakeargs=( >+ -DLLVM_TARGETS_TO_BUILD="${targets// /;}" >+ -DLLVM_LIBDIR_SUFFIX=${libdir#lib} >+ ) >+ >+ BUILD_DIR=${S%/}_cmake \ >+ cmake-utils_src_configure > } > > multilib_src_compile() { >@@ -299,6 +315,7 @@ > > multilib_src_install() { > emake DESTDIR="${D}" GENTOO_LIBDIR=$(get_libdir) install >+ emake -C "${S%/}"_cmake/cmake/modules DESTDIR="${D}" install > > # Fix rpaths. > if use !kernel_Darwin ; then
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 425844
:
365712
| 365750