@@ -212,7 +212,7 @@ def install(args, build_dir):
212
212
# swift-driver and swift-help
213
213
install_executables (args , build_dir , bin_dir , toolchain_bin )
214
214
215
- # libSwiftDriver and libSwiftOptions
215
+ # libSwiftDriver and libSwiftDriverExecution and libSwiftOptions
216
216
install_libraries (args , build_dir , lib_dir , toolchain_lib )
217
217
218
218
# Binary Swift Modules:
@@ -258,16 +258,17 @@ def install_executables(args, build_dir, universal_bin_dir, toolchain_bin_dir):
258
258
259
259
# Install shared libraries for the driver and its dependencies into the toolchain
260
260
def install_libraries (args , build_dir , universal_lib_dir , toolchain_lib_dir ):
261
- # Fixup the SwiftDriver rpath for libSwiftDriver
262
- for arch in macos_target_architectures :
263
- lib_path = os .path .join (build_dir , arch + '-apple-macos' + macos_deployment_target ,
264
- args .configuration , 'lib' , 'libSwiftDriver' + shared_lib_ext )
265
- driver_lib_dir_path = os .path .join (build_dir , arch + '-apple-macos' + macos_deployment_target ,
266
- args .configuration , 'lib' )
267
- delete_rpath (driver_lib_dir_path , lib_path , args .verbose )
268
-
269
- # Fixup the TSC rpath for libSwiftDriver and libSwiftOptions
270
- for lib in ['libSwiftDriver' , 'libSwiftOptions' ]:
261
+ # Fixup the SwiftDriver rpath for libSwiftDriver and libSwiftDriverExecution
262
+ for lib in ['libSwiftDriver' , 'libSwiftDriverExecution' ]:
263
+ for arch in macos_target_architectures :
264
+ lib_path = os .path .join (build_dir , arch + '-apple-macos' + macos_deployment_target ,
265
+ args .configuration , 'lib' , lib + shared_lib_ext )
266
+ driver_lib_dir_path = os .path .join (build_dir , arch + '-apple-macos' + macos_deployment_target ,
267
+ args .configuration , 'lib' )
268
+ delete_rpath (driver_lib_dir_path , lib_path , args .verbose )
269
+
270
+ # Fixup the TSC rpath for libSwiftDriver and libSwiftOptions and libSwiftDriverExecution
271
+ for lib in ['libSwiftDriver' , 'libSwiftOptions' , 'libSwiftDriverExecution' ]:
271
272
for arch in macos_target_architectures :
272
273
lib_path = os .path .join (build_dir , arch + '-apple-macos' + macos_deployment_target ,
273
274
args .configuration , 'lib' , lib + shared_lib_ext )
@@ -276,9 +277,10 @@ def install_libraries(args, build_dir, universal_lib_dir, toolchain_lib_dir):
276
277
'swift-tools-support-core' , 'lib' )
277
278
delete_rpath (tsc_lib_dir_path , lib_path , args .verbose )
278
279
279
- # Install the libSwiftDriver and libSwiftOptions shared libraries into the toolchain lib
280
+ # Install the libSwiftDriver and libSwiftOptions and libSwiftDriverExecution
281
+ # shared libraries into the toolchain lib
280
282
package_subpath = args .configuration
281
- for lib in ['libSwiftDriver' , 'libSwiftOptions' ]:
283
+ for lib in ['libSwiftDriver' , 'libSwiftOptions' , 'libSwiftDriverExecution' ]:
282
284
install_library (args , build_dir , package_subpath , lib ,
283
285
universal_lib_dir , toolchain_lib_dir , 'swift-driver' )
284
286
0 commit comments