File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ add_custom_target( libclc ALL )
5555add_custom_target ( libclc-opencl-builtins COMMENT "Build libclc OpenCL builtins" )
5656add_dependencies ( libclc libclc-opencl-builtins )
5757
58+ add_custom_target ( libspirv-builtins COMMENT "Build libspirv builtins" )
59+ add_dependencies ( libclc libspirv-builtins )
60+
5861if ( LIBCLC_STANDALONE_BUILD OR CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
5962 # Out-of-tree configuration
6063 set ( LIBCLC_STANDALONE_BUILD TRUE )
@@ -178,8 +181,6 @@ if( "spirv-mesa3d-" IN_LIST LIBCLC_TARGETS_TO_BUILD OR "spirv64-mesa3d-" IN_LIST
178181 endif ()
179182endif ()
180183
181- add_custom_target (libspirv-builtins COMMENT "Build libspirv builtins" )
182-
183184if ( LIBCLC_TARGETS_TO_BUILD STREQUAL "all" )
184185 set ( LIBCLC_TARGETS_TO_BUILD ${LIBCLC_TARGETS_ALL} )
185186else ()
You can’t perform that action at this time.
0 commit comments