Commit Graph

80 Commits

Author SHA1 Message Date
Mishal Shah
e4aa8a90a4 [Checkout] Update checkout scheme for release/5.3 2020-04-08 16:50:55 -07:00
Dario Rexin
964de289a7 Update cmake version to 3.16.5
3.15.1 contains a bug that causes libraries that use the CMake Swift module to be built with -Onone, even in release mode.
2020-03-31 18:42:53 -07:00
Ron Olson
629fc8d944 Modification to allow checking out subprojects with Python 2 and 3. 2020-03-26 15:36:54 -05:00
Valeriy Van
f3655ad27a Fixes usage description of update_checkout.py 2020-03-16 17:35:46 +01:00
Mishal Shah
928f8292c0 [update-checkout] Fix missing config for pythonkit and tensorflow-swift-apis on master-next scheme 2020-03-06 12:10:45 -08:00
Saleem Abdulrasool
9b332a3a35 build: add an option to optionally build tensorflow-swift-apis
Now that the autodifferentiation support is being upstreamed, add an
option to enable building the TensorFlow swift-apis package optionally.
This enables easier development cycles for the engineers working on it.
2020-02-13 13:21:30 -08:00
Ross Bayer
e793fcf052 [Build System: build-script] Moved SWIFT_SOURCE_ROOT, SWIFT_BUILD_ROOT and SWIFT_REPO_NAME along with other project path constants into a new build_swift.constants module. 2020-02-11 12:46:03 -08:00
Saleem Abdulrasool
cad0c7ae21 build: add support for optionally building PythonKit
This adds support for building PythonKit as a package as part of the
toolchain build.
2020-01-24 11:17:41 -08:00
Ross Bayer
83bfc69ea3 [Build System: update-checkout] Added a new run_test.py script to utils/update_checkout which is used to run the validation test. 2020-01-19 01:32:47 -08:00
Ross Bayer
1d088fc231 [Build System: update-checkout] Move the run_parallel and check_parallel_results functions from swift_build_support into update_checkout which is the only caller. 2020-01-17 00:20:18 -08:00
Mishal Shah
9eca6153d6 [Update Checkout] Add master-rebranch scheme 2020-01-09 13:43:05 -08:00
futurejones
d785691480 change cmark repo to swift-5.1-branch 2020-01-07 22:49:36 +09:00
Mishal Shah
a106071a50 [Update Checkout] Add support for swift-5.2-branch 2019-12-09 11:01:13 -08:00
David Hart
087d38d439 Added swift-tools-support-core to update-checkout 2019-12-06 08:45:48 +01:00
Mishal Shah
332d4e2fad [Update Checkout] Remove import errno 2019-11-17 10:33:53 -08:00
Mishal Shah
5c53756ef6 [update-checkout] Remove the symlink from update-checkout because we are using llvm projects directly 2019-11-16 12:16:28 -08:00
Simon Evans
f67510277f ICU: Update to version 65.1 on Linux 2019-10-29 20:04:16 +00:00
Daniel Rodríguez Troitiño
3b9ca00684 Merge pull request #27785 from drodriguez/windows-update-checkout-symlink
[windows] Provide a symlink alternative for Windows.
2019-10-21 15:12:42 -07:00
Daniel Rodríguez Troitiño
ce1382ce44 [windows] Provide a symlink alternative for Windows.
Python 2.7 in Windows do not have os.symlink. Provide one by using Win32
API, and try to match the behaviour that seems to be implied by the Unix
implementation (meaning, the destination is removed before the symlink
is created).
2019-10-21 10:14:49 -07:00
Alex Hoppen
0086eb05af Merge pull request #27798 from ahoppen/swift-format-to-schemes
[update-checkout] Add swift-format branches to checkout schemes
2019-10-20 17:46:39 -07:00
Ben Rimmington
493f73e083 [update-checkout] Add import errno 2019-10-20 15:33:02 +01:00
Ben Rimmington
dc4cbd051f [update-checkout] Replace 17 with errno.EEXIST
Follow-up to apple/swift#27791
2019-10-20 15:25:25 +01:00
Alex Hoppen
c1cb8eead1 [update-checkout] Error message if monorepo symlinks cannot be created 2019-10-19 08:30:20 -07:00
Alex Hoppen
4400ed52c0 [update-checkout] Add swift-formats branches to checkout schemes 2019-10-19 08:22:14 -07:00
Mishal Shah
bdf8cf73e4 [LLVM Project] Symlink clang, llvm, compiler-rt, clang-tools-extra, and libcxx 2019-10-17 16:46:50 -07:00
Mishal Shah
1f88ab68a0 [LLVM Project] Update the update-checkout config to support 2019-10-17 16:09:17 -07:00
Mishal Shah
ce61fe69e9 Update the llvm project to use llvm-project-v3 2019-10-11 15:53:26 -07:00
Varun Gandhi
8f55e4274f Merge pull request #27538 from varungandhi-apple/vg-update-update-checkout
Remove special case for swift-ci in update-checkout.
2019-10-08 10:37:26 -07:00
Mishal Shah
18f2b97641 Update alias for LLVM Project to support swift/master 2019-10-07 17:50:46 -07:00
Varun Gandhi
76aeffc06d Remove special case for swift-ci in update-checkout. 2019-10-04 14:32:13 -07:00
Jonas Devlieghere
e621be09cc [update-checkout] Update master-20190619 2019-10-03 11:11:15 -07:00
Cyndy Ishida
357b7427ed [update-checkout] remove master-rebranch 2019-10-03 10:54:17 -07:00
Mishal Shah
882d9ef77b Update master-rebranch config for swift-integration-tests repo 2019-09-30 10:47:57 -07:00
Saleem Abdulrasool
039f67be14 utils: bump to CMake 3.15.1
CMake 3.15.3 is the current stable release.  Update to 3.15.1 as CMake usually
has bug fixes in the first release.
2019-09-17 11:40:38 -07:00
Mishal Shah
7aad090925 Update the LLVM Project repo to v2 2019-08-29 16:56:51 -07:00
Jonas Devlieghere
d13842b28f Update LLDB branch for master-rebranch 2019-08-19 16:55:28 -07:00
mishal_shah
8a9af4905f [Update Checkout] Update the branch name to master-rebranch 2019-08-07 14:58:28 -07:00
Mishal Shah
f482f648c4 [update-checkout] Add support for apple/stable/20190619 branch 2019-08-06 21:12:31 -07:00
Saleem Abdulrasool
c072c18d6c Merge pull request #26301 from compnerd/checkout-cmake
utils: add CMake to Linux checkout
2019-07-29 14:00:38 -07:00
Saleem Abdulrasool
484a46e369 utils: add CMake to Linux checkout
In order to prepare for a migration to CMake 3.15 to enable the use of
the new Swift support, we will add a build of CMake for Linux to ease
the transition.  This adds CMake to the checkout on Linux.
2019-07-23 10:58:01 -07:00
Mishal Shah
c08b62a816 [Update Check] Add support for swift-format 2019-07-22 14:43:32 -07:00
mishal_shah
1b4b7f9e17 [update-checkout] Add support for LLVM-Project mono repo by creating symlink 2019-07-16 22:32:09 -07:00
Michael Gottesman
22148e3a9a [update-checkout] Fix --dump-hashes for my changes around adding support for specifying the source root from update-checkout itself.
With a test to make sure I don't break it again!
2019-06-25 21:33:05 -07:00
Michael Gottesman
a9d384dac3 [update-checkout] Add a simple mock update-checkout test that makes sure that we can clone.
This commit is not meant to completely test update-checkout, but rather create
some scaffolding for testing update-checkout so we can create starter bugs to
fill out the rest of the functionality. Once we have enough testing in place, we
can start refactoring/simplifying update-checkout.

Design
------

This is just a standard python unittest test suite except that the tests expect
an environment variable (UPDATECHECKOUT_TEST_WORKSPACE_DIR) to be set that
specifies the directory that the unittests have for creating mock git repos
during setup/teardown. lit invokes the test by calling the unittests with the
environment variable set to the appropriate temporary directory.

In this temporary directory, each test creates a pristine set of "fake" remote
repos and a test-config.json file that can be passed to update-checkout to work
with these "fake" remote repos. This allows each test that we write to test
various update-checkout functionalities against a pristime set of git repos. I
choose the git clone test, just b/c it was really simple.

NOTE: One can also run the tests locally using the script
test_update_checkout.sh that uses /tmp/workspace as the workspace directory.
2019-06-21 18:25:08 -07:00
Michael Gottesman
e8ad3201f6 [update-checkout] Allow the source root to be passed in instead of hard coding to SWIFT_SOURCE_ROOT.
This enables mocking testing to work (otherwise we would create repos in
SWIFT_SOURCE_ROOT). SWIFT_SOURCE_ROOT is the default value so nothing changes
unless one specifies the argument explicitly.
2019-06-21 18:13:40 -07:00
mishal_shah
5832743c5c [Update Checkout] Print sorted repo list 2019-06-21 16:04:44 -07:00
mishal_shah
f5963923de [Update Checkout] Print hashes at the end of the successful clone/update.
- Support dump-hashes with skipped repos
- Remove duplicated code from dump hashes
2019-06-21 11:53:59 -07:00
Mishal Shah
27712eb857 Update update-checkout config to support swift-5.1-branch-06-12-2019 2019-06-12 22:22:47 -07:00
Michael Gottesman
26918a816e [update-checkout] Update stdlib_standalone preset for the snapshot released last night. 2019-06-07 07:37:32 -07:00
Michael Gottesman
9e8c0d0abf Add a update-checkout scheme for people to test out stdlib_standalone. 2019-06-06 15:07:17 -07:00