[llvm] [SYCL] E2E LIT tests initial configs & test (PR #177407)
Dmitry Rogozhkin via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 23 10:02:41 PST 2026
================
@@ -0,0 +1,36 @@
+cmake_minimum_required(VERSION 3.20.0)
+
+message("Configuring SYCL End-to-End Tests")
+
+set(LIBSYCL_CXX_COMPILER "${LLVM_BINARY_DIR}/bin/clang++")
+set(LIBSYCL_E2E_CXX_FLAGS "" CACHE STRING
+ "Flags passed to clang++ when building SYCL end-to-end tests")
+
+if(NOT LIBSYCL_TEST_E2E_TARGETS)
+ set(LIBSYCL_TEST_E2E_TARGETS "all")
+endif()
+
+if(NOT DEFINED LEVEL_ZERO_LIBS_DIR AND NOT DEFINED LEVEL_ZERO_INCLUDE_DIR)
----------------
dvrogozh wrote:
Hm, I am confused. Per my understanding default way to find L0 should be via pkg-config. Do I understand it right that that's how L0 actually will be found in some upper level cmake list? And if it will be why this customization with `LEVEL_ZERO_LIBS_DIR` and `LEVEL_ZERO_INCLUDE_DIR` is needed?
https://github.com/llvm/llvm-project/pull/177407
More information about the llvm-commits
mailing list