Commit Graph

7640 Commits

Author SHA1 Message Date
Alex Lorenz
d3cfaa3788 Merge pull request #75549 from hyp/eng/buildps1-host-android-sdk-windows-foundation-macros
[build.ps1] add host SDK path when building foundation for Android on…
2024-08-01 11:30:45 -07:00
Jeremy Schonfeld
f89db53698 Ensure Foundation tests don't run when passing --skip-foundation-tests (#75573) 2024-07-31 12:54:48 -07:00
Rintaro Ishizaki
fdc1d2f70a Merge pull request #75571 from rintaro/windows-clean
[Windows] Fix 'clean'
2024-07-31 09:55:09 -07:00
Rintaro
e1d4af50e6 [Windows] Fix 'clean'
Automatically detect the last component number so 'clean' removes the
build cache directries correctly
2024-07-30 13:43:07 -07:00
Alex Lorenz
386b945d8b [build.ps1] add host SDK path when building foundation for Android on windows
This lets us build the FoundationMacros for the windows host
2024-07-30 12:24:29 -07:00
Kuba Mracek
c9513c7925 [embedded] Add missing option to expected_options.py 2024-07-30 11:54:18 -07:00
Kuba Mracek
69964f9f22 [embedded] Don't build embedded stdlibs in 'standalone' builds 2024-07-30 10:42:55 -07:00
Jeremy Schonfeld
443c29d3a0 Invoke foundation tests via SwiftPM (#74594)
* Invoke foundation tests via SwiftPM

* Remove CTEST_OUTPUT_ON_FAILURE from Foundation build
2024-07-29 16:38:06 -07:00
Mishal Shah
396869e33b [SCM] Update the scheme for rebranch to use stable/20240723 2024-07-28 22:35:53 -07:00
Saleem Abdulrasool
628d4c56cd Merge pull request #75510 from compnerd/exclude
utils: try to downscope builds for the runtime
2024-07-27 09:53:49 -07:00
Ben Barham
d281fb8868 Merge pull request #74883 from finagolfin/droid
[android] Enable several C++ Interop and other tests
2024-07-26 11:18:07 -07:00
Saleem Abdulrasool
09f9c2667f utils: try to downscope builds for the runtime
This tweaks the build configuration for the runtime to downscope what we
actually build to what we require. This should have a negligible
improvement to the build times.
2024-07-26 09:59:12 -07:00
Saleem Abdulrasool
b0366e768e utils: enable HCS on Windows builds
This enables a minor optimization where we can outline cold BBs now that
HCS will not attempt to outline scoped EH functions.
2024-07-25 11:10:28 -07:00
Kuba (Brecka) Mracek
6c0fe7c624 Merge pull request #75375 from kubamracek/embedded-macho-builtins2
[embedded] Ask LLVM to build armv6 armv6m armv7 armv7m armv7em Mach-O builtins
2024-07-23 16:47:54 -07:00
Kuba Mracek
4f0d2e9f88 [embedded] Adhere to Python lint rules in llvm.py 2024-07-22 18:53:32 -07:00
Alex Hoppen
111bc466ee Merge pull request #75053 from finagolfin/clean
[build] Disable cleaning sourcekit-lsp by default, rather than having the flag do nothing
2024-07-22 17:27:23 -07:00
Mishal Shah
be679ca8cb [SCM] Update the release/6.0 scheme for swift-foundation and swift-foundation-icu 2024-07-22 09:30:22 -07:00
Mishal Shah
dc131377ad Merge pull request #75339 from jmschonfeld/swift-6-swift-foundation
[main] Add swift-foundation/swift-foundation-icu branch to release/6.0 checkout config
2024-07-20 10:49:47 -07:00
Finagolfin
6ede1c25e1 [android][build-script] Update the default arch to AArch64, as that is by far the most commonly used now 2024-07-20 17:56:51 +05:30
Kuba Mracek
bd0c903dd5 [embedded] Ask LLVM to build armv6 armv6m armv7 armv7m armv7em Mach-O builtins 2024-07-19 13:28:21 -07:00
Finagolfin
65de39674d [build] Disable cleaning sourcekit-lsp by default, rather than having the flag do nothing
Rather than make this change, swiftlang/sourcekit-lsp@37d003eb7 had the
`--no-clean` flag do nothing, which means the flag can't be used at all.
Instead, switch the flag to `--clean` in swiftlang/sourcekit-lsp#1558 and don't
invoke it by default.
2024-07-19 21:44:09 +05:30
Jeremy Schonfeld
39adcfa065 Re-add ICU as a valid remote 2024-07-18 11:03:21 -07:00
Jeremy Schonfeld
11760b1285 [main] Add swift-foundation/swift-foundation-icu branch to release/6.0 checkout config 2024-07-18 10:37:34 -07:00
Jeremy Schonfeld
f3acbb079f Remove ICU from the toolchain (#75262)
* Remove ICU from the toolchain

* Remove icu comment from GettingStarted.md
2024-07-17 18:19:16 -07:00
Mishal Shah
346bd23c92 Merge pull request #75309 from swiftlang/update-checkout-org-change
Update the repos swift-llbuild and swift-experimental-string-processi…
2024-07-17 14:26:12 -07:00
Mishal Shah
44e9503b83 Merge pull request #75189 from swiftlang/update-repo-to-swiftlang-org
[main] Update the swift-docc, swift-lmdb, swift-docc-render-artifact, swift-…
2024-07-17 14:21:53 -07:00
Mishal Shah
afb5bb52eb Update the repos swift-llbuild and swift-experimental-string-processing to swiftlang org 2024-07-17 14:18:17 -07:00
Alex Lorenz
6a7be95027 Merge pull request #74754 from hyp/eng/android-compiler-rt-buildps1
[windows][toolchain] build  android compiler-rt builtins when buildin…
2024-07-16 12:35:42 -07:00
Jeremy Schonfeld
b55f881645 Revert swift-corelibs-foundation-windows checkout (#75255) 2024-07-15 17:35:24 -07:00
Alex Lorenz
bd2c3ea53b [windows][toolchain] build android compiler-rt builtins when building Android SDK with build.ps1 2024-07-12 17:22:13 -07:00
YOCKOW
1df416d3bf [build-script] NFC: Update URL of Swift repository in message. 2024-07-12 15:34:10 +09:00
Mishal Shah
0e6cd5580c Update the swift-docc, swift-lmdb, swift-docc-render-artifact, swift-docc-symbolkit, swift-markdown, swift-llvm-bindings, and llvm-project to swiftlang org 2024-07-11 16:55:19 -07:00
Alexander Cyon
4a2942bb4e Fix typos in: cmake, tools, utils, unittests, validation-test
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
2024-07-12 02:34:00 +03:00
Alex Lorenz
42c43e6262 Merge pull request #75140 from hyp/eng/windows-local-build
[windows][build.ps1] only use swift-corelibs-foundation-windows checkout
2024-07-11 12:26:10 -07:00
Alex Lorenz
d6ed2e982a [windows][build.ps1] only use swift-corelibs-foundation-windows checkout
in CI

https://github.com/swiftlang/swift/pull/75073 has broken a local
toolchain build on windows using build.ps1,
as the local build does not use update_checkout on windows, and
thus does not checkout swift-corelibs-foundation-windows.
2024-07-10 13:49:47 -07:00
Saleem Abdulrasool
31fc0a65e5 Merge pull request #75104 from compnerd/pinning
utils: pin the latest build for ARM64 to bootstrap on Windows
2024-07-10 09:02:05 -07:00
Evan Wilde
a89c5a05f8 Merge pull request #74033 from etcwilde/ewilde/all-the-configs-are-a-mess
Use the toolchain clang consistently when building with ASAN enabled.
2024-07-09 23:21:36 -07:00
Mishal Shah
0d0994ba9c Merge pull request #75086 from jmschonfeld/swift-collections-1.1.2 2024-07-09 19:59:28 -07:00
Evan Wilde
f446c25e0c Use toolchain clang on macOS
Don't use the just-built clang on macOS. macOS does this more "right"
than the Linux build. Linux will sometimes use the just-built
Swift-driver with the just-built clang, but sometimes would use the
system clang instead. macOS uses the toolchain Swift-driver with the
toolchain clang. This is correct, but it means that if we force the
other clang, we'll get mismatched sanitizer runtimes so the ASAN bot
will fail.
2024-07-09 14:20:07 -07:00
Saleem Abdulrasool
b4f2f4983d utils: pin the latest build for ARM64 to bootstrap on Windows
We need a bootstrapping toolchain. Now that we have an ARM64 build for
Windows, pin that to provide a default pinned toolchain. This should
allow us to build natively on Windows ARM64 without having to specify
the download image ourselves.
2024-07-09 09:48:22 -07:00
Mishal Shah
2746675691 Merge pull request #72949 from swiftlang/maxd/bump-argument-parser
Bump `swift-argument-parser` to 1.4.0
2024-07-08 21:46:12 -07:00
Jeremy Schonfeld
a23fd6f183 Move main/6.0 windows Foundation builds to separate branch (#75073) 2024-07-08 18:28:01 -07:00
Jeremy Schonfeld
0bf07e35a4 Bump swift-collections 1.1.1 --> 1.1.2 2024-07-08 16:35:40 -07:00
Carl Peto
ee57481d7c [AVR] AVR support - Initial PR
- Add simple support for the AVR architecture, as a supported conditional compilation value, and added to the default llvm targets to build.

(Later PRs will fix support for 16-bit pointers, which is broken in places, and any fixes needed to get the standard library to build.)

(Note: AVR as a target is expected to always be compiled with -enable-experimental-feature Embedded.)
2024-07-06 18:22:10 +01:00
Ben Barham
8fba1080cb Revert "[CI] Use repo_name as cross-PR lookup rather than id" 2024-07-03 11:00:02 -07:00
Mishal Shah
80e0e02c88 Merge pull request #74884 from bnbarham/change-cross-pr-handling 2024-07-02 18:31:57 -07:00
Mishal Shah
702a221ce9 Update the swift-cmark from apple to swiftlang org 2024-07-01 22:23:57 -07:00
Ben Barham
43e0ae1dd3 [CI] Use repo_name as cross-PR lookup rather than id
Rather than using the repo id (org/repository) to find the cross-PR
testing branch, instead use the repo name. This is less likely to fail
during the migration of `apple` -> `swiftlang` as it does not rely on
updating the `update-checkout` config with the new repository id.
2024-07-01 21:59:11 -07:00
Ben Barham
892c15fe78 [Utils] Update more apple -> swiftlang repos 2024-07-01 17:24:58 -07:00
Mishal Shah
680d3c6f92 Merge pull request #74875 from swiftlang/shahmishal-patch-2 2024-07-01 17:17:24 -07:00