aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-12-08 17:55:18 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-12-08 17:55:18 +0100
commita4dd10d9fedbd529c19d0138fe3d343973681f5c (patch)
tree9f9bc69339d8ada70e0a27e4dd0f5e83115909f4 /dev-libs
parentdev-libs/oneCCL: use DPC++ compiler (diff)
downloadsci-a4dd10d9fedbd529c19d0138fe3d343973681f5c.tar.gz
sci-a4dd10d9fedbd529c19d0138fe3d343973681f5c.tar.bz2
sci-a4dd10d9fedbd529c19d0138fe3d343973681f5c.zip
dev-libs/oneCCL: also set CC
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/oneCCL/oneCCL-2021.7.1-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/oneCCL/oneCCL-2021.7.1-r1.ebuild b/dev-libs/oneCCL/oneCCL-2021.7.1-r1.ebuild
index b9c1fda6b..e0369dc45 100644
--- a/dev-libs/oneCCL/oneCCL-2021.7.1-r1.ebuild
+++ b/dev-libs/oneCCL/oneCCL-2021.7.1-r1.ebuild
@@ -37,7 +37,8 @@ src_prepare() {
rm -r deps/hwloc deps/level_zero deps/mpi deps/ofi || die
# DPC++ compiler required for full functionality
- export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+ export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+ export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
cmake_src_prepare
}