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):
8484 self .cmake_options .define ('SWIFT_HOST_VARIANT_ARCH:STRING' , arch )
8585 self .cmake_options .define ('BUILD_STANDALONE:BOOL' , True )
8686
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+
8794 # Only install the "stdlib" component, which contains the concurrency
8895 # module.
8996 self .cmake_options .define ('SWIFT_INSTALL_COMPONENTS:STRING' , 'back-deployment' )
You can’t perform that action at this time.
0 commit comments