File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,6 @@ else()
2020 message (STATUS "LEVELZERO_INCLUDE_DIR env var not defined; try to use system version" )
2121endif ()
2222
23- if (DEFINED ENV{LEVELZERO_INCLUDE_DIR})
24- # When defining `L0_INC_PATH` variable inside PTI, the following is not used: `PATH_SUFFIXES include`
25- set (L0_INC_PATH "$ENV{LEVELZERO_INCLUDE_DIR} /include/" CACHE PATH "Path to Level Zero includes" )
26- message (STATUS "Using Level Zero from ENV to define L0_INC_PATH: ${L0_INC_PATH} " )
27- else ()
28- message (STATUS "LEVELZERO_INCLUDE_DIR env var not defined; try to use system version" )
29- endif ()
30-
3123if (DEFINED ENV{LEVELZERO_LIBRARY})
3224 set (LevelZero_LIBRARY "$ENV{LEVELZERO_LIBRARY} " CACHE PATH "Path to Level Zero library" )
3325 message (STATUS "Using Level Zero from ENV: ${LevelZero_LIBRARY} " )
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function build_level_zero {
5555 cmake .. -DCMAKE_INSTALL_PREFIX=" $L0_INSTALL_PATH " -DCMAKE_BUILD_TYPE=Release
5656 cmake --build . --config Release --parallel " $( nproc) "
5757 cmake --build . --config Release --target install
58- export LEVELZERO_INCLUDE_DIR=" $L0_INSTALL_PATH "
58+ export LEVELZERO_INCLUDE_DIR=" $L0_INSTALL_PATH /include "
5959 export LEVELZERO_LIBRARY=" $L0_INSTALL_PATH /lib/libze_loader.so"
6060}
6161
You can’t perform that action at this time.
0 commit comments