commit:     44cc24ddc13674ce295cdee335581728ac9a1d4c
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 12 10:31:25 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Dec 12 10:33:36 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=44cc24dd

sys-devel/oneDPL: restrict to DPC++ subslot 5

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-devel/oneDPL/oneDPL-2021.7.1.ebuild | 7 ++++---
 1 file 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() {

Reply via email to