File tree Expand file tree Collapse file tree 5 files changed +26
-0
lines changed
swift_build_support/swift_build_support/products Expand file tree Collapse file tree 5 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -730,6 +730,7 @@ install-libicu
730
730
install-prefix =/usr
731
731
swift-install-components =autolink-driver; compiler;clang-resource-dir-symlink;stdlib;swift-remote-mirror;sdk-overlay;parser-lib;license;sourcekit-inproc
732
732
llvm-install-components =llvm-cov; llvm-profdata;IndexStore;clang;clang-headers;compiler-rt;clangd
733
+ install-libcxx
733
734
build-swift-static-stdlib
734
735
build-swift-static-sdk-overlay
735
736
build-swift-stdlib-unittest-extra
@@ -1082,6 +1083,7 @@ reconfigure
1082
1083
1083
1084
swift-install-components =compiler; clang-resource-dir-symlink;stdlib;sdk-overlay;parser-lib;license;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror-headers
1084
1085
llvm-install-components =llvm-cov; llvm-profdata;IndexStore;clang;clang-headers;compiler-rt;clangd
1086
+ install-libcxx
1085
1087
1086
1088
# Path to the .tar.gz package we would create.
1087
1089
installable-package =%(installable_package)s
Original file line number Diff line number Diff line change @@ -841,6 +841,7 @@ class BuildScriptInvocation(object):
841
841
product_classes = []
842
842
product_classes .append (products .CMark )
843
843
product_classes .append (products .LLVM )
844
+ product_classes .append (products .LibCXX )
844
845
if self .args .build_libicu :
845
846
product_classes .append (products .LibICU )
846
847
product_classes .append (products .Swift )
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ KNOWN_SETTINGS=(
208
208
install-swiftevolve " " " whether to install the swift-evolve tool"
209
209
install-xctest " " " whether to install xctest"
210
210
install-foundation " " " whether to install foundation"
211
+ install-libcxx " " " whether to install libc++"
211
212
install-libdispatch " " " whether to install libdispatch"
212
213
install-libicu " " " whether to install libicu"
213
214
install-playgroundsupport " " " whether to install PlaygroundSupport"
@@ -3511,6 +3512,9 @@ for host in "${ALL_HOSTS[@]}"; do
3511
3512
INSTALL_TARGETS=install-$( echo ${LLVM_INSTALL_COMPONENTS} | sed -E ' s/;/ install-/g' )
3512
3513
;;
3513
3514
libcxx)
3515
+ if [[ -z " ${INSTALL_LIBCXX} " ]] ; then
3516
+ continue
3517
+ fi
3514
3518
INSTALL_TARGETS=install-cxx-headers
3515
3519
;;
3516
3520
swift)
Original file line number Diff line number Diff line change 12
12
13
13
from .cmark import CMark
14
14
from .foundation import Foundation
15
+ from .libcxx import LibCXX
15
16
from .libdispatch import LibDispatch
16
17
from .libicu import LibICU
17
18
from .llbuild import LLBuild
28
29
'CMark' ,
29
30
'Ninja' ,
30
31
'Foundation' ,
32
+ 'LibCXX' ,
31
33
'LibDispatch' ,
32
34
'LibICU' ,
33
35
'LLBuild' ,
Original file line number Diff line number Diff line change
1
+ # swift_build_support/products/libcxx.py -------------------------*- python -*-
2
+ #
3
+ # This source file is part of the Swift.org open source project
4
+ #
5
+ # Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
6
+ # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ #
8
+ # See https://swift.org/LICENSE.txt for license information
9
+ # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ #
11
+ # ----------------------------------------------------------------------------
12
+
13
+ from . import product
14
+
15
+
16
+ class LibCXX (product .Product ):
17
+ pass
You can’t perform that action at this time.
0 commit comments