We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e019b2a + 6819565 commit aaafc31Copy full SHA for aaafc31
utils/swift_build_support/swift_build_support/products/earlyswiftsyntax.py
@@ -73,10 +73,10 @@ def test(self, host_target):
73
pass
74
75
def should_install(self, host_target):
76
- # The artifacts are copied to build directory of 'swift' and are
77
- # installed as a part of 'swift' product.
78
- return False
+ # When '--install-swift' is enabled, earlyswiftsyntax libraries are installed
+ # from 'swift' product.
+ return (self.should_build(host_target) and self.args.install_swiftsyntax and
79
+ "--install-swift" not in self.args.build_script_impl_args)
80
81
def install(self, host_target):
- # No-op.
82
- pass
+ self.install_with_cmake(["install"], self.host_install_destdir(host_target))
0 commit comments