Skip to content

Commit 0dcc42e

Browse files
[SYCL][E2E] Pass freshly built OpenCL/L0 to e2e tests for in-tree configuration (#16742)
Our CI uses "standalone" configuration for running E2E tests, but interactive development is (likely) mostly using in-tree configuration. With this change we can enable more tests running by default in such mode.
1 parent 5edcf74 commit 0dcc42e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sycl/test-e2e/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ if(SYCL_TEST_E2E_STANDALONE)
1414
if( NOT OpenCL_LIBRARY )
1515
find_package(OpenCL)
1616
endif()
17+
else()
18+
if( NOT OpenCL_LIBRARY )
19+
set(OpenCL_LIBRARY "${LLVM_BINARY_DIR}/lib")
20+
endif()
21+
set(LEVEL_ZERO_INCLUDE "${LLVM_BINARY_DIR}/_deps/level-zero-loader-src/include")
22+
set(LEVEL_ZERO_LIBS_DIR "${LLVM_BINARY_DIR}/lib")
1723
endif() # Standalone.
1824

1925
if(SYCL_TEST_E2E_STANDALONE)

0 commit comments

Comments
 (0)