diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2020-02-05 15:47:01 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2020-02-17 12:21:28 +0100 |
| commit | 79c166ef73df00eac96aaeadcb326c972c22068c (patch) | |
| tree | 97f948841fc0aa8288c10d0a92c82594ba179ba3 /src/ci/scripts | |
| parent | 75b98fbe77d472d85d1691bae5b25e7eefb3609c (diff) | |
| download | rust-79c166ef73df00eac96aaeadcb326c972c22068c.tar.gz rust-79c166ef73df00eac96aaeadcb326c972c22068c.zip | |
ci: switch macOS builders to 10.15
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/install-clang.sh | 4 | ||||
| -rwxr-xr-x | src/ci/scripts/switch-xcode.sh | 13 |
2 files changed, 1 insertions, 16 deletions
diff --git a/src/ci/scripts/install-clang.sh b/src/ci/scripts/install-clang.sh index e16a4814197..c242f5d4562 100755 --- a/src/ci/scripts/install-clang.sh +++ b/src/ci/scripts/install-clang.sh @@ -19,9 +19,7 @@ if isMacOS; then # native clang is configured to use the correct path, but our custom one # doesn't. This sets the SDKROOT environment variable to the SDK so that # our own clang can figure out the correct include path on its own. - if ! [[ -d "/usr/include" ]]; then - ciCommandSetEnv SDKROOT "$(xcrun --sdk macosx --show-sdk-path)" - fi + ciCommandSetEnv SDKROOT "$(xcrun --sdk macosx --show-sdk-path)" # Configure `AR` specifically so rustbuild doesn't try to infer it as # `clang-ar` by accident. diff --git a/src/ci/scripts/switch-xcode.sh b/src/ci/scripts/switch-xcode.sh deleted file mode 100755 index 2cbb2ddbc70..00000000000 --- a/src/ci/scripts/switch-xcode.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# Switch to XCode 9.3 on OSX since it seems to be the last version that supports -# i686-apple-darwin. We'll eventually want to upgrade this and it will probably -# force us to drop i686-apple-darwin, but let's keep the wheels turning for now. - -set -euo pipefail -IFS=$'\n\t' - -source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" - -if isMacOS; then - sudo xcode-select --switch /Applications/Xcode_9.3.app -fi |
