Skip to content

Commit 053d092

Browse files
committed
Revert "Remove dependency on zeCallMap to check what tests will fail in CI"
This reverts commit 40f52fc.
1 parent 5ee4337 commit 053d092

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/adapters/level_zero/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ if(UR_BUILD_ADAPTER_L0)
4545
# Make L0 use CallMap from a seprate shared lib so that we can access the map
4646
# from the tests. This only seems to work on linux
4747
add_library(zeCallMap SHARED zeCallMap.cpp)
48+
install_ur_library(zeCallMap)
4849
target_compile_definitions(ur_adapter_level_zero PRIVATE UR_L0_CALL_COUNT_IN_TESTS)
50+
# TODO: stop exporting internals like this for tests...
51+
target_link_libraries(ur_adapter_level_zero PRIVATE zeCallMap)
4952

5053
add_adapter_test(level_zero_ze_calls
5154
FIXTURE DEVICES

0 commit comments

Comments
 (0)