File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
utils/swift_build_support/swift_build_support/products Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,13 @@ def build(self, host_target):
84
84
self .cmake_options .define ('SWIFT_HOST_VARIANT_ARCH:STRING' , arch )
85
85
self .cmake_options .define ('BUILD_STANDALONE:BOOL' , True )
86
86
87
+ # Propagate version information
88
+ if self .args .swift_user_visible_version is not None :
89
+ self .cmake_options .define ('SWIFT_VERSION' , str (self .args .swift_user_visible_version ))
90
+ if self .args .swift_compiler_version is not None :
91
+ self .cmake_options .define ('SWIFT_COMPILER_VERSION' , str (self .args .swift_compiler_version ))
92
+
93
+
87
94
# Only install the "stdlib" component, which contains the concurrency
88
95
# module.
89
96
self .cmake_options .define ('SWIFT_INSTALL_COMPONENTS:STRING' , 'back-deployment' )
You can’t perform that action at this time.
0 commit comments