Commit Graph

1330 Commits

Author SHA1 Message Date
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