Commit Graph

29 Commits

Author SHA1 Message Date
Mishal Shah
b8eca81462 Update the swift-5.1-branch-04-24-2019 scheme for swift-syntax 2019-05-21 17:52:14 -07:00
Daniel Rodríguez Troitiño
b3d6214b6c Merge pull request #23673 from drodriguez/update-checkout-env-windows
[update-checkout] Don't use env for portability.
2019-05-07 12:16:12 -07:00
Mishal Shah
3f897d6cdf Add support for swift-5.1-branch-04-24-2019 branch 2019-04-24 13:58:04 -07:00
Mishal Shah
38d9b0eb13 Update the swift-5.1-branch scheme to use swift-5.1-branch 2019-04-18 16:13:29 -07:00
Daniel Rodríguez Troitiño
8c721dee4c [update-checkout] Don't use env for portability.
env is not portable in systems that do not have env, like for example Windows. However, passing the environment is supported by shell.run using the env parameter, which should be portable.

For some reason shell.run doesn't merge the environment with the current environment by default, so we do it externally to not modify other possible usages of the function.
2019-03-29 16:29:00 -07:00
Mishal Shah
fbee701c89 [Update checkout] Add scheme for swift-5.1-branch-03-18-2019 2019-03-18 14:48:57 -07:00
Maxim Moiseev
8f1c70c7d7 Use env for portability 2019-02-14 14:40:26 -08:00
Maxim Moiseev
1294098d70 Don't prompt for credentials in update_checkout
The script is not supposed to be interactive, so it's OK to just fail if
it's unable to authenticate the user.
2019-02-14 13:01:48 -08:00
Mishal Shah
047e1e6e97 Update lldb to use swift-5.1-branch for 5.1 config 2019-02-13 11:38:42 -08:00
Bob Wilson
5ce1aa88dc [update-checkout] Add new branch configs for Swift 5.1
Add a tentative branch config for "swift-5.1-branch". Not all of the repos
are branched yet. I went ahead and added a reference to swift-5.1-branch for
the Swift repo, so that I can use this to start pulling together something
with cherry-picks from master-next. (The current master-next branch has
moved past the point where we branched the LLVM repos for swift-5.1-branch,
so we can't just grab a copy of master-next.) I also added a separate config
for "swift-5.1-old-llvm-branch", which will be used temporarily to track the
same Swift content as swift-5.1-branch but still building with the version
of LLVM in swift-5.0-branch.
2019-02-07 14:19:56 -08:00
Ben Langmuir
601783af74 [update-checkout] Add indexstore-db and sourcekit-lsp
All schemes currently use the master branch.
2019-01-09 15:31:17 -08:00
Mishal Shah
7df7359d8f [update-checkout] Add support to clone libcxx and clang-tools-extra for master, master-next and swift-5.0-branch scheme 2018-12-17 15:28:43 -08:00
Pavol Vaskovic
53cd115b0e [Gardening] Fix W291 trailing whitespace 2018-11-28 16:57:23 +01:00
Mishal Shah
bae265e308 Revert "Revert "[build-script] Update build-script to support building and installing the SourceKit stress tester"" 2018-11-12 11:08:36 -08:00
Mishal Shah
e7d501c2bd Revert "[build-script] Update build-script to support building and installing the SourceKit stress tester" 2018-11-11 17:49:35 -08:00
Nathan Hawes
506307c626 [build-script] Update build-script with a new --skstresstester flag to support building and installing the SourceKit stress tester
This makes use of a helper script in the stress tester repo to do the actual
build and install: https://github.com/apple/swift-stress-tester/blob/master/SourceKitStressTester/Utilities/build-script-helper.py
2018-11-07 09:14:39 -08:00
Mishal Shah
ecebc6b206 Update swift-syntax branch to swift-5.0-branch 2018-11-05 17:57:47 -08:00
Mishal Shah
22368d52e9 Update branches in swift-5.0-branch scheme 2018-11-05 17:50:54 -08:00
Simon Evans
cb32792e76 update_checkout.py: Add support for tags and optional repositories.
- Update --reset-to-remote to support tags.

- Add optional platform entry to a repository. This allows specifying
  which platforms a repo should be checked out on.
2018-11-02 17:37:12 +00:00
Simon Evans
3b2ebeecf4 SR-8876: Always build libicu on Linux
- Uses version 61.1 from ICU Github unicode-org/icu repository.

- Updates mixin_linux_installation to add libicu option.

- Use -j when building libicu.

- When buiding ICU, use --with-library-suffix=swift
  This suffixes the ICU symbols with _swift.

  The libaries are now named libicuucswift, libicui18nswift
  and libicudataswift.

- Add the contents of uconfig.h.prepend into uconfig.h. This avoids
  passing the renaming CFLAGS to swift and swift-corelibs-foundation.

Also resolves:

SR-5618: libicu compilation should happen in parallel respecting -j.
2018-11-02 17:37:12 +00:00
Mishal Shah
8df2419476 Update swift 5.0 branches for Clang/LLVM/Compiler-rt 2018-10-15 14:42:56 -07:00
Alex Hoppen
8a6030b96b Add build-script infrastructure to build swiftSyntax in its own repository 2018-08-30 11:46:22 -07:00
Bob Wilson
e23c681142 Merge pull request #18582 from bob-wilson/cleanup-checkout-configs
[update-checkout] Remove some old configs that are no longer used.
2018-08-08 21:42:49 -07:00
Bob Wilson
312bdb2032 [update-checkout] Remove some old configs that are no longer used.
The checkout configs included some old dated branches that are no longer
used. They are unlikely to work well anyway because the corresponding
Clang/LLVM branches moved forward independently. Remove those config entries.
Also re-order the 4.0 and 4.1 configs to be consistent.
2018-08-08 17:01:29 -07:00
Bob Wilson
376a9bf5c3 Revert "Temporarily change to build master-next against swift-5.0-branch of LLVM"
This reverts commit 563292998b.
2018-08-06 22:28:50 -07:00
Mishal Shah
14dcf0a125 Update LLDB branch for swift-5.0-branch 2018-07-31 16:29:52 -07:00
Mishal Shah
6a0f578000 Update update-checkout config for swift-5.0-branch 2018-07-30 23:57:28 -07:00
Mishal Shah
1bf02e7749 Update swift-5.0-branch to match new qualification 2018-07-30 23:07:06 -07:00
Michael Gottesman
0b8381ae78 [update-checkout] Move all files except the top level entrypoints into ./utils/update_checkout/*.
This makes update_checkout into a true python module that we can add nosetests
for, readme, and also split up without issue into multiple small files.

I also added a small stub test directory and support for running tests for
update_checkout during validation-testing. So once we add some tests, everything
is setup correctly in terms of the swift build for testing purposes.
2018-07-26 10:07:18 -07:00