@@ -290,10 +290,14 @@ def install_libraries(args, build_dir, universal_lib_dir, toolchain_lib_dir):
290290 install_library (args , build_dir , package_subpath , lib ,
291291 universal_lib_dir , toolchain_lib_dir , 'swift-tools-support-core' )
292292
293- # TODO: Until the argument parser is used, avoid installing it into the toolchain here
294- #package_subpath = os.path.join(args.configuration, 'dependencies', 'swift-argument-parser')
295- #install_library(args, build_dir, package_subpath, 'libArgumentParser',
296- # universal_lib_dir, toolchain_lib_dir,'swift-argument-parser')
293+ package_subpath = os .path .join (args .configuration , 'dependencies' , 'swift-argument-parser' )
294+ install_library (args , build_dir , package_subpath , 'libArgumentParser' ,
295+ universal_lib_dir , toolchain_lib_dir ,'swift-argument-parser' )
296+
297+ package_subpath = os .path .join (args .configuration , 'dependencies' , 'llbuild' )
298+ for lib in ['libllbuildSwift' , 'libllbuild' ]:
299+ install_library (args , build_dir , package_subpath , lib ,
300+ universal_lib_dir , toolchain_lib_dir ,'llbuild' )
297301
298302# Create a universal shared-library file and install it into the toolchain lib
299303def install_library (args , build_dir , package_subpath , lib_name ,
@@ -326,11 +330,9 @@ def install_binary_swift_modules(args, build_dir, toolchain_lib_dir):
326330 install_module (args , build_dir , package_subpath , toolchain_lib_dir , module )
327331
328332 # swift-argument-parser
329- # TODO: Until the argument parser is used, avoid installing it into the toolchain
330- #package_subpath = os.path.join(args.configuration, 'dependencies', 'swift-argument-parser',
331- # product_subpath)
332- #install_module(args, build_dir, package_subpath, toolchain_lib_dir, 'ArgumentParser',
333- # 'swift-argument-parser')
333+ package_subpath = os .path .join (args .configuration , 'dependencies' , 'swift-argument-parser' ,
334+ product_subpath )
335+ install_module (args , build_dir , package_subpath , toolchain_lib_dir , 'ArgumentParser' )
334336
335337# Install the modulemaps and headers of the driver's C module dependencies into the toolchain
336338# include directory
0 commit comments