[llvm] [SYCL] Add platform enumeration and info query using liboffload (PR #166927)
Dmitry Rogozhkin via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 12 08:35:03 PST 2025
================
@@ -20,13 +16,15 @@ function(add_sycl_rt_library LIB_TARGET_NAME LIB_OBJ_NAME LIB_OUTPUT_NAME)
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
${LIBSYCL_BUILD_INCLUDE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/../../offload/liboffload/API
----------------
dvrogozh wrote:
Hm. `CMAKE_CURRENT_BINARY_DIR` points to the current binary directory in the build tree. You are setting relative path which points to where? Does it point to another binary directory in the build tree previously create by the build process and containing generated files? or it points to the source directory in the llvm source tree? If the later that's a problem as you accounted on your custom location of the binary tree.
https://github.com/llvm/llvm-project/pull/166927
More information about the llvm-commits
mailing list