Davide Italiano
3dc011b0bb
[WIP] Fix LLDB.framework install path in build-script.
2019-08-11 23:24:34 -07:00
swift-ci
740cb36b76
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-08-08 18:04:29 -07:00
Brent Royal-Gordon
fb20b503ba
Merge branch 'master' into master-rebranch
...
# Conflicts:
# lib/ClangImporter/ClangImporter.cpp
# test/IRGen/builtins.swift
# test/IRGen/enum.sil
# tools/driver/autolink_extract_main.cpp
# utils/build-presets.ini
2019-08-08 17:07:59 -07:00
Ben Langmuir
327c666b8a
Revert "[CMake][NFC] Introduce component targets for proper dependency tracking"
2019-08-08 16:35:59 -07:00
Alex Langford
50a0e87c69
[CMake][NFC] Introduce component targets for proper dependency tracking
...
This commit introduces a CMake target for each component, adds install targets
for them, and switches build-script-impl to use the target `install-components`
for installation. Each of the targets for each component depends on each
of the individual targets and outputs that are associated with the
corresponding swift-component.
This is equivalent to what already exists, because right now install rules are
only generated for components that we want to install. Therefore, this commit
should be an NFC.
2019-08-08 11:50:35 -07:00
Cassie Jones
b059fd5b54
Remove build-script-impl target calculation
...
It's duplicated between the build-script and the -impl, removing code
from build-script-impl is good.
2019-08-01 14:19:38 -07:00
Stefan Gränitz
dafd027b9c
Merge pull request #25184 from adrian-prantl/51317901
...
build-script: support CMake install steps.
2019-07-11 18:13:18 +02:00
Stefan Graenitz
2fa436e53e
[build-script] Run default install target before package testing
2019-07-10 17:12:15 +02:00
Stefan Graenitz
7d58b05cba
[CMake] Use CMake caches for lldb in build-script
2019-07-02 13:42:35 +02:00
Adrian Prantl
85ccfe103d
build-script: Throttle the number of parallel tests run acording to -j.
...
This patch propagates the number of parallel jobs from build-script to
llvm-lit. Due to the way how build-script-impl is implemented, changing this
number needs a reconfigure for the Swift tests and can be done on the fly for
LLDB tests, since build-script-impl directly invokes llvm-lit in the latter
case.
rdar://problem/52062631
2019-06-26 15:18:05 -07:00
Jordan Rose
b951eedbd3
[build-script] Fix e11e127db4 to handle Xcode-based builds ( #25769 )
...
Xcode puts the bin/ and lib/ directories in a subdirectory based on
configuration; account for this when copying over compiler-rt for
non-host Apple platforms using one of the existing helpers in
build-script-impl.
2019-06-25 19:14:07 -07:00
Alex Lorenz
1cf12f93d9
Do not copy the compiler-rt builtins if the destination directory doesn't exist
...
rdar://51963563
2019-06-20 15:58:03 -07:00
Alex Lorenz
d66caf0c10
build-script-impl: do not copy the darwin compiler-rt builtin archives when using --build-llvm 0
2019-06-19 16:47:15 -07:00
swift-ci
586ef669fe
Merge remote-tracking branch 'origin/master' into master-next
2019-06-18 16:30:11 -07:00
Alex Lorenz
e11e127db4
[darwin][build] Copy the libclang_rt.{ios/tvos/watchos}.a from toolchain to the build dir so that swift-clang can use them when building for ios/tvos/watchos
2019-06-18 13:49:14 -07:00
swift-ci
28f5f2ce2d
Merge remote-tracking branch 'origin/master' into master-next
2019-06-11 15:50:10 -07:00
Julian Lettner
1f08ed458f
Wire libdispatch build path through CMake
...
Wire libdispatch build path through CMake `build-script-impl ->
lit.site.cfg.in -> lit.cfg` instead of computing it in lit.cfg.
2019-06-10 14:28:01 -07:00
swift-ci
ded2dcfa61
Merge remote-tracking branch 'origin/master' into master-next
2019-06-06 13:08:54 -07:00
swift-ci
65bb06c067
Merge pull request #25287 from akyrtzi/build-script-cmake-file-api
2019-06-06 13:00:46 -07:00
Argyrios Kyrtzidis
b8dec80f95
[build-script-impl] Use cmake-file-api in case the CMake used supports it
2019-06-06 10:03:03 -07:00
swift-ci
ed38fe6251
Merge remote-tracking branch 'origin/master' into master-next
2019-06-04 10:09:06 -07:00
Joe Groff
14f9dc6e15
Do not try to dsymutil .a files, which is unsupported
2019-06-03 20:18:53 -07:00
Adrian Prantl
78218b0c2a
build-script: support CMake install steps.
...
Currently, bots that perfrom an installation will build LLDB once using CMake
because that is the default and then again using Xcode because the CMake
install step is not implemented by build-script. This patch adds CMake support
by calling the generic cmake install-lldb step.
<rdar://problem/51317901>
2019-05-31 17:17:47 -07:00
swift-ci
be5659d56e
Merge remote-tracking branch 'origin/master' into master-next
2019-05-31 14:30:56 -07:00
Arnold Schwaighofer
b33b40b587
Another fix
2019-05-31 11:28:13 -07:00
Arnold Schwaighofer
959a6acc28
Fix build-script's handling of --test-optimize-none-with-implicit-dynamic
2019-05-31 11:22:09 -07:00
swift-ci
14119ff686
Merge remote-tracking branch 'origin/master' into master-next
2019-05-30 02:09:33 -07:00
swift-ci
a21cc813b1
Merge pull request #25085 from spevans/pr_sr_7039
2019-05-30 01:58:05 -07:00
Karoy Lorentey
63cb81d7a3
Merge branch 'master' into master-next
...
# Conflicts:
# utils/build-script-impl
2019-05-29 16:29:40 -07:00
Ross Bayer
490488851b
Merge pull request #25125 from gottesmm/pr-48e197f1a90eee298906aab36af439cbbbbd5ad2
...
[build-script-impl] When skipping building LLVM in toolchain only mod…
2019-05-29 16:01:37 -07:00
Michael Gottesman
ec1ab21325
[build-script-impl] When skipping building LLVM in toolchain only mode, do not include FileCheck and not.
...
The reason why is that we will not generate targets for them causing the build
to fail.
2019-05-29 14:25:11 -07:00
Karoy Lorentey
d8aa67bb90
Merge branch 'master' into master-next
...
# Conflicts:
# utils/build-script-impl
2019-05-29 13:09:01 -07:00
Michael Gottesman
a870baaeed
Merge pull request #25083 from gottesmm/pr-0c1aafb289fc4b6cb18d300b49e910c67d72caa8
...
[build-script] Add an option to only run executable tests. Off by def…
2019-05-28 17:06:54 -07:00
Simon Evans
976c1f9de9
SR-7039: Build and install libdispatch static libraries
2019-05-28 15:42:07 +01:00
Michael Gottesman
4b7a4f5b4e
[build-script-impl] When building parts of Swift without LLVM, always at least build FileCheck/not from LLVM.
...
These are common utilities used when testing with lit, so it makes sense to
always include them so in these cases we can use them for testing purposes.
2019-05-27 13:52:05 -07:00
Michael Gottesman
e8807296ae
[build-script] Add an option to only run executable tests. Off by default.
2019-05-27 13:51:13 -07:00
swift-ci
ea8be58620
Merge remote-tracking branch 'origin/master' into master-next
2019-05-17 10:50:07 -07:00
Julian Lettner
9631700d9e
[build][Linux] Create preset to run LLVM's TSan libdispatch tests
...
Build a separate compiler-rt instance for running the tests. It is built
and tested against an installed toolchain instead of the llvm-build-dir.
Install everything we need to run tests (CMake modules, FileCheck, etc.)
into the toolchain directory.
Add synthetic target 'all' for llvm-install-components. Also we must set
LLVM_INSTALL_UTILS=ON, so the utilities required by tests (e.g.,
FileCheck) are included in the install target.
2019-05-16 13:17:30 -07:00
Bob Wilson
33d9e52e72
Merge remote-tracking branch 'origin/master' into master-next
2019-05-01 09:33:08 -07:00
Davidino Italiano
ebb197930c
[build-script] Use a regex to match all the swift tests.
2019-04-26 10:37:42 -07:00
Davidino Italiano
d6d918983c
[lldb] Switch PR testing and build to use CMake by default.
2019-04-25 14:12:36 -07:00
Davidino Italiano
96abd3dcff
[build-script] Use --filter to implement --lldb-test-only-swift.
...
<rdar://problem/50211354>
2019-04-25 14:10:45 -07:00
swift-ci
90f691eef4
Merge remote-tracking branch 'origin/master' into master-next
2019-04-24 11:45:59 -07:00
Davide Italiano
12a472c656
Revert "[lldb] Switch PR testing and build to use CMake by default."
...
This reverts commit 5dec537173 .
2019-04-24 11:30:21 -07:00
swift-ci
178406c9c2
Merge remote-tracking branch 'origin/master' into master-next
2019-04-23 17:16:36 -07:00
Davide Italiano
c38894612c
Merge pull request #23908 from dcci/lldb-me
...
[lldb] Switch PR testing and build to use CMake by default.
2019-04-23 17:08:00 -07:00
swift-ci
0e20141708
Merge remote-tracking branch 'origin/master' into master-next
2019-04-23 15:49:17 -07:00
Adrian Prantl
013b9bcf31
[build-script] Pass the just-built dsymutil to dotest.py
2019-04-23 13:23:28 -07:00
swift-ci
44dd422fbf
Merge remote-tracking branch 'origin/master' into master-next
2019-04-15 16:30:58 -07:00
Fred Riss
98daff3cbf
[build-script] Pass llvm_build_dir to the LLDB build
2019-04-15 13:42:58 -07:00