Max Desiatov
91065437aa
Flush build step log messages in build_script_invocation.py ( #77324 )
...
This ensures that log messages are printed as soon as a corresponding build step starts, instead of printing these messages in the end out of order.
For example, before for SwiftPM
```
--- Cleaning swiftpm ---
--- Building swiftpm ---
--- Running tests for swiftpm ---
--- Finished tests for swiftpm ---
--- Installing swiftpm ---
```
was printed at the end of the CI job log with no actual build phase output in between these markers. Now these build phase markers are printed in the correct order and one can infer which log messages were printed for each build phase.
2024-11-01 12:19:34 -07:00
Yuta Saito
fc2c3c96f4
Merge pull request #77020 from kateinoigakukun/yt/compiler-rt-profile-rebranch
...
[wasm][build] Enable building compiler-rt/lib/profile
2024-11-01 00:31:37 +09:00
Ben Barham
cfb43d0719
Merge pull request #77262 from swiftlang/revert-77208-fix-foundation-build-script
...
Revert "build-script: Build core foundation tests without debug info to workaround a linker crash"
2024-10-30 15:22:40 +10:00
Kuba (Brecka) Mracek
07450c65dd
Merge pull request #77271 from kubamracek/embedded-qemu-riscv32
...
[embedded] Add a riscv32-qemu-virt QEMU test configuration
2024-10-29 21:00:24 -07:00
Yuta Saito
375fc598da
[wasm] Enable building compiler-rt/lib/profile
...
This patch enables building `compiler-rt/lib/profile` for WebAssembly
targets. This is necessary to support `-fprofile-instr-generate` for
WebAssembly targets.
2024-10-29 11:34:08 +00:00
Kuba Mracek
dd1e3a9640
[embedded] Add a riscv32-qemu-virt QEMU test configuration
2024-10-28 21:37:52 -07:00
Ben Barham
e8efc3e9e2
[Build] Temporarily remove lldb smoketest from linux preset
...
This preset adds `libcxx`, which neither the full test or toolchain jobs
run.
2024-10-29 11:13:22 +10:00
Ben Barham
f74b40e37c
Revert "build-script: Build core foundation tests without debug info to workaround a linker crash"
2024-10-29 09:25:49 +10:00
Ben Barham
f59b2f19e6
Merge branch 'main' into 2024-rebranch-to-main
2024-10-28 13:03:35 -07:00
Hamish Knight
27470575ef
Merge pull request #77202 from hamishknight/wrapping-paper-api-digester
...
[api-digester] Avoid modeling ParenType
2024-10-28 16:09:04 +00:00
Kuba (Brecka) Mracek
585dccbb17
Merge pull request #75427 from kubamracek/embedded-qemu
...
[embedded] Add QEMU-based testing configs for ARM and AVR for runtime testing
2024-10-25 22:09:04 -07:00
Kuba Mracek
b3e32d6c04
[embedded] Use an explicit asm sequence in qemu_exit instead of 'register asm()'
2024-10-25 14:52:49 -07:00
Kuba Mracek
0e985f1a30
[embedded] Add comment about UART emulator usage, drop unneccessary attribute((used))
2024-10-25 14:52:49 -07:00
Kuba Mracek
8620a99b18
[embedded] Add QEMU-based testing configs for ARM and AVR for runtime testing
2024-10-25 14:52:49 -07:00
Ben Barham
0cd3aa4614
[Utils] Update swift main to use llvm stable/20240723
2024-10-24 15:13:34 -07:00
Erik Eckstein
ed4fab8445
build-script: Build core foundation tests without debug info to workaround a linker crash
...
On amazon-linux2 the gold linker (version 1.14) crashes when linking debug info.
rdar://138562663
2024-10-24 21:49:25 +02:00
Hamish Knight
289092b9ec
[api-digester] Avoid modeling ParenType
...
This isn't a useful node to record.
2024-10-24 15:13:06 +01:00
swift-ci
5bd2fd586a
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-22 23:14:53 -07:00
eeckstein
9a845a0f93
Merge pull request #77148 from eeckstein/reinstate-load-copy-to-borrow-opt
...
Reinstate the load-copy-to-borrow optimization
2024-10-23 08:03:14 +02:00
swift-ci
13ec468707
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-22 16:09:47 -07:00
Mishal Shah
c43c0ccd61
Update update-checkout-config.json to use swiftlang org for newly moved repo
2024-10-22 15:32:05 -07:00
swift-ci
aa9353efb6
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-22 04:58:07 -07:00
Max Desiatov
72615fe5fe
Bump WasmKit to 0.1.2 in update-checkout-config.json ( #77142 )
...
This should make WebAssembly job significantly faster.
2024-10-22 04:47:22 -07:00
Erik Eckstein
839d7ae2ef
build-script: Build foundation tests without debug info to workaround a linker crash
...
On amazon-linux2 the gold linker (version 1.14) crashes when linking debug info.
rdar://137760869
2024-10-22 08:40:18 +02:00
swift-ci
237e1d7c39
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-19 14:57:04 -07:00
Michael Gottesman
8d05216b09
[swift_snapshot_tool] Fatal error if the older assumed good fails or if the newer assumed bad succeeds.
...
Often times this happens since one forget to add --invert to invert the failure
code in situations where the newer change succeeds and the older change fails...
so I added that admonition to the error message.
2024-10-19 11:18:12 -07:00
swift-ci
ef51c47f10
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-18 21:44:08 -07:00
Alex Hoppen
7a005bf853
Merge pull request #77084 from ahoppen/sourcekit-lsp-tests
...
[Windows] Run SourceKit-LSP tests from build.ps1
2024-10-18 21:31:27 -07:00
swift-ci
a97c693a1e
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-18 21:28:26 -07:00
Mishal Shah
05ad720f57
Revert "Drop references to clang-pseudo-gen after removal"
2024-10-18 20:58:41 -07:00
swift-ci
89395155fa
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-18 17:26:24 -07:00
Michael Gottesman
654aad80d3
Merge pull request #77109 from gottesmm/swift_snapshot_tool_fix
...
[swift_snapshot_tool] Turn off dry run from run command.
2024-10-18 17:12:05 -07:00
Alex Hoppen
88382de01f
[Windows] Run SourceKit-LSP tests from build.ps1
...
Building and running the tests currently takes 2:10min locally on my machine, but quite a few tests are currently disabled on Windows.
2024-10-18 15:13:25 -07:00
Michael Gottesman
b5fea5ecbc
[swift_snapshot_tool] Turn off dry run from run command.
...
I think this snuck in b/c I was playing with run_toolchain... unfortunately it
made it not actually work. Noticed it while I was triaging today.
2024-10-18 13:37:12 -07:00
swift-ci
4c403cd077
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-18 09:29:33 -07:00
Hiroshi Yamauchi
e1da8904f0
Merge pull request #77070 from weliveindetail/drop-clang-pseudo-gen-refs
...
Drop references to clang-pseudo-gen after removal
2024-10-18 09:08:15 -07:00
swift-ci
56cac307f2
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-18 07:27:47 -07:00
Alex Hoppen
44791b1e59
[Windows] Run swift-format tests
...
This reverts commit 2c78894f5c .
2024-10-17 22:47:47 -07:00
Stefan Gränitz
51f41842fe
Drop references to clang-pseudo-gen after removal
...
pseudo was removed from clang-tools-extra in upstream PR https://github.com/llvm/llvm-project/pull/109154
Drop two explicit references in swift and unblock Windows CI
2024-10-17 14:43:18 +02:00
swift-ci
01e1e21703
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-15 08:54:47 -07:00
Yuta Saito
d1a26d091d
[wasm][build] Disable LLVM unwinder in libcxxabi ( #77018 )
...
This change disables the use of llvm libunwind in libcxxabi, which is enabled by default in the rebranched scheme. (https://reviews.llvm.org/D150897 ) But the llvm libunwind is not supported in the WebAssembly target, so we need to disable it explicitly.
This is a preparation for the upcoming `rebranch` merge.
2024-10-15 16:37:47 +01:00
swift-ci
390b790a77
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-15 06:34:35 -07:00
Alex Hoppen
2c78894f5c
Don’t run swift-format tests on Windows
...
I saw the following failure on PR testing. Disabling swift-format tests while I investigate
```
error: supplementary output file map 'T:\\tmp\\TemporaryDirectory.mtdzGg\\supplementaryOutputs-1' is missing an entry for 'C:\\Users\\swift-ci\\jenkins\\workspace\\sourcekit-lsp-PR-windows\\swift-format\\Tests\\SwiftFormatTests\\API\\ConfigurationTests.swift' (this likely indicates a compiler issue; please submit a bug report (https://swift.org/contributing/#reporting-bugs ))
```
2024-10-14 22:28:07 -07:00
swift-ci
2a8c247065
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-14 14:22:38 -07:00
Alex Hoppen
e4725d9331
Merge pull request #76900 from ahoppen/swift-format-windows-build
...
[Windows] Run swift-format tests from build.ps1
2024-10-14 14:17:18 -07:00
swift-ci
de1ddb9c51
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-14 13:15:13 -07:00
Rintaro Ishizaki
82914d1979
Merge pull request #76986 from rintaro/newparservalidation-on-by-default
...
[build-script] Enable new parser validation by default
2024-10-14 12:55:46 -07:00
Alex Hoppen
bb217a3a97
[Windows] Run swift-format tests from build.ps1
...
The basic idea is that we build all libraries for the executable that will be included in the toolchain using CMake. swift-format then has a mode in its Package manifest that allows it to build just the test and test support targets, requiring all search paths to find those libraries to be passed in. We use that to only build swift-format's test using SwiftPM and re-use all the libraries that were already built using CMake.
2024-10-11 16:51:13 -07:00
swift-ci
d76161284b
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-11 15:25:48 -07:00
Alex Hoppen
9c992a7c38
Merge pull request #76730 from ahoppen/ahoppen/lsp-cross-compile
...
[build] Build sourcekit-lsp for multiple arches and lipo them
2024-10-11 15:14:11 -07:00