Commit Graph

7219 Commits

Author SHA1 Message Date
Mishal Shah
5b73dd6929 Bump the Swift version to 5.11 2023-09-18 09:37:38 -07:00
Mishal Shah
7f220e0928 Update the clang version to 17 2023-09-18 08:54:00 -07:00
Saleem Abdulrasool
e2a344b454 Merge pull request #68319 from compnerd/extraction
Update the windows toolchain build to enable building macros. This is the first step towards enabling the complete toolchain (e.g. regex, bootstraping, etc).
2023-09-18 08:13:39 -07:00
Alex Hoppen
ce2635ba79 Merge pull request #68562 from ahoppen/ahoppen/stress-tester-and-swift-evolve
[build] Build the SourceKit stress tester and SwiftEvolve next to each other
2023-09-16 07:35:47 -07:00
Finagolfin
c4ada3326b [build] Add back intermediate pipeline so that the corelibs are not built before the compiler tests are run
This reverts 01328417e but moves libdispatch into the earlier pipeline, so that
it alone is built before the compiler validation suite is run.
2023-09-16 10:08:50 +05:30
Michael Gottesman
f13efab4f3 Merge pull request #65829 from gottesmm/rdar89046735
[build] Remove intermediate pipeline so that we can guarantee that we  always have a fresh swift-dispatch when running swift tests.
2023-09-15 22:12:57 -05:00
Saleem Abdulrasool
8f6671cd4c Merge branch 'main' of github.com:apple/swift into HEAD 2023-09-15 16:02:17 -07:00
Saleem Abdulrasool
f8b02ef48b utils: update the build-windows-toolchain.bat to extract the toolchain
Fetch a prebuilt toolchain to build the toolchain.  This is required to
enable the macro support on Windows.

utils: update the build-windows-toolchain.bat to extract the toolchain

Fetch a prebuilt toolchain to build the toolchain.  This is required to
enable the macro support on Windows.
2023-09-15 16:01:25 -07:00
Saleem Abdulrasool
f1bc1067ff # This is a combination of 3 commits.
# This is the 1st commit message:

utils: update the build-windows-toolchain.bat to extract the toolchain

Fetch a prebuilt toolchain to build the toolchain.  This is required to
enable the macro support on Windows.

# The commit message #2 will be skipped:

# build: build SwiftSyntax before the toolchain build
#
# Perform a build of Swift Syntax prior to the build of the toolchain so
# that we can enable the early swift syntax parser builds.  This is a
# prerequisite for enabling macros on Windows.

# The commit message #3 will be skipped:

# # This is a combination of 5 commits.
# # This is the 1st commit message:
#
# build: wire up the early swift-syntax build to the build
#
# This enables the early swift syntax build to get us macro support on
# Windows.
#
# # The commit message #2 will be skipped:
#
# # Update build-windows-toolchain.bat
#
# # The commit message #3 will be skipped:
#
# # Update build-windows-toolchain.bat
#
# # The commit message #4 will be skipped:
#
# # Update build-windows-toolchain.bat
#
# # The commit message #5 will be skipped:
#
# # Update build-windows-toolchain.bat
2023-09-15 15:57:58 -07:00
Alex Hoppen
68c431e54d [build] Build the SourceKit stress tester and SwiftEvolve next to each other
It doesn’t really matter but the SourceKit stress tester and SwiftEvolve share the same repo and have a very similar build architecture and they should be build next to each other by build-script.
2023-09-15 14:53:01 -07:00
Alex Langford
e436ff0143 Merge pull request #68526 from bulbazord/test-removal-of-xcc
[Test] See if removing -Xcc from DOTEST_EXTRA continues to work
2023-09-15 13:11:24 -07:00
Alex Langford
54fed44b80 [Test] See if removing -Xcc from DOTEST_EXTRA continues to work 2023-09-14 12:43:55 -07:00
Saleem Abdulrasool
08a9df755e build: adjust the windows build for LLDB
A recent change seems to have caused a regression in the emitted
extension for the python data for LLDB. Explicitly specify the extension
to repair the installer build.
2023-09-14 10:09:03 -07:00
Alex Hoppen
1def748772 [build] Add swift-syntax/CodeGeneration to the unified SwiftPM workspace 2023-09-13 16:48:13 -07:00
Rintaro Ishizaki
466eb9a69a [build-script] Install 'earlyswiftsyntax' if 'install-swift' is off
Some build scenario (e.g. lldb) want swift-syntax libraries installed
but don't want to install "swift" compiler products.

Install 'earlyswiftsyntax' products independently when
'--install-swiftsyntax' is specified but '--install-swift' is NOT
specified.
2023-09-12 11:53:03 -07:00
Dave Abrahams
8e2b48b6b3 [gyb] Support -o with relative path (#67995)
Fixes a surprising bug where a relative output file path would be interpreted relative to the directory of the `.gyb` file being processed rather than the current working directory upon invocation.
2023-09-11 11:12:23 -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
Alex Hoppen
3780ccc357 [swift-syntax] Don’t pass --filecheck-exec to swift-syntax’s build script
swift-syntax no longer has lit tests, so the `--filecheck-exec` parameter isn’t needed anymore.
2023-09-06 16:43:34 -07:00
Michael Gottesman
01328417e8 [build] Remove intermediate pipeline so that we can guarantee that we always have a fresh swift-dispatch when running swift tests.
In the fullness of time, we want to split the full build-script-impl pipeline so
that we can begin moving library like products (libdispatch, foundation) from
build-script-impl into build-script. We are not there yet since some of swift's
concurrency tests have a dependency on swift dispatch being built. This breaks
the build and we need to extract those tests into a separate product. But for
now, this makes sense to repair the build.

rdar://89046735
2023-09-05 11:40:09 -07:00
Mishal Shah
53d2cf1b6f Update the swift-argument-parser to 1.2.3 for next 2023-09-01 10:34:43 -07:00
Mishal Shah
281a88324a Merge pull request #68020 from compnerd/statics
update_checkout: bump s-a-p to 1.2.3
2023-09-01 10:33:57 -07:00
Ben Barham
0988236065 Merge pull request #68082 from rintaro/swift-swift-linux
[CMake] Support Macros in Linux
2023-08-29 17:45:26 -07:00
Mishal Shah
806fb94294 Add time-tests to lit-args for toolchain bot preset 2023-08-28 22:46:39 -07:00
Rintaro Ishizaki
9017ef51ce [CMake] Update for review comments 2023-08-25 21:58:38 +00:00
Saleem Abdulrasool
b37316dfc6 Merge pull request #67961 from compnerd/rtl
build: adjust the paths for the runtime MSI packaging rules
2023-08-25 13:41:26 -07:00
Saleem Abdulrasool
abb0293ff5 Update build-windows-toolchain.bat 2023-08-24 15:52:14 -07:00
Rintaro Ishizaki
9c9010e5b7 [CMake] Support Macros in Linux
For compiling codes required for macro support, we now need swiftc
compiler in the build machine.

Unlike Darwin OSes, where swiftCore runtime is guaranteed to be present
in /usr/lib, Linux doesn't have ABI stability and the stdlib of the
build machine is not at the specific location. So the built compiler
cannot relies on the shared object in the toolchain.
2023-08-24 17:04:15 +00:00
Saleem Abdulrasool
ca748341a1 Add a workaround to capture the results. 2023-08-24 09:19:59 -07:00
Ziyang Huang
ee92649f15 Move swift-parser-cli to its own package 2023-08-25 00:01:13 +08:00
Ben Barham
8fbdae12fc [Build] Skip early-* on non-darwin hosts
These builds do not work outside of darwin currently. Rather than adding
the skip to all the necessary build presets, just disable in the product
instead.
2023-08-23 11:43:35 -07:00
Evan Wilde
0f0e68fc4c Merge pull request #68029 from etcwilde/ewilde/delete-backdeploy-concurrency
Delete backdeploy concurrency library
2023-08-23 09:03:09 -07:00
Dario Rexin
fb438e019b Merge pull request #68074 from bnbarham/disable-early-swift
[Presets] Disable early* on more Linux presets
2023-08-22 17:34:56 -07:00
Ben Barham
42683bc4af [Presets] Disable early* on more Linux presets
We don't handle building early swift-syntax on Linux yet. Disable it on
more failing presets.
2023-08-22 17:29:08 -07:00
Saleem Abdulrasool
e352e9ef18 Update build-windows-toolchain.bat
Update for the flavor name.
2023-08-22 09:56:53 -07:00
Mishal Shah
5ba4ce568b Merge pull request #68050 from compnerd/reset
utils: invoke `update-checkout` with `--reset-to-remote`
2023-08-21 16:46:07 -07:00
Saleem Abdulrasool
20b921a1b0 utils: invoke update-checkout with --reset-to-remote
This should hopefully prevent unstaged change errors in CI.
2023-08-21 13:48:24 -07:00
Evan Wilde
e54b18370d Delete backdeploy concurrency library
This library served its purpose and has overstayed its welcome.
The library shipped in Xcode can't change again from the state it was
in, so changes to the sources here will not affect that library, which
is confusing. The library does not currently build due to changes in the
runtime headers, so it does not give meaningful signal to anything
anymore. If you need to test things in a backdeploy concurrency
environment, use the copy from the toolchain in Xcode as that will give
you a far clearer picture of what the code will actually be running with
than the state of the sources here did.
2023-08-20 11:01:23 -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
Alex Hoppen
52f062d409 [Cleanup] Remove AttributeKinds.py
I forgot to remove this file in https://github.com/apple/swift/pull/67666
2023-08-17 16:49:29 -07:00
Saleem Abdulrasool
847157bb3e build: adjust the paths for the runtime MSI packaging rules
This is the build rules update to match
apple/swift-installer-scripts#224.
2023-08-16 15:36:55 -07:00
Pavel Yaskevich
b21e8426a0 [AST] NFC: Remove @runtimeMetadata related code 2023-08-15 12:16:40 -07:00
Kim de Vos
bd618f1d25 Merge pull request #66573 from kimdv/kimdv/migrate-swift-syntax-build-script-to-swift 2023-08-11 22:35:09 +02:00
Mishal Shah
0455f8d592 [main] Add support for release/5.9.0 scheme to update checkout 2023-08-09 21:33:47 -07:00
swift-ci
d614d29c36 Merge pull request #67666 from ahoppen/ahoppen/kill-syntax-support
[AST] Remove gyb_syntax_support
2023-08-08 10:38:30 -07:00
Saleem Abdulrasool
b325f2a64d Merge pull request #67654 from tristanlabelle/build-windows-toolchain-runtimemsi-path
Update path to runtime msi wixproj in the Windows build
2023-08-04 22:30:34 -07:00
Kim de Vos
e9b316eea0 Migrate swift-syntax build script to Swift 2023-08-04 22:14:25 +02:00
Mishal Shah
310105779b Add stable/20230725 to the rebranch alias 2023-08-04 08:29:23 -07:00
Tristan Labelle
2e09edf46f Fixed line endings? 2023-08-02 14:33:32 -04:00
Tristan Labelle
fc987cdf7c Refactor wix output paths 2023-08-02 14:29:12 -04:00