Commit Graph

193 Commits

Author SHA1 Message Date
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
Mishal Awadah
c1c1b379c3 [build-script] Add post-package testing.
Adds testing for the swift package after it is created.

hotfix

[build-script] Add post-package testing.

Adds testing for the swift package after it is created.
2015-11-10 16:03:44 -08:00
Mishal Awadah
3ab3142a29 [build-script] Hotfix invalid syntax. 2015-11-10 13:23:14 -08:00
Mishal Awadah
d62eee444f [build-script] Update swifpm build invocation.
Swiftpm moved utils to Utilities.
2015-11-10 12:14:12 -08:00
Mishal Awadah
15d1a728e4 [build-script] Use ninja installed on system.
When building for linux, we don't build ninja but use the one on the system.
2015-11-10 12:12:59 -08:00
Mishal Awadah
14d490e5d8 [build-script] Add Foundation support.
Adds support for building and installing Foundation, notably on Linux.
2015-11-10 12:12:58 -08:00
Mishal Awadah
5230a07f4c [build-script] Add XCTest
Add support for building and installing XCTest, primarily on Linux.
2015-11-09 17:10:00 -08:00
Todd Fiala
f2852f88fd lldb testsuite invocation: add full package qualifier for curses test results formatter
Required per recent changes in core lldb.
2015-11-09 08:57:19 -08:00
Ted Kremenek
bd5b3aee40 Revert "Fix perf test suite option in build-script-impl. Now it /should/ work."
This reverts commit c3ed3c3aec.
2015-11-08 08:19:03 -08:00
Michael Gottesman
c3ed3c3aec Fix perf test suite option in build-script-impl. Now it /should/ work. 2015-11-08 01:19:21 -06:00
Michael Gottesman
2f125d14ff Add the option 'build-swift-perf-testsuite' to build-script-impl
It is by default set to false, but now this option can be added to presets.
2015-11-07 20:21:50 -06:00
Mishal Shah
76e99159c1 copy swift-stdlib-tool in to xctoolchain 2015-11-06 23:24:00 -08:00
Sean Callanan
c263d4b7da Pass the toolchain directory to Xcode when installing LLDB.
This allows LLDB to be installed to a toolchain with any name, not
just XcodeDefault.xctoolchain.
2015-11-05 14:52:27 -08:00
Sean Callanan
b7cbd95d13 Support packaging of LLDB:
- run xcodebuild install with the correct installation path
  - change the directory that's tarred up to the one containing
    /usr because we've added /System(/Library...) as a peer of /usr
2015-11-05 09:42:01 -08:00
Argyrios Kyrtzidis
64ccc3f6dc [utils/build] Changes in build scripts to avoid treating SourceKit as a separate repo and build. 2015-11-04 23:19:20 -08:00
Ben Langmuir
d9b3030e4a Switch back to CLANG_REPOSITORY_STRING for option passed to LLVM
We changed the cmake configuration of swift to use
CLANG_COMPILER_VERSION, but not of Clang/LLVM, so revert to
CLANG_REPOSITORY_STRING to fix the clang version.

This was causing modules created by swift to be unreadable by clang.

rdar://problem/23397407
2015-11-04 17:41:20 -08:00
Mishal Awadah
5491a5b7e7 Use INSTALL_PREFIX in llbuild and swiftpm installation. 2015-11-03 11:01:59 -08:00
Sean Callanan
3a1fad6d55 Pass the path to the preferred swig binary to LLDB when building. 2015-11-02 17:56:35 -08:00
David Farler
4ac9c80809 Add back remaining files for building and testing in Open Source 2015-10-31 00:19:20 -07:00