File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ add_swift_library(swiftSIL STATIC
37
37
swiftSema
38
38
)
39
39
40
- # This property is only set by calls to clang_tablegen. It will not be set on
41
- # standalone builds, so it can always be safely passed.
42
- get_property ( CLANG_TABLEGEN_TARGETS GLOBAL PROPERTY CLANG_TABLEGEN_TARGETS )
43
- if (CLANG_TABLEGEN_TARGETS )
44
- add_dependencies ( swiftSIL
45
- ${CLANG_TABLEGEN_TARGETS} )
40
+ # intrinsics_gen is the LLVM tablegen target that generates the include files
41
+ # where intrinsics and attributes are declared. See the comment in lib/AST for
42
+ # more detail.
43
+ if (NOT SWIFT_BUILT_STANDALONE )
44
+ get_property ( CLANG_TABLEGEN_TARGETS GLOBAL PROPERTY CLANG_TABLEGEN_TARGETS )
45
+ add_dependencies ( swiftSIL intrinsics_gen ${CLANG_TABLEGEN_TARGETS} )
46
46
endif (CLANG_TABLEGEN_TARGETS )
You can’t perform that action at this time.
0 commit comments