Commit Graph

19 Commits

Author SHA1 Message Date
Dan Zheng
2e7e81e22a Make utils/build-toolchain compatible with Xcode new build system. (#29025)
Xcode's new build system requires the Version entry in Info.plist to have a
particular date-based format.

Toolchains built using utils/build-toolchain now work with Xcode's new build
system.
2020-01-06 16:05:38 -08:00
John Holdsworth
0a6de02fb9 Correct OS suffix for Linux 2019-01-03 18:33:03 +00:00
John Holdsworth
d5deefa744 Fix problem preventing new build system from using custom toolchains (#19509) 2018-10-04 10:55:59 -07:00
Mishal Shah
63c9cb930f Merge pull request #16992 from marcrasi/toolchain-results-in-current-directory
put build-toolchain results in directory that it is called from
2018-06-07 14:09:10 -07:00
Marc Rasi
7640a95dca put build-toolchain results in directory that it is called from 2018-06-04 23:36:21 +00:00
Michael Gottesman
971630b6fc Teach build-toolchain how to pass distcc down to build-script.
This just causes build-toolchain to pass --distcc to build-script.
2018-06-03 19:42:43 -07:00
Arnold Schwaighofer
269f8c1dd7 build-toolchain: Use the same behavior on macOS as we do on Linux
The default is to run no tests. If you want to run tests you need to pass -t (--test).
2018-03-22 09:41:36 -07:00
Arnold Schwaighofer
fa40f7ac4c Add a --no-test option to build-toolchain
Builds a toolchain without running tests on macos.
2018-03-22 08:59:50 -07:00
Dan Liew
046fb4128e Improve usability of build-toolchain script. (#14785)
This script improves several things:

* Previous it was incredilby easy to accidently mis-use the script. For
  example running `build-toolchain -n` would set `BUNDLE_PREFIX` to `-n`.
  The new implementation of command line argument parsing is less fragile
  and easier to extend.

* Provides `--help` (or `-h`) output.

* Prints the value of several environment variables before running
  `build-script`.

* Shows the invocation of `build-script`.

The accepted order of command line arguments has not changed to avoid
breaking existing users of the script.
2018-02-23 09:16:44 -08:00
Amr Aboelela
3550787f37 Added -t switch 2017-08-31 10:26:42 -07:00
Amr Aboelela
0c7d3e4fb3 In Linux setting SWIFT_PACKAGE=buildbot_linux,no_test as the test takes very long time 2017-08-31 00:05:42 -07:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
practicalswift
797b80765f [gardening] Use the correct base URL (https://swift.org) in references to the Swift website
Remove all references to the old non-TLS enabled base URL (http://swift.org)
2016-11-20 17:36:03 +01:00
Rintaro Ishizaki
552590eee6 [build-script] Introduce -n, --dry-run feature
If -n or --dry-run is specified in command line arguments, print the commands
that would be executed to stdout, but do not execute them.

Supported in build-script and build-toolchain.

utils/build-script -n -Rt
utils/build-script -n --preset=buildbot_incremental,tools=RA,stdlib=RA
utils/build-toolchain -n local.swift
2016-05-31 12:45:05 +09:00
Mishal Shah
9c5c5de889 [Toolchain] properties for ShortDisplayName and CreatedDate 2016-04-21 14:11:39 -07:00
practicalswift
6ed6b6671e [gardening] Use '#!/usr/bin/env bash' instead of '#!/bin/bash'
Before this commit:

```
$ git grep '#!/usr/bin/env bash' | wc -l
10
$ git grep '#!/bin/bash' | wc -l
1
```

After this commit:

```
$ git grep '#!/usr/bin/env bash' | wc -l
11
$ git grep '#!/bin/bash' | wc -l
0
```
2016-03-15 11:34:35 +01:00
John Holdsworth
abf2e67ed9 Fix #! typo 2016-03-14 23:07:15 +00:00
practicalswift
ff259d3709 [build] Remove unused variables. Improve error handling. 2016-03-11 07:22:47 +01:00
John Holdsworth
0a876fa424 Add script to build toolchain 2016-03-10 22:30:54 +00:00