Commit Graph

7640 Commits

Author SHA1 Message Date
Mishal Shah
40ecb090c3 Fix the lint issue 2024-07-01 17:04:47 -07:00
Jeremy Schonfeld
1f2ff67382 Add new _foundation_unicode and _FoundationCShims c modules to windows build script (#74796)
* Add new _foundation_unicode and _FoundationCShims c modules to windows build script

* Only copy directories that exist

* Address feedback
2024-07-01 15:50:36 -07:00
Mishal Shah
f57030277d Split the regex into multiple line to clean up lint error 2024-07-01 15:24:46 -07:00
Mishal Shah
025357edd9 Update update_checkout.py to support swiftlang and apple org repos 2024-07-01 15:04:12 -07:00
Saleem Abdulrasool
c34911003d Merge pull request #74834 from compnerd/synch
utils: restore synchronisation module on android armv7
2024-07-01 11:35:20 -07:00
Mishal Shah
30b88e7636 Merge pull request #74764 from swiftlang/shahmishal/cross-repo-testing
Update update_checkout.py to support both apple and swiftlang org cro…
2024-07-01 10:27:10 -07:00
Saleem Abdulrasool
b8fccbfe07 utils: restore synchronisation module on android armv7
The underlying issue seems to have been resolved. Restore the
synchronisation module builds for Android.
2024-06-28 15:07:34 -07:00
Max Desiatov
b8864de92f Merge branch 'main' into maxd/bump-argument-parser 2024-06-28 18:19:20 +01:00
Mishal Shah
4d533c0de0 Update update-checkout-config.json rebranch to use stable/20240625 2024-06-27 16:50:54 -07:00
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
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
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
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
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
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
Mishal Shah
60e09ffcf8 Merge pull request #74512 from apple/bump-swift-compiler-windows 2024-06-18 11:01:20 -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
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
Jeremy Schonfeld
6dc86867f7 Add CXX compiler to SCL-F Windows build (#74427) 2024-06-14 12:22:53 -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
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
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
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
Jeremy Schonfeld
1407980f66 Don't pass foundation build path to swift-driver/swift-package-manager (#74217) 2024-06-10 15:33:11 -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
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
Alex Lorenz
4cfd5f10b9 [android] only build android SDKs when -Android is passed, or -AndroidSDKs are specified when running build.ps1 2024-06-06 10:32:58 -07:00
Meghana Gupta
af1d6017f9 Merge pull request #74132 from meg-gupta/deleteresultdependson
Remove resultDependsOn/resultDependsOnSelf
2024-06-06 10:23:31 -07:00
Alex Lorenz
c032c9b034 [android] add additional checks for build.ps1 android build 2024-06-06 09:33:09 -07:00
Evan Wilde
fce890dabf pr-apple-llvm-project-linux: Set linker to clang
Clang is defaulting to the bfd linker in the PR job, resulting in test
failures due to failure to link. Switching it to gold.
2024-06-05 16:26:53 -07:00
Evan Wilde
ec3b305492 Move pr-apple-llvm-project-linux config to preset
Moving the flags used to invoke build-script for
pr-apple-llvm-project-linux to a preset so that it can be configured
without modifying CI itself.
2024-06-05 16:26:53 -07:00
Meghana Gupta
470fa2f365 Remove resultDependsOn/resultDependsOnSelf 2024-06-05 11:36:16 -07:00
Konrad `ktoso` Malawski
083fdaa0de Merge pull request #73998 from nickolas-pohilets/mpokhylets/fix-32-build 2024-06-04 13:49:19 +09:00