Skip to content

Commit

Permalink
Trying a new build command suggested in the slack channel
Browse files Browse the repository at this point in the history
  • Loading branch information
cellularmitosis committed Apr 30, 2016
1 parent 39f3270 commit 72ca7ce
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions arm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,16 @@ ln -s "${SRC}/swift-corelibs-foundation-${FOUNDATION_SHA}" swift-corelibs-founda
cd "${SWIFT_BUILD_ROOT}"

# run once with all cores until we get killed via OOM during linking...
nice "${SWIFT_SOURCE_ROOT}"/swift/utils/build-script -R || true
#nice "${SWIFT_SOURCE_ROOT}"/swift/utils/build-script -R || true

# then run again with just 1 core to complete the linking.
nice "${SWIFT_SOURCE_ROOT}"/swift/utils/build-script -R -j 1
#nice "${SWIFT_SOURCE_ROOT}"/swift/utils/build-script -R -j 1

nice "${SWIFT_SOURCE_ROOT}"/swift/utils/build-script -R --lldb -- \
--install-swift \
--install-lldb \
--install-prefix=/usr \
--install-destdir="/tmp/swift_install" \
'--swift-install-components=autolink-driver;compiler;clang-builtin-headers;stdlib;sdk-overlay;license' \
--reconfigure

0 comments on commit 72ca7ce

Please sign in to comment.