Skip to content

Commit f9b406b

Browse files
use abs. path for CC/CXX in build_for_develop.sh
This comes up when building dpctl in environment prepped for build daal4py which has clang-tools installed which installes its own clang into python environment. We need DPCPP's clang.
1 parent 67277ab commit f9b406b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_for_develop.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ cp -r backends/include/* dpctl/include
3737
export DPPL_SYCL_INTERFACE_LIBDIR=dpctl
3838
export DPPL_SYCL_INTERFACE_INCLDIR=dpctl/include
3939

40-
export CC=clang
41-
export CXX=dpcpp
40+
export CC=${DPCPP_ROOT}/bin/clang
41+
export CXX=${DPCPP_ROOT}/bin/dpcpp
4242
# FIXME: How to pass this using setup.py? The fPIC flag is needed when
4343
# dpcpp compiles the Cython generated cpp file.
4444
export CFLAGS=-fPIC

0 commit comments

Comments
 (0)