We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d04df9 commit 1ef05ebCopy full SHA for 1ef05eb
behavior_tests/src/cmake_dpct_compile_sycl_code/CMakeLists.txt
@@ -21,10 +21,16 @@ include(${dpct_cmake_file_path})
21
dpct_compile_sycl_code(cuda_ptx_files jit.dp.cpp)
22
23
set(_generated_files "")
24
+
25
+set(options "")
26
+if (UNIX)
27
+ set(options -lstdc++fs)
28
+endif()
29
30
add_custom_command(
31
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/app.run
32
COMMAND icpx -fsycl -o ${CMAKE_CURRENT_BINARY_DIR}/app.run
- ${CMAKE_SOURCE_DIR}/kernel_library.cpp.dp.cpp
33
+ ${CMAKE_SOURCE_DIR}/kernel_library.cpp.dp.cpp ${options}
34
DEPENDS ${CMAKE_SOURCE_DIR}/kernel_library.cpp.dp.cpp
35
COMMENT "Generating app.run")
36
0 commit comments