Mishal Shah
9757ccfc45
Bump the Swift version to 5.9 ( #63014 )
2023-01-13 16:03:25 -08:00
Robert Widmann
60952b868d
Merge pull request #62659 from AnthonyLatsis/xcode-skip-swift-syntax
2022-12-22 11:37:19 -07:00
Saleem Abdulrasool
53e4d03156
Merge pull request #62510 from buttaface/ar
...
Install llvm-ar in the toolchain
2022-12-18 09:14:35 -08:00
Anthony Latsis
1d3b70d66c
build: Make --xcode imply --skip-early-swiftsyntax
...
One can use the package file in the swift-syntax repo for this
2022-12-17 20:00:59 +03:00
Butta
9c1af18d0e
Install llvm-ar in the toolchain
...
A recent SPM change made it mandatory for there to be an archiver in the
toolchain/PATH, apple/swift-package-manager#5761 , so make sure llvm-ar is
bundled in the toolchain.
2022-12-15 23:10:54 +05:30
Alex Hoppen
a1a0cadb56
[build] Verify that SwiftSyntax is correctly formatted
...
In SwiftSyntax and swift-format, run swift-format on SwiftSyntax to make sure it’s correctly formatted.
2022-12-14 23:14:46 +01:00
Dario Rexin
55c0084b9e
[Build] Use llvm-cmake-flags in llvm build-script product
...
rdar://102476062
2022-11-17 10:56:57 -08:00
Dario Rexin
f63de71001
Merge pull request #38507 from drexin/wip-llvm-build-script
...
[Build] Make LLVM a build-script product
2022-11-16 20:44:13 -08:00
Anthony Latsis
f00cffe233
build-script: Make --xcode imply --skip-build --skip-early-swift-driver
2022-11-06 03:36:17 +03:00
Robert Widmann
2d07f382c5
Delete _InternalSwiftSyntaxParser And Its Build Infrastructure
...
This is the start of the removal of the C++ implementation of libSyntax
in favor of the new Swift Parser and Swift Syntax libraries. Now that
the Swift Parser has switched the SwiftSyntaxParser library over to
being a thin wrapper around the Swift Parser, there is no longer any
reason we need to retain any libSyntax infrastructure in the swift
compiler.
As a first step, delete the infrastructure that builds
lib_InternalSwiftSyntaxParser and convert any scripts that mention
it to instead mention the static mirror libraries. The --swiftsyntax
build-script flag has been retained and will now just execute the
SwiftSyntax and Swift Parser builds with the just-built tools.
2022-11-02 10:35:29 -07:00
Dario Rexin
3f80cb6712
[Build] Make LLVM a build-script product
...
rdar://80733826
2022-10-30 22:47:29 -07:00
Alex Hoppen
ca09204667
Merge pull request #61516 from ahoppen/ahoppen/swift-format-ci
...
Build swift-format as part of CI testing and install it into open source toolchains
2022-10-28 14:33:38 +02:00
Alex Hoppen
4512cb0981
Build swift-format as part of CI testing
...
Build swift-format whenever SwiftSyntax is being built and install it whenever sourcekit-lsp is installed.
2022-10-27 09:24:36 +02:00
Alex Hoppen
19750aa27e
Add swift-syntax examples to unified SwiftPM workspace
2022-10-22 16:22:19 +02:00
Max Desiatov
c7f348fabc
utils: Python 3 is required, avoid using old Python ( #61525 )
...
On both macOS and Linux `python` is not symlinked to `python3` by default. To avoid confusion, we should update our documentation that instructs users to run scripts with `python` to use `python3` instead.
2022-10-11 00:06:36 +01:00
Doug Gregor
ca2b39387f
Default to building the early SwiftSyntax package.
...
One can disable this with `build-script --skip-early-swiftsyntax`.
2022-09-20 15:22:07 -07:00
Doug Gregor
2b5f9015f1
Revert "Default to building the early SwiftSyntax package."
2022-09-20 11:49:22 -07:00
Allan Shortlidge
238270f34c
Merge pull request #42458 from jsoref/spelling-utils
...
Spelling utils
2022-09-20 09:34:55 -07:00
Doug Gregor
de35614428
Default to building the early SwiftSyntax package.
...
One can disable this with `build-script --skip-early-swiftsyntax`.
2022-09-18 14:33:28 -07:00
Josh Soref
546044358f
spelling: utility
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
50e9ae3ea3
spelling: unsupported
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
c81cad6537
spelling: predefined
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
667aba0e00
spelling: overridden
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
8aa2a9992e
spelling: option
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
6c79195119
spelling: nonsensical
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
ca76e2c101
spelling: migrate
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
aaf1ddc101
spelling: inherits
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
dd47c3b91d
spelling: includes
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
658f441f4a
spelling: heuristic
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
01bde495ef
spelling: forwarded
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
062f196339
spelling: display
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:37 -04:00
Josh Soref
3d1e901354
spelling: definitions
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:36 -04:00
Josh Soref
33f29066e5
spelling: actions
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-09-15 19:43:36 -04:00
Hamish Knight
cfda4b1764
[build-script] Allow specifying the number of lit workers
...
Allow tests to run with a different number of
workers than build jobs if desired.
2022-09-14 14:01:49 +01:00
Doug Gregor
98e50258b8
Merge pull request #60814 from DougGregor/build-early-swiftsyntax
...
[build-script] Support building "early" SwiftSyntax via `--early-swiftsyntax`
2022-08-27 23:01:25 -07:00
Doug Gregor
e771660526
[build-script] Support building "early" SwiftSyntax via --early-swiftsyntax
...
Similar to the way the early Swift Driver is built, introduce a
build-script option `--early-swiftsyntax` that uses the host Swift and
CMake to build the parts of the swift-syntax package that are expected
to become be used in the compiler.
Note that this does not obviate the need for the `--swiftsyntax`
option, because that build product uses the just-built Swift compiler
and SwiftPM to build, test, and install everything from the
swift-syntax package.
2022-08-27 00:06:09 -07:00
YOCKOW
c1e154a9cb
[Gardening] Remove trailing whitespaces in Python scripts. (W291)
...
That has been marked as 'FIXME' for three years.
This commit fixes it.
2022-08-25 16:08:36 +09:00
Eric Miotto
67b23d7d45
Merge pull request #60664 from edymtt/infer-cross-compile-hosts-on-darwin
...
Add a flag to infer appropriate cross compile hosts on Darwin
2022-08-23 07:04:36 -07:00
Eric Miotto
c954130be0
Add a flag to infer appropriate cross compile hosts on Darwin
...
Addresses rdar://98787335, apple#60348
2022-08-22 09:37:52 -07:00
YOCKOW
d10381557b
[NFC] Python Lint: Fix E275(missing whitespace after keyword) issues.
2022-08-21 16:07:07 +09:00
Alex Hoppen
059128feca
Build indexstore-db and sourcekit-lsp in a unified build
2022-08-05 19:04:02 +02:00
Mishal Shah
b41c31397e
Remove test_ios_32bit_simulator from expected options
2022-08-03 00:58:39 -07:00
Mishal Shah
196ee143c5
Xcode 14 beta 4 no longer supports iOS armv7, armv7s, and i386 architectures
...
> Building iOS projects with deployment targets for the armv7, armv7s, and i386 architectures is no longer supported. (92831716)
2022-08-02 20:42:08 -07:00
Mishal Shah
d5ff3960f4
Disable running watchOS simulator (32-bit) test by default
2022-06-16 00:36:21 -07:00
Alex Hoppen
e2012dddf3
Merge pull request #41314 from ahoppen/pr/build-lld
...
[build-script] Add option to build lld as part of LLVM
2022-05-25 07:58:54 +02:00
swift-ci
415c5c133d
Merge pull request #41905 from cabmeurer/cabmeurer/add-snake_case-to-CXXMethodBridging
...
[cxx-interop] Add snake_case to CXXMethodBridging
2022-05-16 19:56:48 -07:00
Caleb Meurer
7d50071c32
[cxx-interop] Fix typo unkwon -> unknown
2022-05-16 16:46:45 -06:00
Mishal Shah
f4a1dac792
Bump the Swift version to 5.8 ( #58931 )
...
* Bump the Swift version to 5.8
2022-05-16 09:17:38 -07:00
Eric Miotto
ed696240cf
Use collections.abc.Iterable instead of collection.Iterable
...
The latter is no longer present in Python 3.10+.
Addresses #58714
2022-05-06 10:00:28 -07:00
Daniel Duan
3dfc40898c
[NFC] Remove Python 2 imports from __future__ ( #42086 )
...
The `__future__` we relied on is now, where the 3 specific things are
all included [since Python 3.0](https://docs.python.org/3/library/__future__.html ):
* absolute_import
* print_function
* unicode_literals
* division
These import statements are no-ops and are no longer necessary.
2022-04-13 14:01:30 -07:00