aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-12-12 11:31:25 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-12-12 11:33:36 +0100
commit44cc24ddc13674ce295cdee335581728ac9a1d4c (patch)
treec2e3bf7af8a4730ff04aac8f50a5cdf0a68c7b0b /sys-devel
parentsci-libs/scikit-learn-intelx: new package, add 2021.7.1 (diff)
downloadsci-44cc24ddc13674ce295cdee335581728ac9a1d4c.tar.gz
sci-44cc24ddc13674ce295cdee335581728ac9a1d4c.tar.bz2
sci-44cc24ddc13674ce295cdee335581728ac9a1d4c.zip
sys-devel/oneDPL: restrict to DPC++ subslot 5
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/oneDPL/oneDPL-2021.7.1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-devel/oneDPL/oneDPL-2021.7.1.ebuild b/sys-devel/oneDPL/oneDPL-2021.7.1.ebuild
index 01f225aea..a7a6ee748 100644
--- a/sys-devel/oneDPL/oneDPL-2021.7.1.ebuild
+++ b/sys-devel/oneDPL/oneDPL-2021.7.1.ebuild
@@ -25,16 +25,17 @@ RESTRICT="test"
BDEPEND="virtual/pkgconfig"
DEPEND="
- sys-devel/DPC++
+ sys-devel/DPC++:0/5
dev-libs/level-zero
dev-cpp/tbb
"
RDEPEND="${DEPEND}"
src_prepare() {
- cmake_src_prepare
# Not using the DPC++ compiler doesn't really make sense here
- export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+ export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
+ export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+ cmake_src_prepare
}
src_configure() {