Skip to content

Commit d3a710a

Browse files
authored
Merge pull request #61113 from DougGregor/build-script-impl-swift-parser
2 parents d93c022 + 4a38f03 commit d3a710a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

utils/swift_build_support/swift_build_support/build_script_invocation.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ def convert_to_impl_arguments(self):
251251
args.extra_cmake_options.append(
252252
'-DSWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE:PATH={}'.format(swift_syntax_src))
253253

254+
if args.build_early_swiftsyntax:
255+
early_swiftsyntax_build_dir = os.path.join(
256+
self.workspace.build_root,
257+
'%s-%s' % ('earlyswiftsyntax', self.args.host_target))
258+
args.extra_cmake_options.append(
259+
'-DSWIFT_PATH_TO_EARLYSWIFTSYNTAX_BUILD_DIR:PATH={}'
260+
.format(early_swiftsyntax_build_dir))
261+
254262
# Then add subproject install flags that either skip building them /or/
255263
# if we are going to build them and install_all is set, we also install
256264
# them.

0 commit comments

Comments
 (0)