Commit Graph

8542 Commits

Author SHA1 Message Date
Mishal Shah
0578ead606 Update update_checkout.py to support both apple and swiftlang org cross repo testing 2024-06-26 22:28:22 -07:00
Max Desiatov
eef85a7be2 Improve logging in swift_build_support/shell.py (#74592)
Currently, when a command fails with this message 

```
ERROR: command terminated with a non-zero exit status 1, aborting
```

it's unclear at all which exact command terminated, which makes it very hard to debug issues in the build script.
2024-06-26 22:56:59 +01:00
Yuta Saito
1f6a0e8363 [wasm] Disable building embedded stdlib when cross-compiling for wasm
The stdlib build configuration for wasm is incompatible with the
embedded targets (e.g. `SWIFT_STDLIB_COMPACT_ABSOLUTE_FUNCTION_POINTER=TRUE`),
so we need to disable building the embedded stdlib
2024-06-26 10:42:07 +00:00
swift-ci
5a1050abd3 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-26 02:56:17 -07:00
Mishal Shah
624404db5f Update update-checkout-config.json to use the new swiftlang org
github.com/swiftlang/swift-stress-tester 
github.com/swiftlang/swift-sdk-generator 
github.com/swiftlang/swift-syntax 
github.com/swiftlang/sourcekit-lsp 
github.com/swiftlang/indexstore-db 
github.com/swiftlang/swift-package-manager 
github.com/swiftlang/swift-format
2024-06-26 00:01:50 -07:00
swift-ci
517860f681 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-25 23:55:09 -07:00
Mishal Shah
085a464952 Merge pull request #74612 from swiftlang/shahmishal-patch-2
[update-checkout] Update the repo with new swiftlang org
2024-06-25 23:53:56 -07:00
Yuta Saito
4e3696f978 Sync swift-nio and swift-async-algorithms versions in main, rebranch, and next 2024-06-26 00:06:04 +00:00
Max Desiatov
31cfc05cdf Pin swift-async-algorithms to 1.0.1 in update-checkout-config.json
We've temporarily unpinned this repository in https://github.com/apple/swift/pull/72728 to get recent changes. Now a new tag is available, we should pin it again.
2024-06-25 23:59:04 +00:00
swift-ci
ee72f594fb Merge remote-tracking branch 'origin/main' into rebranch 2024-06-25 08:55:18 -07:00
Jeremy Day
e49fa3e8ae Conditionally include ALLOW_COMPILER_AND_STL_VERSION_MISMATCH 2024-06-24 10:09:25 -07:00
Jeremy Day
00acea4071 [windows] Allow compiler and STL version mismatch
VS 17.10 introduced a requirement on Clang 17, but the pinned Swift
toolchain used to bootstrap the compilers (a 5.10 snapshot) uses Clang 16. We
can relax this version requirement with ALLOW_COMPILER_AND_STL_VERSION_MISMATCH
which needs to be set for all CMAKE_Swift_FLAGS when building the
compilers, as well as explicitly in SwiftCompilerSources as the
invocation of swiftc there is via custom_command
2024-06-24 08:09:08 -07:00
swift-ci
18173c9e9b Merge remote-tracking branch 'origin/main' into rebranch 2024-06-21 15:54:17 -07:00
Jeremy Schonfeld
be6236fce1 Disable CMake-based Foundation tests (#74589)
* Disable old CMake-based Foundation tests

* Remove foundation tests from build-windows-toolchain.bat instead of build.ps1
2024-06-21 15:51:08 -07:00
Mishal Shah
640bc4f8fd [update-checkout] Update the repo with new swiftlang org 2024-06-20 22:47:59 -07:00
swift-ci
27cca4e563 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-18 13:53:43 -07:00
Kuba (Brecka) Mracek
9e7501601c Merge pull request #74489 from kubamracek/embedded-less-stdlibs
[embedded] Don't build *all* the embedded stdlibs by default
2024-06-18 13:50:25 -07:00
swift-ci
3906d5587e Merge remote-tracking branch 'origin/main' into rebranch 2024-06-18 11:14:12 -07:00
Mishal Shah
60e09ffcf8 Merge pull request #74512 from apple/bump-swift-compiler-windows 2024-06-18 11:01:20 -07:00
swift-ci
bb3d857022 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-18 08:15:31 -07:00
Mishal Shah
5b58cd27e4 Use 0.0.0 for Runtime on Swift 5.10.1 installer 2024-06-17 22:59:31 -07:00
Mishal Shah
46cc777e70 Update the Swift toolchain path to 5.10.1 2024-06-17 22:55:13 -07:00
Mishal Shah
81cb0499a2 [Windows] Update the Swift compiler to 5.10.1 2024-06-17 22:24:53 -07:00
Kuba Mracek
37ed08dc7b Add a build-script + CMake flag to enable/disable building the _Volatile module 2024-06-17 13:18:55 -07:00
Kuba Mracek
dc2edb6e9b [embedded] Don't build *all* the embedded stdlibs by default 2024-06-17 10:32:56 -07:00
swift-ci
90e423a11e Merge remote-tracking branch 'origin/main' into rebranch 2024-06-15 19:15:50 -07:00
Saleem Abdulrasool
877547f089 utils: copy static libraries for Android SDK
Update the SDK deployment to include the static libraries as well. This
is primarily needed for the C++ interop libraries.
2024-06-14 14:26:53 -07:00
swift-ci
a3e0407e32 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-14 12:34:19 -07:00
Jeremy Schonfeld
6dc86867f7 Add CXX compiler to SCL-F Windows build (#74427) 2024-06-14 12:22:53 -07:00
swift-ci
fe6c2897e8 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-14 09:14:03 -07:00
Saleem Abdulrasool
5b9e5a2d51 Merge pull request #74397 from compnerd/buildtools
utils: support VS Build Tools for building the SDKs
2024-06-14 09:09:38 -07:00
swift-ci
3796842cb3 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-14 00:54:39 -07:00
Karoy Lorentey
d5b79be215 [stdlib] Define placeholder availability for SwiftStdlib 6.1 2024-06-13 18:00:45 -07:00
Karoy Lorentey
d4564e4328 [stdlib] Define availability for SwiftStdlib 6.0 2024-06-13 16:35:42 -07:00
Saleem Abdulrasool
9b04241516 utils: support VS Build Tools for building the SDKs
`vswhere` does not report the buildtools installation. If the user only
has the build tools installed, the necessary tools may still be
available. Adjust the script to account for that.
2024-06-13 11:19:25 -07:00
swift-ci
776dbd1774 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-12 15:14:57 -07:00
Karoy Lorentey
89c3804ec7 Merge pull request #73654 from lorentey/update-swift-collections
Update to swift-collections 1.1.1 on release/6.0, main, rebranch and next
2024-06-12 15:14:23 -07:00
swift-ci
62f5574f05 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-12 08:34:41 -07:00
Jeremy Schonfeld
3dd4198adc [Windows] Prepare for swift-foundation in the toolchain (#74127)
* [Windows] Prepare for swift-foundation in the toolchain

* Update SwiftSyntax directory
2024-06-12 08:28:39 -07:00
Karoy Lorentey
a69a1a291a [update-checkout] Also update swift-collections on release/6.0 2024-06-11 16:54:59 -07:00
swift-ci
3b64fbd879 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-10 15:34:33 -07:00
Jeremy Schonfeld
1407980f66 Don't pass foundation build path to swift-driver/swift-package-manager (#74217) 2024-06-10 15:33:11 -07:00
swift-ci
9aeee0305a Merge remote-tracking branch 'origin/main' into rebranch 2024-06-10 10:54:46 -07:00
Hiroshi Yamauchi
1bb335d4a4 Merge pull request #74212 from hjyamauchi/crosscompile
Fix the cross-compiling Windows ARM64 build.
2024-06-10 10:37:20 -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
swift-ci
31648c840b Merge remote-tracking branch 'origin/main' into rebranch 2024-06-07 13:28:39 -07:00
Alex Lorenz
c8b5344d3e Merge pull request #72014 from compnerd/android
utils: support building android SDKs on Windows
2024-06-07 12:37:00 -07:00
Hiroshi Yamauchi
a079bebc59 Fix the cross-compiling Windows ARM64 build.
Fix the path to use the build arch instead of the host arch when
invoking the built swift compiler.

This fixes the build failure that's currently worked around with extra
path setting.
2024-06-07 09:48:50 -07:00
Alex Lorenz
6381a77eb4 [android] disable Synchronization for android armv7 builds 2024-06-06 13:34:15 -07:00
Alex Lorenz
eac1fe4cf0 Drop unecessary CMAKE_SYSTEM_NAME for dispatch, foundation and xctest build invocations 2024-06-06 11:17:45 -07:00