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:
Alessandro Barbieri
2022-05-12 19:17:09 +02:00
parent 5a4866342c
commit 93f7472360
2 changed files with 4 additions and 4 deletions

View File

@@ -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>-->

View File

@@ -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)