Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 598324 Details for
Bug 681806
llvm-runtimes/openmp must be built with clang/clang++ for use cuda to be fully installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for libomp-9.0.0 that correctly handles cuda libraries
libomp-9.0.0.patch (text/plain), 1.16 KB, created by
Robert
on 2019-12-03 14:51:03 UTC
(
hide
)
Description:
Patch for libomp-9.0.0 that correctly handles cuda libraries
Filename:
MIME Type:
Creator:
Robert
Created:
2019-12-03 14:51:03 UTC
Size:
1.16 KB
patch
obsolete
>--- libomp-9.0.0.ebuild 2019-12-03 08:47:15.994041981 -0600 >+++ /usr/portage/sys-libs/libomp/libomp-9.0.0.ebuild 2019-11-03 06:09:50.000000000 -0600 >@@ -4,7 +4,7 @@ > EAPI=7 > > PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) >-inherit cmake-multilib linux-info llvm.org llvm multiprocessing python-any-r1 >+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1 > > DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" > HOMEPAGE="https://openmp.llvm.org" >@@ -67,10 +67,8 @@ > } > > multilib_src_configure() { >- local llvm_prefix=$(get_llvm_prefix -b) > local libdir="$(get_libdir)" > local mycmakeargs=( >- -DCMAKE_INSTALL_PREFIX="${llvm_prefix}" > -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}" > > -DLIBOMP_USE_HWLOC=$(usex hwloc) >@@ -83,13 +81,6 @@ > # disable unnecessary hack copying stuff back to srcdir > -DLIBOMP_COPY_EXPORTS=OFF > ) >- if use cuda; then >- export CC="${llvm_prefix}/bin/clang" >- export CXX="${llvm_prefix}/bin/clang++" >- mycmakeargs+=( >- -DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES=35,60,70 >- ) >- fi > use offload && mycmakeargs+=( > # this is non-fatal and libomp checks for CUDA conditionally > # to ABI, so we can just ignore passing the wrong value
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 681806
:
598324
|
598326
|
613952