File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -1900,12 +1900,11 @@ swift-include-tests=0
1900
1900
darwin-deployment-version-ios =10.0
1901
1901
darwin-crash-reporter-client =1
1902
1902
1903
- [preset: build_swiftsyntax_release ]
1903
+ [preset: install_swiftsyntax_parser ]
1904
1904
release
1905
1905
lto
1906
1906
no-assertions
1907
1907
build-libparser-only
1908
- swiftsyntax
1909
1908
verbose-build
1910
- skip-swiftsyntax-swiftside
1911
1909
darwin-install-extract-symbols
1910
+ install-swift
Original file line number Diff line number Diff line change @@ -3502,6 +3502,11 @@ for host in "${ALL_HOSTS[@]}"; do
3502
3502
if [[ -z " ${INSTALL_SWIFT} " ]] ; then
3503
3503
continue
3504
3504
fi
3505
+ # Swift syntax parser is currently a sub-product of Swift;
3506
+ # We need to specify the install target separately here.
3507
+ if [ " ${BUILD_LIBPARSER_ONLY} " ]; then
3508
+ INSTALL_TARGETS=tools/libSwiftSyntaxParser/install
3509
+ fi
3505
3510
;;
3506
3511
llbuild)
3507
3512
if [[ -z " ${INSTALL_LLBUILD} " ]] ; then
@@ -3807,15 +3812,9 @@ for host in "${ALL_HOSTS[@]}"; do
3807
3812
call darwin_install_extract_symbols
3808
3813
else
3809
3814
set -x
3810
- if [ " ${BUILD_LIBPARSER_ONLY} " ]; then
3811
- # We don't have a toolchain so we should install to the specified dir
3812
- CURRENT_INSTALL_DIR=" ${INSTALL_DESTDIR} "
3813
- CURRENT_PREFIX=" /."
3814
- else
3815
- # If we have a toolchain, use the toolchain install dir.
3816
- CURRENT_INSTALL_DIR=${host_install_destdir}
3817
- CURRENT_PREFIX=" ${TOOLCHAIN_PREFIX} "
3818
- fi
3815
+
3816
+ CURRENT_INSTALL_DIR=${host_install_destdir}
3817
+ CURRENT_PREFIX=" ${TOOLCHAIN_PREFIX} "
3819
3818
3820
3819
# Copy executables and shared libraries from the `host_install_destdir` to
3821
3820
# INSTALL_SYMROOT and run dsymutil on them.
You can’t perform that action at this time.
0 commit comments