File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ pushd build || exit 1
77INSTALL_PREFIX=$( pwd) /../install
88rm -rf ${INSTALL_PREFIX}
99
10+ # With DPC++ 2024.0 adn newer set these to ensure that
11+ # cmake can find llvm-cov and other utilities
12+ LLVM_TOOLS_HOME=${CMPLR_ROOT} /bin/compiler
13+ PATH=$PATH :${CMPLR_ROOT} /bin/compiler
14+
1015cmake \
1116 -DCMAKE_BUILD_TYPE=Debug \
1217 -DCMAKE_C_COMPILER=icx \
@@ -16,13 +21,19 @@ cmake \
1621 -DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} \
1722 -DDPCTL_ENABLE_L0_PROGRAM_CREATION=ON \
1823 -DDPCTL_BUILD_CAPI_TESTS=ON \
24+ -DDPCTL_GENERATE_COVERAGE=OFF \
1925 ..
2026
21- make V=1 -n -j 4 && make check && make install
27+ # build
28+ make V=1 -n -j 4
29+ # run ctest
30+ make check
31+ # install
32+ make install
2233
2334# Turn on to generate coverage report html files reconfigure with
2435# -DDPCTL_GENERATE_COVERAGE=ON and then
25- # make lcov-genhtml
36+ # make llvm-cov-report
2637
2738# For more verbose tests use:
2839# cd tests
You can’t perform that action at this time.
0 commit comments