mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-cpp/vexcl: depend on clhpp
Closes: https://bugs.gentoo.org/843878 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="amdsi">Implement workaround for AMD SI GPUs</flag>
|
||||
<flag name="clhpp">Install the OpenCL C++ header provided by VexCL</flag>
|
||||
<!--<flag name="clogs">Use clogs algorithms</flag>-->
|
||||
<flag name="backend-compute">Use Boost.Compute algorithms</flag>
|
||||
<!--<flag name="backend-cuda">Use CUDA as backend</flag>-->
|
||||
|
||||
@@ -26,10 +26,11 @@ IUSE_BACKEND="
|
||||
+backend-opencl
|
||||
"
|
||||
# backend-cuda
|
||||
IUSE="${IUSE_BACKEND} amdsi clhpp examples test" #clogs
|
||||
IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-libs/clhpp
|
||||
backend-jit? ( virtual/opencl )
|
||||
backend-opencl? ( virtual/opencl )
|
||||
"
|
||||
@@ -53,12 +54,12 @@ src_configure() {
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBoost_USE_STATIC_LIBS=OFF
|
||||
-DVEXCL_BUILD_EXAMPLES=OFF
|
||||
-DVEXCL_INSTALL_CL_HPP=OFF
|
||||
|
||||
-DVEXCL_AMD_SI_WORKAROUND=$(usex amdsi)
|
||||
-DVEXCL_BACKEND="${backend}"
|
||||
-DVEXCL_BUILD_EXAMPLES=$(usex examples)
|
||||
-DVEXCL_BUILD_TESTS=$(usex test)
|
||||
-DVEXCL_INSTALL_CL_HPP=$(usex clhpp)
|
||||
)
|
||||
# -DVEXCL_CLOGS=$(usex clogs)
|
||||
|
||||
Reference in New Issue
Block a user