mirror of https://github.com/rust-lang/rust.git
Rollup merge of #77239 - shepmaster:silicon-ci-plus, r=pietroalbini
Enable building Cargo for aarch64-apple-darwin r? @ghost
This commit is contained in:
commit
16612a9292
|
@ -306,7 +306,7 @@ jobs:
|
||||||
- name: dist-aarch64-apple
|
- name: dist-aarch64-apple
|
||||||
env:
|
env:
|
||||||
SCRIPT: "./x.py dist --stage 2"
|
SCRIPT: "./x.py dist --stage 2"
|
||||||
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --tools=rls,clippy,rustfmt,analysis,src"
|
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
|
||||||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
|
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
|
||||||
SELECT_XCODE: /Applications/Xcode_12_beta.app
|
SELECT_XCODE: /Applications/Xcode_12_beta.app
|
||||||
USE_XCODE_CLANG: 1
|
USE_XCODE_CLANG: 1
|
||||||
|
@ -314,6 +314,8 @@ jobs:
|
||||||
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
|
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
|
||||||
NO_LLVM_ASSERTIONS: 1
|
NO_LLVM_ASSERTIONS: 1
|
||||||
NO_DEBUG_ASSERTIONS: 1
|
NO_DEBUG_ASSERTIONS: 1
|
||||||
|
DIST_REQUIRE_ALL_TOOLS: 1
|
||||||
|
JEMALLOC_SYS_WITH_LG_PAGE: 14
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
- name: x86_64-msvc-1
|
- name: x86_64-msvc-1
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -2192,9 +2192,9 @@ checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "openssl-src"
|
name = "openssl-src"
|
||||||
version = "111.10.2+1.1.1g"
|
version = "111.12.0+1.1.1h"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a287fdb22e32b5b60624d4a5a7a02dbe82777f730ec0dbc42a0554326fef5a70"
|
checksum = "858a4132194f8570a7ee9eb8629e85b23cbc4565f2d4a162e87556e5956abf61"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cc",
|
"cc",
|
||||||
]
|
]
|
||||||
|
|
|
@ -469,11 +469,11 @@ jobs:
|
||||||
--build=x86_64-apple-darwin
|
--build=x86_64-apple-darwin
|
||||||
--host=aarch64-apple-darwin
|
--host=aarch64-apple-darwin
|
||||||
--target=aarch64-apple-darwin
|
--target=aarch64-apple-darwin
|
||||||
|
--enable-full-tools
|
||||||
--enable-sanitizers
|
--enable-sanitizers
|
||||||
--enable-profiler
|
--enable-profiler
|
||||||
--set rust.jemalloc
|
--set rust.jemalloc
|
||||||
--set llvm.ninja=false
|
--set llvm.ninja=false
|
||||||
--tools=rls,clippy,rustfmt,analysis,src
|
|
||||||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
|
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
|
||||||
SELECT_XCODE: /Applications/Xcode_12_beta.app
|
SELECT_XCODE: /Applications/Xcode_12_beta.app
|
||||||
USE_XCODE_CLANG: 1
|
USE_XCODE_CLANG: 1
|
||||||
|
@ -481,12 +481,15 @@ jobs:
|
||||||
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
|
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
|
||||||
NO_LLVM_ASSERTIONS: 1
|
NO_LLVM_ASSERTIONS: 1
|
||||||
NO_DEBUG_ASSERTIONS: 1
|
NO_DEBUG_ASSERTIONS: 1
|
||||||
# TODO: Cargo is disabled until OpenSSL 1.1.1 can be
|
DIST_REQUIRE_ALL_TOOLS: 1
|
||||||
# compiled for aarch64-apple-darwin::
|
# Corresponds to 16K page size
|
||||||
# https://github.com/openssl/openssl/pull/12369. Once
|
#
|
||||||
# fixed, remove `--tools`, add back
|
# Shouldn't be needed if jemalloc-sys is updated to
|
||||||
# `--enable-full-tools`, and enable this again
|
# handle this platform like iOS or if we build on
|
||||||
# DIST_REQUIRE_ALL_TOOLS: 1
|
# aarch64-apple-darwin itself.
|
||||||
|
#
|
||||||
|
# https://github.com/gnzlbg/jemallocator/blob/c27a859e98e3cb790dc269773d9da71a1e918458/jemalloc-sys/build.rs#L237
|
||||||
|
JEMALLOC_SYS_WITH_LG_PAGE: 14
|
||||||
<<: *job-macos-xl
|
<<: *job-macos-xl
|
||||||
|
|
||||||
######################
|
######################
|
||||||
|
|
|
@ -57,7 +57,7 @@ Specifically, these platforms are required to have each of the following:
|
||||||
|
|
||||||
target | std | host | notes
|
target | std | host | notes
|
||||||
-------|-----|------|-------
|
-------|-----|------|-------
|
||||||
`aarch64-apple-darwin` | ✓ | | ARM64 macOS (11.0+, Big Sur+)
|
`aarch64-apple-darwin` | ✓ | ✓ | ARM64 macOS (11.0+, Big Sur+)
|
||||||
`aarch64-apple-ios` | ✓ | | ARM64 iOS
|
`aarch64-apple-ios` | ✓ | | ARM64 iOS
|
||||||
`aarch64-fuchsia` | ✓ | | ARM64 Fuchsia
|
`aarch64-fuchsia` | ✓ | | ARM64 Fuchsia
|
||||||
`aarch64-linux-android` | ✓ | | ARM64 Android
|
`aarch64-linux-android` | ✓ | | ARM64 Android
|
||||||
|
|
Loading…
Reference in New Issue