Commit Graph

592 Commits

Author SHA1 Message Date
Ankit Aggarwal
4c79a12d19 [build-script] Link llbuild with SwiftPM
Pass the neccessary flags to llbuild with SwiftPM
2018-07-11 17:12:34 -07:00
David Hart
335290e397 Install llbuild swift bindings 2018-07-07 13:55:03 +02:00
Connor Wakamo
5d8b6ad926 [build-script] Updated build-script-impl to be able to run the tests for the new PlaygroundLogger.
Switched to using `build-for-testing`/`test-without-building` for the PlaygroundLogger tests.
The new PlaygroundLogger tests are now a proper XCTest unit test bundle, so it needs to be done this way (instead of building the test runner and then just invoking that).

This is part of <rdar://problem/37765445>.
2018-06-28 10:24:01 -07:00
Jordan Rose
87e9b85683 [test] Handle an Xcode path with spaces in it (#17161) 2018-06-12 18:21:45 -07:00
Mishal Shah
3f8ce7d2f9 Update master to build with Xcode 10 beta 1, OS X 10.14, iOS 12, tvOS 12, and watchOS 5 SDKs. 2018-06-04 23:14:19 -07:00
Michael Gottesman
62adeb6b9d [build-script] Add some sanity to how we trigger benchmarks being built.
Specifically:

1. SKIP_TEST_BENCHMARK => SKIP_TEST_BENCHMARKS

I looked for --skip-test-benchmark (notice no s) and SKIP_TEST_BENCHMARK. It
seems like it is dead, especially since we have --skip-test-benchmarks.

2. Remove the code that works around SKIP_TEST_BENCHMARK typo.
2018-05-30 14:22:23 -07:00
David Hart
196d79cc34 Merge pull request #15375 from hartbit/llbuild-swift-bindings
Enable building llbuild swift bindings
2018-05-06 18:11:06 +02:00
David Hart
859c68b676 Enable building llbuild swift bindings 2018-05-03 20:51:52 +02:00
Nathan Lanza
7429856034 Change various search and linker paths to account for changes in NDK16
ndk14 introduced "unified headers" which merged the headers for all
different API versions into one directory which effectively split the
"SWIFT_SDK_ANDROID_ARCH_${ARCH}_PATH" into two different directories.

Add include and library specific paths to various compilation and link
invocations across the Swift project to account for this change. Remove
some broken sysroot/sdk specific settings.
2018-05-02 14:18:11 -07:00
Mike Ash
82c4929395 [Runtime] Disable mangled name verification when running PlaygroundLogger tests.
rdar://problem/37551850
2018-04-27 17:15:50 -04:00
Mike Ash
91619c4cd0 [Runtime] Make mangled name roundtrip verification a soft failure. Disable it entirely when running tests and when bootstrapping swiftpm, for now.
rdar://problem/37551850
2018-04-27 10:09:06 -04:00
Michael Gottesman
6e20a6da44 [integration-tests] Specify path to the llvm bin dir instead of filecheck itself.
We can infer FileCheck's path from the llvm bin dir so there is no change today.
In the future though this will enable us to use other llvm tools to "poke" at
the produced snapshots for verification purposes.

rdar://39456714
2018-04-22 15:26:20 -07:00
Davide Italiano
36f968d9ad [build-script] Disable watchpoint testing in lldb.
Stopgap solution until we have an option we can pass to the
bots. Hopefully will make the bots green again.
2018-04-05 17:36:39 -07:00
Adrian Prantl
c35d00f193 build-script / lldb: rename SWIFTCC -> SWIFTC 2018-03-23 10:55:45 -07:00
Jonas Devlieghere
50f26b58f9 [build-script] Don't set env variables when using lldb-dotest
We already configure lldb-dotest with the swift compiler. This patch
does the same for the path to the swift libraries.
2018-03-21 09:58:54 -07:00
David Zarzycki
dc22a4d54b [build-script] Track underlying CMake/lit changes 2018-03-21 06:47:37 -04:00
Jonas Devlieghere
67cd3c490a [build-script] Re-introduce change to run lldb tests with lldb-dotest 2018-03-20 12:29:29 -07:00
Vedant Kumar
c1a34be32f [build-script] Back out change to run lldb tests with lldb-dotest
lldb-dotest does not forward the arguments from DOTEST_EXTRA properly.
For now, just build the lldb-dotest target to ensure the cmake build has
the right dependencies built. Invoke dotest.py manually as before.
2018-03-19 20:32:10 -07:00
Vedant Kumar
cf6bb76f31 [build-script] Use lldb-dotest when testing lldb on Linux
... and pass the build directory explicitly, so the bot knows where to
look to package up test results.
2018-03-19 17:49:32 -07:00
Davide Italiano
694597d5fc Revert "[build-script] Disable watchpoint testing in lldb"
This reverts commit 4858cf691e
as it breaks the lldb bots.
2018-03-19 10:54:27 -07:00
Slava Pestov
fbdd36cda8 Merge pull request #15319 from slavapestov/remove-disable-resilience
Remove build-script flag to disable resilience
2018-03-16 20:37:29 -07:00
Slava Pestov
694fcddf4e Remove build-script flag to disable resilience 2018-03-16 19:56:17 -07:00
Vedant Kumar
4858cf691e [build-script] Disable watchpoint testing in lldb 2018-03-16 18:00:38 -07:00
Vedant Kumar
ac547c649f [build-script] cmake: Use lldb-dotest to drive lldb testing
Using lldb-dotest to drive testing solves the short-term problem of
there being missing test dependencies when we invoke dotest.py for cmake
builds.

Long term, we really want to delete as much lldb-specific logic from
build-script as possible and replace all of it with a single call to
lldb-dotest.

Even with this first cut, there are some nice simplifications
(build-script no longer needs to know how to find an out-of-tree
debugserver, etc).
2018-03-16 16:43:43 -07:00
Vedant Kumar
edf4681fd5 Merge pull request #15290 from vedantk/asserts
build-script: Implement support for --(no-)lldb-assertions
2018-03-16 12:33:36 -07:00
David Zarzycki
900c01fb3c Merge pull request #15233 from davezarzycki/stop_forcing_libcxx_use
[build-script] Stop forcing the use of libcxx
2018-03-16 13:36:03 -04:00
Vedant Kumar
9db99a0a24 build-script: Implement support for --(no-)lldb-assertions
* LLDB assertions are on by default, like swift assertions

* LLDB assertions can be enabled/disabled globally with the --assertions
  and --no-assertions options

Partially addresses: rdar://38524846
2018-03-15 20:45:02 -07:00
Vedant Kumar
7adb7a8eff Re-enable the full lldb test suite for non-smoke-test jobs
The lldb bots should run the full lldb test suite, not just the tests
reserved for pull-request testing.

This does not affect PR testing.

rdar://38462589
2018-03-15 18:13:21 -07:00
David Zarzycki
b6c3021ed1 [build-script] Stop forcing the use of libcxx
Any C++ standard library is good enough these days.
2018-03-14 18:04:34 -04:00
Vedant Kumar
950b97a327 [build-script] Pass --out-of-tree-debugserver to lldb tests
We need this flag to tell the test harness to skip certain tests.
2018-03-14 12:35:29 -07:00
Vedant Kumar
267de6e2e1 [build-script] Support --lldb-test-swift-only=0
Make it possible to run the full lldb test suite through build-script
again.
2018-03-14 10:58:06 -07:00
Slava Pestov
de4f1f8a66 Re-enable resilience for stdlib and overlays 2018-03-12 15:44:07 -07:00
eeckstein
cc983a7afc Revert "Re-enable resilience for stdlib and overlays" 2018-03-12 10:24:33 -07:00
Slava Pestov
b758621ed4 Re-enable resilience for stdlib and overlays 2018-03-10 00:44:40 -08:00
swift-ci
d75d744472 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-08 16:38:26 -08:00
Ankit Aggarwal
b3b24eb928 [build-script] Add plumbing for llbuild assertions
This adds two flags to the build script to enable/disable assertions in
llbuild: --llbuild-assertions, --no-llbuild-assertions

The default value is taken from the global assertions flag.
2018-03-08 16:22:40 -08:00
swift-ci
44761ddc84 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-06 13:38:19 -08:00
Ankit Aggarwal
4a988dc0c4 [build-script] Disable building llbuild Swift bindings
The CMake support in llbuild is finding the compiler in the system
instead of the build products. This causes build errors if Swift is old
on a system.
2018-03-06 12:27:37 -08:00
Adrian Prantl
13a228e98a build-script: pass the LLDB_INCLUDE_TESTS variable through to LLDB 2018-03-05 15:23:23 -08:00
swift-ci
a103411dd3 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-04 17:18:15 -08:00
swift-ci
0c1c6d89c1 Merge pull request #14969 from gonzalolarralde/swift-android-arch-variable 2018-03-04 17:06:43 -08:00
swift-ci
06ad3a0f5a Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-04 10:57:58 -08:00
Gonzalo Larralde
13cf3095b7 Replace incorrect HOST variable for the expected hardcoded arch 2018-03-04 13:32:19 -03:00
Fumiya Nakamura
f902f5fa05 [SR-1046] Pass lit path argument to xctest explicitly
Resolve https://bugs.swift.org/browse/SR-1046
2018-03-03 15:28:41 +09:00
Adrian Prantl
0252cb8835 build-script: Pass --build-dir to LLDB's dotest.py 2018-02-28 18:58:05 -08:00
Saleem Abdulrasool
420328b886 Merge pull request #14728 from compnerd/icu-arch
build: explicitly state arch for ICU
2018-02-28 10:21:08 -08:00
Nathan Lanza
4b8d4d9640 Add a SWIFT_BUILD_DIR variable to pass as an arugment to xctest/build_scripy.py 2018-02-24 21:27:58 -08:00
Davide Italiano
fed7aedf45 [lldb] Run the lit-style checks as part of --test for lldb.
We're growing this set, so it makes sense to run them now.
2018-02-21 13:06:40 -08:00
Saleem Abdulrasool
e77d4c7c98 build: explicitly state arch for ICU
This is needed to support cross-compilation on targets which do not
support FAT binaries (i.e. non-MachO targets).  The primary user of this
functionality right now is Windows, but this support is needed for Linux
and android as well.
2018-02-19 23:27:54 -08:00
adrian-prantl
05ecc3b766 Merge pull request #14715 from adrian-prantl/36663932
build-script: Pass path to just-built libddispatch and Foundation to dotest.py
2018-02-19 15:45:52 -08:00