Commit Graph

312 Commits

Author SHA1 Message Date
Karoy Lorentey
a69a1a291a [update-checkout] Also update swift-collections on release/6.0 2024-06-11 16:54:59 -07:00
Karoy Lorentey
d23fad953c [update-checkout] main, rebranch, next: Update to swift-collections 1.1.1 2024-06-07 16:38:35 -07:00
Jeremy Schonfeld
025c976cff Prepare for introducing swift-foundation into the toolchain (#74019) 2024-06-03 15:15:46 -07:00
Mishal Shah
c579708fc1 Update the swift-system tag to 1.3.0 to support Windows arm64 2024-05-23 00:21:19 -07:00
Yuta Saito
4e4047dead update-checkout: Update swift-sdk-generator dependencies
swift-nio and swift-async-algorithms have been updated to support
`SWIFTCI_USE_LOCAL_DEPS` convention. This change updates them to the
versions including the support.
2024-05-22 14:14:12 +00:00
Yuta Saito
f9a14b8f10 build: Build Swift SDK for WebAssembly
This change adds a new product, WasmSwiftSDK, to build the Swift SDK for
WebAssembly. The product is built using the swift-sdk-generator package
and takes just built WebAssembly stdlib, clang runtime libraries,
and wasi-sysroot as input, and produces a Swift SDK artifactbundle under
swift-sdk-generator/Bundles.
2024-05-22 14:14:12 +00:00
Evan Wilde
d8230b48ef Update swift-driver checkout
`update-checkout` should be checking out the release/6.0 driver for
Swift-6.0 builds instead of the main branch driver.
2024-05-20 13:09:05 -07:00
Mishal Shah
6998ebd9ed Bump the Yams version to 5.0.6 to support Windows arm64 2024-05-08 15:50:18 -07:00
Mishal Shah
ed45c9cd2b Update the rebranch scheme to use stable/20240408 2024-04-23 12:44:03 -07:00
Mishal Shah
38c8968ddd Merge pull request #73069 from apple/drop-swift-nio-swift-nio-ssl-from-main-scheme
Remove swift-nio-ssl from main scheme
2024-04-18 12:25:41 -07:00
Mishal Shah
cae177f7a5 Merge pull request #72931 from apple/maxd/log-async-algos
Add `swift-log` and `swift-async-algorithms` to checkouts
2024-04-17 22:13:24 -07:00
Mishal Shah
e36091e41c Add swift-nio back into the main scheme 2024-04-17 15:39:54 -07:00
Mishal Shah
d3ecd7f7b6 Remove swift-nio and swift-nio-ssl from main scheme 2024-04-16 15:27:42 -07:00
Mishal Shah
f0867486a2 Merge pull request #72991 from apple/shahmishal/curl-zlib-tag-update
Update curl and zlib on rebranch and next scheme
2024-04-11 22:22:39 -07:00
Evan Wilde
77a43afe0e Merge pull request #72989 from etcwilde/ewilde/pin-ninja-tag
Pin Ninja checkout to v1.11.1
2024-04-11 19:56:11 -07:00
Mishal Shah
e2036f9078 Update curl and zlib on rebranch and next scheme 2024-04-11 14:59:54 -07:00
Mishal Shah
22919a9039 Merge pull request #71818 from compnerd/curl
utils: update curl to 8.5.0
2024-04-11 14:58:21 -07:00
Mishal Shah
976f2e1fdb Merge pull request #71815 from compnerd/zlib
update_checkout: update zlib to 1.3.1
2024-04-11 14:57:59 -07:00
Evan Wilde
0cf6c6d8ed Pin Ninja checkout to v1.11.1
Ninja 1.12 just released and seems to be dying silently while building
the Swift stdlib. Lets go ahead and pin it to the old tag. Pinned
dependencies are better from a security standpoint anyway.

I'm leaving `next` on the ninja release branch so that we still have
some signal from it, but folks aren't generally living on `next`, so it
should have less impact.
2024-04-11 13:31:28 -07:00
Mishal Shah
2d919ee3bc Update rebranch scheme to include new llvm-project stable/20240405 branch 2024-04-10 17:16:52 -07:00
Saleem Abdulrasool
2c15456bd2 Merge branch 'main' into curl 2024-04-11 08:33:23 +09:00
Saleem Abdulrasool
d19a8dd2ca Merge branch 'main' into zlib 2024-04-11 08:31:30 +09:00
Max Desiatov
1d14c5cb3a Add both repositories to rebranch and next schemes 2024-04-09 17:46:44 +01:00
Max Desiatov
7e787e4720 Add swift-log and swift-async-algorithms to checkouts
These repositories are used by https://github.com/apple/swift-sdk-generator, which needs to be built as a part of Swift CI jobs for creating a Swift SDK for WASI for CI testing purposes.
2024-04-09 17:43:17 +01:00
Anthony Latsis
baa0cfdd2d update-checkout: Patch up a few flaws with --stash
* Stash for each submodule for consistency.
* Stash untracked changes too.
* Don't redundantly hard-reset along the stash path.
* Add some comments and a more truthful description to `--stash` and
  `--clean`.
2024-03-29 21:45:50 +03:00
Max Desiatov
22a37e3a8e Add --stash as alternative to --clean to update-checkout (#71178)
Use of `--clean` can lead to irreversible loss of uncommitted data. We still need to reset Swift project repositories to a clean state, but without deleting all in-progress changes. Passing `--stash` instead of (or in addition to) `--clean` will preserve uncommitted changes in stashes of corresponding repositories.
2024-03-21 12:17:25 -07:00
Mishal Shah
6204091a7a [update-checkout] Add Swift 6.0 branch support 2024-03-15 22:44:48 -07:00
Saleem Abdulrasool
a335749061 utils: update swift-collections on 5.10 to 1.0.5
The 1.0.5 release contains the CMake changes required to support Windows
ARM64 builds.
2024-02-23 10:17:26 -08:00
Saleem Abdulrasool
dd5d6fac6e utils: update curl to 8.5.0
CURL 8.5.0 contains a change to `fseeko` handling which is required to
build for Android with the newer NDKs.
2024-02-22 11:07:54 -08:00
Saleem Abdulrasool
9944af3b8d update_checkout: update zlib to 1.3.1
This is required to enable building zlib for Android with newer NDKs.
2024-02-22 10:54:09 -08:00
Yuta Saito
2b1160475f build: Add WasmKit (a Wasm runtime) product
This patch adds a new product, WasmKit, which is a Wasm runtime that is
going to be used to run executable tests targeting Wasm. Note that the
product is not shipped as a part of the toolchain, but is used only for
testing purposes.
2024-02-07 07:32:45 +00:00
Karoy Lorentey
958a7f04c9 Merge pull request #69714 from lorentey/update-stdlib-packages
[main, rebranch, next] Update to latest releases of swift-atomics, swift-collections, swift-numerics, swift-system
2023-11-29 23:43:13 -05:00
Alex Hoppen
39df3c0b23 Update release/5.10 for update-checkout
The `release/5.10` specification of update-checkout on the `main` branch was out-of-date and didn’t clone e.g. `zlib`. This caused CI testing for the `release/5.10` branch of swift-syntax to fail.
2023-11-28 11:15:42 -08:00
Karoy Lorentey
8d7e67ddf5 [main, rebranch, next] Update to latest releases of swift-atomics, swift-collections, swift-numerics, swift-system 2023-11-27 11:34:24 -08:00
Mishal Shah
412a828592 update icu tag for release/5.10 2023-11-15 12:00:06 -08:00
Saleem Abdulrasool
cb4d0b930b update_checkout: update the next scheme to match main
Update next to match main for dependencies. This includes:
- CURL
- ICU
- libxml2
- zlib
2023-11-01 14:38:10 -07:00
Saleem Abdulrasool
247d56847d build: update update-checkout to ICU 69
Unify the non-Darwin targets to ICU 69. Windows has been using ICU 69
since 5.3, Linux was at 65.
2023-11-01 14:16:15 -07:00
Saleem Abdulrasool
4fb2614e6c build: update build.ps1, use update-checkout for more dependencies
Update the build.ps1 to match the current state which introduces
`-BuildTo` and updates most of the dependencies. Take the opportunity to
migrate to update-checkout for the majority of the dependencies. The
SQLite amalgamation and installer image are still fetched later, and ICU
is still cloned in the CI wrapper.
2023-11-01 14:16:15 -07:00
Mishal Shah
9e7d9277c8 Merge pull request #69134 from yim-lee/fix-swift-certs-1.x
[update-checkout] Update package versions in 'release/5.10' block
2023-10-30 21:25:30 -07:00
Yuta Saito
e1c4eceea3 [wasm][build] Build and test stdlib for WebAssembly
This patch adds a new build products to build and test the Swift stdlib
for WebAssembly.
This adds WebAssembly specific stdlib product instead of adding the new
target in `stdlib-deployment-targets` because unlike darwin platforms
Wasm target has quite different stdlib configuration from host target
and there is no way to specify different stdlib configuration for each
target in `stdlib-deployment-targets` for now.

This patch adds 1 new dependency `wasi-libc` and 3 new build products:
1. `WASILibc` - wasi-libc is a libc implementation for WebAssembly
   System Interface (WASI). This product is required to build the
   compiler runtimes and Swift stdlib.
2. `WasmLLVMRuntimeLibs` - This product builds `./runtimes` directory
   in llvm-project, which contains compiler-rt, libcxx and libcxxabi.
   This product is required to build Swift stdlib.
3. `WasmStdlib` - This product builds standalone Swift stdlib for
   WebAssembly. (Similar to `MinimalStdlib` product, but configured for
   WebAssembly target)
2023-10-23 17:34:20 +00:00
Mishal Shah
181ec1c316 Update the main git scheme to use stable/20230725 2023-10-12 23:41:43 -07:00
Yim Lee
25a90fd1b3 [update-checkout] Update package versions in 'release/5.10' block
To reflect changes in 5.10 branch
2023-10-11 09:25:50 -07:00
Mishal Shah
66ac1c0aa5 Merge pull request #68768 from yim-lee/swift-certs-1.0
[update-checkout] Update swift-certificates to 1.x, swift-crypto to 3.x
2023-10-10 20:49:37 -07:00
Mishal Shah
130c16c6d2 Move the Swift 5.9.0 scheme to 5.9.1 2023-09-29 14:31:14 -07:00
Yim Lee
6be2a12bf0 Update swift-certificates to 1.x, swift-crypto to 3.x
rdar://113969026
rdar://115794818
2023-09-26 12:24:49 -07:00
Mishal Shah
677ce2bfad [update-checkout] Add support for release/5.10 branches 2023-09-07 23:42:15 -07:00
Max Desiatov
7c72e7d3a3 update_checkout.py: fix inconsistent options help capitalization (#68374)
`--clone` and `--clone-with-ssh` help strings were using capitalization inconsistent with other options.
2023-09-07 22:05:18 +02:00
Mishal Shah
53d2cf1b6f Update the swift-argument-parser to 1.2.3 for next 2023-09-01 10:34:43 -07:00
Saleem Abdulrasool
94693eda65 update_checkout: bump s-a-p to 1.2.3
In order to work with further improvements to static linking on Windows
to enable Swift in Swift and C++ Interop, we need to bump the s-a-p with
a fix for underlinking.
2023-08-18 15:55:45 -07:00
Mishal Shah
0455f8d592 [main] Add support for release/5.9.0 scheme to update checkout 2023-08-09 21:33:47 -07:00