File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 22set +xe
33rm -rf build
44mkdir build
5- pushd build
5+ pushd build || exit 1
66
7- INSTALL_PREFIX=` pwd` /../install
7+ INSTALL_PREFIX=$( pwd) /../install
88rm -rf ${INSTALL_PREFIX}
99
1010cmake \
1111 -DCMAKE_BUILD_TYPE=Debug \
1212 -DCMAKE_C_COMPILER=icx \
13- -DCMAKE_CXX_COMPILER=dpcpp \
13+ -DCMAKE_CXX_COMPILER=icpx \
14+ -DCMAKE_CXX_FLAGS=-fsycl \
1415 -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
1516 -DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} \
1617 -DDPCTL_ENABLE_L0_PROGRAM_CREATION=ON \
1718 -DDPCTL_BUILD_CAPI_TESTS=ON \
18- -DDPCTL_GENERATE_COVERAGE=ON \
1919 ..
2020
2121make V=1 -n -j 4 && make check && make install
2222
23- # Turn on to generate coverage report html files
24- make lcov-genhtml
23+ # Turn on to generate coverage report html files reconfigure with
24+ # -DDPCTL_GENERATE_COVERAGE=ON and then
25+ # make lcov-genhtml
2526
2627# For more verbose tests use:
2728# cd tests
2829# ctest -V --progress --output-on-failure -j 4
2930# cd ..
3031
31- popd
32+ popd || exit 1
You can’t perform that action at this time.
0 commit comments