Mishal Awadah
22926f3483
[build-script] Add support for testing swiftpm.
2015-12-01 17:07:28 -08:00
Ben Langmuir
76be22c3cc
Manually set the deployment target for Darwin Ninja bootstrap builds
...
Unlike our cmake-based builds we weren't setting an explicit target
triple or deployment target, which left us open to the vagaries of the
environment.
2015-12-01 15:34:40 -08:00
Dmitri Gribenko
4324e7c903
Remove conditional compilation of tvOS
2015-12-01 14:43:45 -07:00
Mishal Shah
1cc28c769e
Default toolchain install location changed to /Library
2015-11-30 14:50:52 -08:00
Daniel Dunbar
5176fea596
[utils/build-script] Pass --xctest override path to SPM build, when building xctest.
2015-11-30 12:14:04 -08:00
Tony Parker
32f8492936
Change recommended name of checkout directory for Foundation and XCTest
2015-11-30 08:09:45 -08:00
Mishal Shah
bc42387848
Create swift-latest symlink in darwin installer
2015-11-25 18:20:07 -08:00
Ted Kremenek
b2fd1ec462
Default toolchain install location to ~/Library instead of /Library.
2015-11-24 23:15:36 -08:00
Mishal Shah
891f9e8bdd
Fix comment
2015-11-23 19:54:54 -08:00
Mishal Shah
cba563c7d6
Cleaning up code:
...
- Add darwin_ prefix to preset variables
- Add license header to utils/toolchain-codesign and utils/toolchain-installer
- Simplify the logic to remove Info.plist
2015-11-23 17:52:17 -08:00
Mishal Shah
4c0c8dfe40
Add DARWIN prefix to TOOLCHAIN_INSTALL_LOCATION
2015-11-23 15:48:05 -08:00
Mishal Shah
970a0a29aa
Remove the old Info.plist if it already exists before creating new one
2015-11-23 15:48:05 -08:00
Mishal Shah
ffcfca6285
Fix Toolchain path in build script
2015-11-23 15:48:05 -08:00
Mishal Shah
7885cc0080
Add darwin prefix to toolchain var in build script
2015-11-23 15:48:05 -08:00
Mishal Shah
9e5e40801c
Add support to create xctoolchain with code sign
2015-11-23 15:48:04 -08:00
Ted Kremenek
ae3dc8de2c
Merge pull request #8 from phausler/FoundationConfigureSimplification
...
Simplify configure pass for Foundation to use a defined variable for XCTest's build directory
2015-11-20 18:16:13 -08:00
Todd Fiala
29fdaa4302
LLDB build: pass along several version-related variables.
2015-11-20 16:52:18 -08:00
Philippe Hausler
1b966c8e9c
Simplify configure pass for Foundation to use a defined variable for XCTest's build directory
2015-11-20 14:25:02 -08:00
Mishal Awadah
215bdc0aba
Merge pull request #4 from phausler/FoundationBuildScripts
...
install Foundation via the ninja script and add the test phase for Foundation
2015-11-19 11:39:53 -08:00
Philippe Hausler
7d181616a5
Add additional swiftc flags for adding the XCTest module path when configuring Foundation
...
This allows for the unit tests to properly find the module map file for
XCTest; this requires Foundation commit 3effff to properly forward the
extra swiftc flags to building the unit tests.
2015-11-19 07:35:49 -08:00
Todd Fiala
fa421c7cb0
Strip swig build support out of the Swift build script.
2015-11-18 23:22:04 -08:00
Dmitri Gribenko
4cb6069285
build-script: run dsymutil and strip -S on the whole toolchain
...
LLDB installs a directory <toolchain>/System, and we weren't processing
it with dsymutil and strip.
rdar://23599629
2015-11-18 23:12:29 -08:00
Philippe Hausler
159eab1e24
install Foundation via the ninja script and add the test phase for Foundation
...
The configuration script for Foundation respects debug and release builds so a new option for foundation-build-type has been added to control the build variant of Foundation.
Resolve the FIXME for adding a mechanism for a custom invocation of running the Foundation unit tests
Foundation now has an install target provided from the generated ninja script such that the potentially error prone install script is dramatically simplified into a single encapsulation of a ninja phony target of "install"; so adopt this new target for installation
2015-11-18 14:59:17 -08:00
Daniel Dunbar
d9ae1565e8
[utils] Factor out command line setup of swiftpm bootstrap command.
2015-11-18 12:23:42 -08:00
Ted Kremenek
4c12a1278a
Bump Swift version to '2.2'.
2015-11-17 22:19:33 -08:00
David Farler
cea1a8a7bb
Revert "Specify path to ninja for Linux bootstrap builds"
...
This reverts commit 7b93555ebe .
(This turned out to be from stale build content from previous
commits).
2015-11-16 16:47:06 -08:00
David Farler
7b93555ebe
Specify path to ninja for Linux bootstrap builds
...
If a contributor doesn't have ninja-build installed, they can
run into build failures because we don't pass the path of the
built ninja to CMake.
2015-11-16 16:12:20 -08:00
David Farler
69d3b20b76
Use OS X SDK for Darwin Ninja bootstrap builds
...
Contributors may not have the Xcode command line tools installed,
so pass along the SDK for standard C headers when bootstrapping
the Ninja build.
2015-11-16 16:07:55 -08:00
Ben Langmuir
fa3d4c341b
Obey the value of build-swift-perf-testsuite again
2015-11-16 11:49:35 -08:00
Michael Gottesman
ef8165e01e
Fix typo.
...
I had a jumping in between different languages typo. *sigh*.
2015-11-15 07:13:26 -08:00
Michael Gottesman
f3ca521020
Fix typo.
2015-11-14 23:04:43 -08:00
Michael Gottesman
303dc7fcde
Only try to build the perf test suite on Darwin.
2015-11-14 22:59:47 -08:00
Michael Gottesman
444a4cd500
Revert "Revert "Add benchmark target when BUILD_SWIFT_PERF_TESTSUITE is set""
...
This reverts commit 54371402f9 .
It is not clear to me, why/where this was failing. I am going to baby sit it
through the CI.
2015-11-14 20:08:39 -08:00
Ted Kremenek
54371402f9
Revert "Add benchmark target when BUILD_SWIFT_PERF_TESTSUITE is set"
...
This reverts commit 52f209f119 .
This is breaking some of our bots.
2015-11-14 00:22:00 -08:00
Todd Fiala
e04d3cad3a
lldb: pass the HOST_CC compiler to the lldb test suite.
2015-11-13 20:29:11 -08:00
Mishal Shah
24f075313e
[build-script] use tar to package symbols and toolchain on Darwin
2015-11-13 19:06:18 -08:00
Luke Larson
52f209f119
Add benchmark target when BUILD_SWIFT_PERF_TESTSUITE is set
2015-11-13 17:22:57 -08:00
Argyrios Kyrtzidis
f0a4b5943d
[utils/build] Introduce llvm-install-components to specify which llvm components to install.
...
Also pass -DINTERNAL_INSTALL_PREFIX="local" to specify the internal install location for components
that are internal (libclang headers and c-index-test)
2015-11-13 14:50:02 -08:00
Mishal Awadah
f9f04d6e35
[build-script] Adjust lit invocation of pkg tests.
...
Run lit with the appropriate options to display failed test output.
2015-11-13 11:16:57 -08:00
Ben Langmuir
30aaeccc75
Reapply "Fix perf test suite option in build-script-impl. Now it /should/ work."
...
Was c3ed3c3aec .
This makes us honour the value of the setting, not just the presence of
it, and in particular it makes the default of disabling it work.
rdar://problem/23524451
2015-11-12 15:11:38 -08:00
Argyrios Kyrtzidis
d06b55a622
[CMake/build] Instead of just picking up the libclang dylib, invoke install-libclang target on the llvm build.
2015-11-11 21:35:01 -08:00
Mishal Shah
5237f9f6ad
[Build-script] Add logic to find clang install with not default name
2015-11-11 20:16:55 -08:00
Enrico Granata
c36a3a4f89
Revert "Allow to explicitly disable the test suite"
...
This reverts commit 3eb2c61237 .
2015-11-11 18:45:53 -08:00
Enrico Granata
3eb2c61237
Allow to explicitly disable the test suite
2015-11-11 18:35:23 -08:00
Mishal Awadah
e767ee9ab5
[build-script] Foundation doesn't use swift install path.
...
Don't fall through to cmake installation for foundation, similar to
xctest and swiftpm.
2015-11-11 13:55:52 -08:00
Mishal Awadah
55ecebf117
[build-script] Declare the build directory for Foundation.
...
Fixes rdar://problem/23504120
2015-11-11 12:51:55 -08:00
Mishal Awadah
d816f62b99
[build-script] Fix path to ninja binary.
...
Ninja builds into a different directory pattern than the rest of the products.
2015-11-11 10:54:52 -08:00
Mishal Awadah
dd458c5c58
[build-script] Check for Ninja the right way.
...
The logic to build Ninja uses this check; if the failure in CI persists,
there must be some logic error in this script.
2015-11-11 10:05:41 -08:00
Mishal Awadah
e86f60695a
[build-script] Add swift binary to Foundation configure.
2015-11-10 22:53:22 -08:00
Mishal Awadah
b62085023a
[build-script] Define the host variant arch for linux.
...
The arch defines where modules are laid down, and XCTest/Foundation need
this information to install correctly.
2015-11-10 17:03:42 -08:00