File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
docs/docfiles/user_guides Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -259,21 +259,24 @@ library.
259
259
set +xe
260
260
rm -rf build
261
261
mkdir build
262
- pushd build
262
+ pushd build || exit 1
263
263
264
- INSTALL_PREFIX=` pwd` /../install
264
+ INSTALL_PREFIX=$( pwd) /../install
265
265
rm -rf ${INSTALL_PREFIX}
266
266
export ONEAPI_ROOT=/opt/intel/oneapi
267
267
DPCPP_ROOT=${ONEAPI_ROOT} /compiler/latest/linux
268
268
269
269
cmake \
270
- -DCMAKE_BUILD_TYPE=Release \
270
+ -DCMAKE_BUILD_TYPE=Debug \
271
+ -DCMAKE_C_COMPILER=icx \
272
+ -DCMAKE_CXX_COMPILER=dpcpp \
271
273
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
272
274
-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} \
273
- -DDPCPP_INSTALL_DIR=${DPCPP_ROOT} \
274
- -DCMAKE_C_COMPILER:PATH=${DPCPP_ROOT} /bin/icx \
275
- -DCMAKE_CXX_COMPILER:PATH=${DPCPP_ROOT} /bin/dpcpp \
275
+ -DDPCTL_ENABLE_L0_PROGRAM_CREATION=ON \
276
276
-DDPCTL_BUILD_CAPI_TESTS=ON \
277
+ -DDPCTL_GENERATE_COVERAGE=ON \
277
278
..
278
279
279
280
make V=1 -n -j 4 && make check && make install
281
+
282
+ popd || exit 1
You can’t perform that action at this time.
0 commit comments