Commit Graph

159 Commits

Author SHA1 Message Date
Jordan Rose
e242ed9594 Update the "Getting Started" instructions for the new driver.
Swift SVN r13472
2014-02-05 01:58:16 +00:00
Dave Abrahams
aadcf6b1e4 [utils] buildbot-script.sh: LLDB compatibility
The LLDB project requires an LLVM project containing both clang and
swift, while buildbot-script builds swift outside the LLVM tree.  The
obvious choice, if you don't want two copies of the source on your
system, is to symlink swift into llvm's tools directory.  Yes, building
lldb will still build llvm and swift again, but that's a problem for
another day.  To avoid building swift a /third/ time as part of swift's
LLVM build, we need to tell the buildbot-script to ignore that symlink
if it's there.

Swift SVN r13412
2014-02-04 07:35:08 +00:00
Greg Parker
1892c003bc [test] Add test machinery for iOS, but don't use or enable anything yet.
Swift SVN r13407
2014-02-04 07:00:48 +00:00
Greg Parker
5f897228e0 [build] Build stdlibs for 32-bit iOS device and simulator.
Swift SVN r13200
2014-01-31 04:24:50 +00:00
Dave Abrahams
a8604e5045 [utils] build-script.sh: Don't build/test SourceKit by default
You can still request sourcekit by passing -s on the command-line.

Along the way, buildbot-script.sh now tolerates missing SourceKit
sources if it is being asked to skip the SourceKit build.

Swift SVN r13170
2014-01-30 20:46:42 +00:00
Jordan Rose
d0d4286d21 Put modules for 32-bit iOS builds in lib/swift/iphone{os,simulator}/32.
This keeps us from having to deal with fat swiftmodules for now.
In the long run we're hoping to solve this problem with build configurations,
so that a single module file can support multiple architectures.
(See <rdar://problem/15056323>)

<rdar://problem/15204953>

Swift SVN r13135
2014-01-30 03:26:50 +00:00
Greg Parker
b79d986281 [build] Run SourceKit correctness tests before Swift performance tests.
Swift SVN r13114
2014-01-29 19:57:16 +00:00
Greg Parker
b34e2cfcd8 [build] Don't fail buildbot-script builds if performance results could not be submitted.
Swift SVN r13113
2014-01-29 19:56:18 +00:00
Greg Parker
152c736ac2 [build] Describe 32-bit iOS builds in buildbot-script (but do not build them).
Swift SVN r13107
2014-01-29 10:18:59 +00:00
Dave Abrahams
c636c6a5fd [utils] buildbot-script: suppress warnings
when not building for ios, we shouldn't need to have an SDK installed to
get a clean build.

Swift SVN r13026
2014-01-28 01:26:30 +00:00
Greg Parker
5df9849939 [build] Use XcodeDefault.toolchain to build iOS stdlibs.
Swift SVN r12954
2014-01-25 07:18:22 +00:00
Greg Parker
5e9b6eab8f [build] Use xcode-select to find Xcode instead of using /Applications/Xcode.app
Swift SVN r12953
2014-01-25 07:17:34 +00:00
Greg Parker
d79d666f32 [build] Remove errant debug log.
Swift SVN r12952
2014-01-25 07:14:40 +00:00
Dave Abrahams
45495f65a0 [utils] buildbot-script.sh: don't hard-code toolchain/SDK
Doing so prevents building and testing against later releases.
Many thanks to Argyrios for helping me figure out what was needed.

Swift SVN r12946
2014-01-25 01:31:46 +00:00
Greg Parker
c91c6652fc [build] Enable iOS stdlib by default in buildbot-script.
Swift SVN r12737
2014-01-22 09:03:27 +00:00
Greg Parker
107dfed88e [build] Fix iOS buildbot build when BUILD_DIR is not set. Add iOS simulator.
Swift SVN r12673
2014-01-21 23:55:16 +00:00
Argyrios Kyrtzidis
10e00d092c [utils/buildbot-script] Enable ARM64 if building the iOS stdlib.
Swift SVN r12656
2014-01-21 20:55:55 +00:00
Greg Parker
7564cff01e Fix SWIFT_MODULE_CACHE_PATH typo introduced in r12633.
Swift SVN r12636
2014-01-21 05:17:39 +00:00
Greg Parker
913f6e2b7c Remove arm64 from LLVM targets in buildbot script.
Swift SVN r12635
2014-01-21 05:07:30 +00:00
Greg Parker
9d799a6612 Add iOS stdlib to buildbot script, but disabled by default.
Swift SVN r12633
2014-01-21 03:53:00 +00:00
Greg Parker
3551b6ff71 Decouple product names from source directory names.
Swift SVN r12627
2014-01-21 00:26:07 +00:00
Greg Parker
e238192b79 Enforce absolute paths for buildbot-script's --workspace and --build_dir.
Swift SVN r11883
2014-01-04 02:19:17 +00:00
Dave Abrahams
806e126925 [utils] buildbot-script.sh: fix usage string
Swift SVN r11872
2014-01-03 22:31:26 +00:00
Dave Abrahams
10bd80b12b [utils] buildbot-script.sh: use the right llvm-config
The llvm-config that's built by our own llvm supports options that
aren't available elsewhere.  We use those in our build, now.

Swift SVN r11828
2014-01-02 19:25:13 +00:00
Joe Groff
381068d890 Update library paths for release build test for /usr/lib/swift/macosx change.
Swift SVN r11630
2013-12-25 16:40:27 +00:00
Anna Zaks
10b4c5f31d Add infrastructure necessary to test with ASan.
Also, disable one of the tests that currently fails under ASan(radar://15701423)
with "not_asan_build".

Swift SVN r11529
2013-12-20 23:41:50 +00:00
Argyrios Kyrtzidis
a62a85bc8d [utils/buildbot-script.sh] Correct the script for running the SourceKit tests.
Swift SVN r11369
2013-12-17 02:19:54 +00:00
Anna Zaks
e9870cd347 [SIL] Add helper - it's useful when printing SILInstructions.
Swift SVN r11196
2013-12-12 19:07:02 +00:00
Dave Abrahams
946fbf7272 [utils] buildbot-script.sh: Create XCode projects that can be opened in XCode
Swift SVN r10746
2013-12-03 01:20:40 +00:00
Dave Abrahams
d8e8c36d2a [utils] buildbot-script.sh: speed up incremental builds by not configuring when CMakeCache.txt exists
This change won't affect the buildbot because it's always doing clean
builds, but when invoked by users it makes a huge difference.

Swift SVN r10592
2013-11-20 13:03:12 +00:00
Dave Abrahams
6fc5d9133b [utils] buildbot-script.sh: no, you can't pass -o pipefail et al on the bash command line
Let's make sure things actually stop when they fail, shall we?

Swift SVN r10591
2013-11-20 12:34:25 +00:00
Dave Abrahams
d530ebc226 [utils] buildbot-script.sh: Build test binaries in parallel before running lit
Swift SVN r10573
2013-11-20 00:49:31 +00:00
Chris Lattner
eea8e954c8 remove some caveats that have improved a lot. Generics
support isn't perfect, but is a lot better than when that
was written.


Swift SVN r10440
2013-11-14 01:04:43 +00:00
Dave Abrahams
9ea86819dd [utils] buildbot-script.sh -- Support building and testing Swift with Xcode
Tests for SourceKit still fail under XCode, but the Swift tests are all passing.

Swift SVN r10426
2013-11-13 20:13:44 +00:00
Joe Groff
3aad110eee buildbot-script.sh: Check for '--release' before '--*'.
Swift SVN r10422
2013-11-13 16:52:42 +00:00
Dave Abrahams
c0ab416837 [utils] buildbot-script.sh: support user-friendly testing with Ninja builds
Also begin supporting Xcode as a generator.  This used to work, months
ago, but now it's failing to find the llvm bin directory.

Swift SVN r10412
2013-11-13 04:59:32 +00:00
Dave Abrahams
d0f8619824 [utils] buildbot-script.sh: remove more stray backslashes
Swift SVN r10408
2013-11-13 03:11:43 +00:00
Dave Abrahams
59d0757e58 [utils] buildbot-script.sh: revive mistakenly-dropped SOURCEKIT_PATH_TO_SWIFT_BUILD setting
Swift SVN r10407
2013-11-13 03:10:20 +00:00
Dave Abrahams
8a03020dd7 [utils] buildbot-script.sh: run tests and build packages using the selected CMake generator
Swift SVN r10406
2013-11-13 02:52:18 +00:00
Dave Abrahams
44322ff2b4 [utils] buildbot-script.sh: remove stray backslash
Swift SVN r10405
2013-11-13 02:52:17 +00:00
Dave Abrahams
80e9cef467 [utils] buildbot-script.sh: support alternate CMake Generators, such as Ninja
Swift SVN r10404
2013-11-13 02:29:41 +00:00
Dave Abrahams
88c77df62b [utils] buildbot-script.sh: remove some flotsam
Swift SVN r10403
2013-11-13 02:19:50 +00:00
Dave Abrahams
7a69441831 [utils] buildbot-script.sh: factor out common configuration options
(I take it back, the original commit was fine)

Swift SVN r10402
2013-11-13 02:19:48 +00:00
Dave Abrahams
d2e153a072 Reverting "[utils] buildbot-script.sh: factor out common configuration options"
The last commit broke the buildbot; fixing.

Swift SVN r10401
2013-11-13 02:13:42 +00:00
Dave Abrahams
2aa72b3acc [utils] buildbot-script.sh: factor out common configuration options
Swift SVN r10400
2013-11-13 01:47:52 +00:00
Argyrios Kyrtzidis
c64ff16030 [utils/buildbot] SWIFT_MODULE_CACHE_PATH is not used when building SourceKit; remove it.
Swift SVN r10366
2013-11-12 04:10:14 +00:00
Dmitri Hrybenko
2f4352e1a7 buildbot script: remove variable exports that are not needed
'make check' sets these variables before executing llvm-lit.


Swift SVN r10363
2013-11-12 02:51:08 +00:00
Dave Abrahams
fd349dec62 [utils] buildbot-script.sh: remove an unused option
Swift SVN r10360
2013-11-12 02:04:55 +00:00
Dave Abrahams
de0b3eabd6 [utils] buildbot-script.sh: add command-line option system
These changes create a viable way for people to build and test Swift
locally with reasonable assurance that the buildbot is testing the
same thing they are.  A number of other changes are planned, but these
are the basics and we need to make sure the 'bot still works before
proceeding.

Along the way, I had Joe change the way the buildbot invokes this
script so that $WORKSPACE is now passed on the command line.  Passing
flags in environment variables is inherently fragile, so the script no
longer uses that configuration method.

Swift SVN r10357
2013-11-12 01:52:06 +00:00
Dave Abrahams
2e936ea26d [buildbot-script] make it possible to force the CMake executable and install prefix
If no SWIFT_CMAKE is specified, fall back to the one in PATH, then
/usr/local/bin/cmake.  Presumably these last two are the same on the
buildbot, but if not, we can always set
SWIFT_CMAKE=/usr/local/bin/cmake in the buildbot's environment

Swift SVN r10056
2013-11-08 22:10:43 +00:00