swift-ci
d5a3c9a11a
Merge remote-tracking branch 'origin/main' into rebranch
2024-05-02 08:14:36 -07:00
Saleem Abdulrasool
e0daf945fb
Merge pull request #73378 from readdle/buildps1-websockets
...
utils: enable curl websockets support when building with `build.ps1`
2024-05-03 00:07:17 +09:00
Alastair Houghton
bac73d012a
[Build] Add options to the Python build script tests.
...
Apparently I'd failed to add a couple of lines here.
rdar://123503470
2024-05-02 14:56:18 +01:00
Alastair Houghton
68598514c2
[Build] Fix Python linting issues.
...
The Python linter was complaining about import orders.
rdar://123503470
2024-05-02 14:56:18 +01:00
Alastair Houghton
29e38af1fe
[Build] Fix a conflict resolution mistake.
...
Apparently I accidentally removed a `]` while resolving a conflict in
`build_script_invocation.py.`
rdar://123503470
2024-05-02 14:56:18 +01:00
Alastair Houghton
fdc8ffd36f
[Build] Updated following initial comments from Eric.
...
Change the `--linux[-static]-arch` option to `--linux[-static]-archs`, on the
basis that it supports multiple values.
Other tidying.
rdar://123503470
2024-05-02 14:56:18 +01:00
Alastair Houghton
ae1c0455f3
[Build] Add the new fully-static Linux SDK.
...
Declare a new `LINUX_STATIC` SDK and configure it.
Add options to set the build architectures for the `LINUX` and
`LINUX_STATIC` SDKs, similar to what we have for Darwin, because
we'll be cross-compiling.
Also add an option to point the build system at the sources for
the musl C library, which we're using for `LINUX_STATIC`.
rdar://123503470
2024-05-02 14:56:18 +01:00
swift-ci
1daa6b2fdc
Merge remote-tracking branch 'origin/main' into rebranch
2024-05-01 18:15:54 -07:00
Emil Pedersen
d451c3e4e1
Merge pull request #73334 from Snowy1803/unified-lost-vars-statistics
...
Add compile flag for lost debug variables statistics
2024-05-01 18:03:32 -07:00
Alexander Smarus
b746145671
utils: enable curl websockets support when building with build.ps1
2024-05-01 21:17:04 +03:00
swift-ci
22d81cbbd2
Merge remote-tracking branch 'origin/main' into rebranch
2024-05-01 04:14:10 -07:00
Emil Pedersen
711e964066
Fix the counters to sql script for Python 3
2024-04-30 13:19:16 -07:00
Hamish Knight
de9806e2fa
[SourceKit] Introduce key for cancelling on close
...
Defaults to `true`.
2024-04-30 21:13:20 +01:00
Emil Pedersen
59d0bd4f64
Add compile flag for lost debug variables statistics
2024-04-29 18:38:37 -07:00
Alex Lorenz
7815f843a3
[android] do not build the builtin float overlay for android (NDK's clang module map doesn't have it)
2024-04-29 15:57:27 -07:00
Alex Lorenz
81d1fdde3f
[android][build] clean up the android path handling
2024-04-29 15:51:49 -07:00
Alex Lorenz
63172291b7
[build utils] do not extract the android NDK when it's up to date
2024-04-29 15:49:54 -07:00
Byoungchan Lee
c31f1f5245
[python] Replace deprecated assertEquals with assertEqual in build graph test
...
`unitest.assertEquals` is deprecated in Python 3.2 and finally removed in
Python 3.12 [1]. Due to this, this test files in recent Linux distros,
like Ubuntu 24.04 or Fedora 38+. This patch replaces the deprecated
function with `assertEqual`.
[1] https://docs.python.org/3/whatsnew/3.12.html
2024-04-29 08:17:15 +09:00
Andrew Trick
a60f5c45a7
Fix dev-scripts/split-cmdline: quote ';' arguments
...
When printing an argument that contains ';', add back
the quotes that are normally stripped.
I regularly waste half a day building Swift only to find that I built
the wrong thing because everything after the semicolon is dropped from
the build script when it contains arguments like this:
'--llvm-install-components=libclang;libclang-headers'
Ideally, split-cmdline would just preserve the original quotes. But
this quick fix solves the problem in the cases that I care about.
2024-04-26 08:58:06 -07:00
swift-ci
b5579150ca
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-26 08:34:40 -07:00
Ben Barham
94c10c2a61
[Build] Pass in swift-syntax to SwiftPM
...
SwiftPM is using swift-syntax for its new manifest refactorings.
2024-04-25 14:37:16 -07:00
swift-ci
60a87bd52b
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-23 12:54:34 -07:00
Mishal Shah
ed45c9cd2b
Update the rebranch scheme to use stable/20240408
2024-04-23 12:44:03 -07:00
swift-ci
7bcb93380d
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-22 21:54:35 -07:00
Mishal Shah
3332f3e948
Add preset to set bootstrapping=off for Linux
2024-04-22 17:21:04 -07:00
swift-ci
06946ebb88
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-19 09:49:41 -07:00
Hiroshi Yamauchi
4364612899
Merge pull request #71584 from hjyamauchi/crosscompiling-buildps1
...
Add cross-compiling support for the windows toolchain
2024-04-19 09:43:11 -07:00
swift-ci
420d133bb0
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-18 12:49:09 -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
Hiroshi Yamauchi
f6ab729ffd
Add cross-compiling support for the windows toolchain
...
Co-authrored with @compnerd
2024-04-18 09:24:14 -07:00
swift-ci
df28302b4e
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-17 22:26:03 -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
swift-ci
eb4ba8c88f
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-17 14:36:59 -07:00
Yuta Saito
e20e1c6be9
Merge pull request #73077 from kateinoigakukun/yt/split-wasi-sysroot-for-targets
...
[wasm] Split wasi-sysroot for wasi and wasip1-threads
2024-04-18 06:21:15 +09:00
Nate Chandler
c43f87101f
Merge branch 'main' into rebranch
...
Conflicts:
lib/Basic/Platform.cpp
```
diff --git a/lib/Basic/Platform.cpp b/lib/Basic/Platform.cpp
index 240edfa144a..1797c87635f 100644
--- a/lib/Basic/Platform.cpp
+++ b/lib/Basic/Platform.cpp
@@ -200,10 +200,7 @@ StringRef swift::getPlatformNameForTriple(const llvm::Triple &triple) {
case llvm::Triple::CUDA:
case llvm::Triple::DragonFly:
case llvm::Triple::DriverKit:
-<<<<<<< HEAD
case llvm::Triple::ELFIAMCU:
-=======
->>>>>>> main
case llvm::Triple::Emscripten:
case llvm::Triple::Fuchsia:
case llvm::Triple::HermitCore:
```
2024-04-17 13:32:48 -07:00
Yuta Saito
1136d50969
[wasm] Split wasi-sysroot for wasi and wasip1-threads
...
libclang_rt.builtins library is placed in the clang resource directory
per OS and architecture, so "environment" field is not used to find the
library (except for android). wasi and wasip1-threads require different
target features, so we need to split wasi-sysroot for them.
Before
```
wasi-sysroot
├── include
├── lib
│ ├── wasi
│ │ └── libclang_rt.builtins-wasm32.a
│ ├── wasm32-wasi
│ │ ├── ...
│ │ └── libc.a
│ ├── wasip1
│ │ └── libclang_rt.builtins-wasm32.a
│ └── wasm32-wasip1-threads
│ ├── ...
│ └── libc.a
└── share
```
After
```
wasi-sysroot
├── wasm32-wasi
│ ├── include
│ ├── lib
│ │ ├── wasi ---------- (will be renamed to wasip1)
│ │ │ └── libclang_rt.builtins-wasm32.a
│ │ └── wasm32-wasi --- (will be renamed to wasm32-wasip1)
│ │ ├── ...
│ │ └── libc.a
│ └── share
└── wasm32-wasip1-threads
├── include
├── lib
│ ├── wasip1
│ │ └── libclang_rt.builtins-wasm32.a
│ └── wasm32-wasip1-threads
│ ├── ...
│ └── libc.a
└── share
```
2024-04-17 17:45:37 +00:00
Mishal Shah
d3ecd7f7b6
Remove swift-nio and swift-nio-ssl from main scheme
2024-04-16 15:27:42 -07:00
Saleem Abdulrasool
e3bd21ac72
Merge pull request #73058 from compnerd/download
...
utils: refactor `Fetch-Dependencies` for future changes
2024-04-17 06:53:35 +09:00
Saleem Abdulrasool
726bf5cabf
utils: refactor Fetch-Dependencies for future changes
...
Future work to enable Android SDKs requires fetching additional
dependencies (e.g. Android NDK). Refactor the fetch dependencies method
to allow us to share the download logic rather than replicating it for
each piece. This will also allow us to fetch the Python dependency for
the ARM64 toolchain cross-compilation.
2024-04-16 10:33:36 -07:00
Artem Chikin
01d891ad99
Merge pull request #72834 from artemcm/UpstreamVisionOS
...
Introduce visionOS Platform
2024-04-15 09:33:49 -07:00
swift-ci
1df5c6b613
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-12 17:14:16 -07:00
Rintaro Ishizaki
abaa638210
Merge pull request #73010 from rintaro/windows-compilerplugin
...
[Windows] Build SwiftCompilerPlugin module when testing swift
2024-04-12 16:59:13 -07:00
swift-ci
d1f0333cbc
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-12 15:26:14 -07:00
Rintaro Ishizaki
a16ad9c274
Merge pull request #71173 from rintaro/cmake-parservalidatoin
...
[CMake] Add option to perform SwiftParser validation by default
2024-04-12 15:03:31 -07:00
swift-ci
5bf9865571
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-12 13:55:33 -07:00
Tim Kientzle
a51ebde9f6
Merge pull request #72987 from tbkka/tkientzle-no-asserts-toolchains
...
Add -a/--no-asserts option to build a no-asserts (production) toolchain
2024-04-12 13:40:53 -07:00
swift-ci
5b6eadf416
Merge remote-tracking branch 'origin/main' into rebranch
2024-04-12 13:37:42 -07:00
Rintaro Ishizaki
1a06b94a73
[Windows] Build SwiftCompilerPlugin module when testing swift
2024-04-12 11:03:08 -07:00
Yuta Saito
9582f5d960
Merge pull request #72998 from kateinoigakukun/yt/fix-wasm-build-on-machost
...
[wasm] Define CMake options for stdlib explicitly for Darwin host build
2024-04-12 15:15:03 +09:00