-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only use apple-m1 target for macos #354
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ if buildkite-agent meta-data exists BUILDKITE_JULIA_BRANCH; then | |
fi | ||
|
||
# Determine JULIA_CPU_TARGETS for different architectures | ||
JUlIA_CPU_TARGETS=() | ||
JULIA_CPU_TARGETS=() | ||
case "${ARCH?}" in | ||
x86_64) | ||
JULIA_CPU_TARGETS+=( | ||
|
@@ -54,20 +54,30 @@ case "${ARCH?}" in | |
) | ||
;; | ||
aarch64) | ||
JULIA_CPU_TARGETS+=( | ||
# Absolute base aarch64 feature set | ||
"generic" | ||
# Cortex A57, Example: NVIDIA Jetson TX1, Jetson Nano | ||
"cortex-a57" | ||
# Cavium ThunderX2T99, a common server architecture | ||
"thunderx2t99" | ||
# NVidia Carmel, e.g. Jetson AGX Xavier; serves as a baseline for later architectures | ||
"carmel,clone_all" | ||
# Apple M1 | ||
"apple-m1,base(3)" | ||
# Vector-length-agnostic common denominator between Neoverse V1 and V2, recent Arm server architectures | ||
"neoverse-512tvb,base(3)" | ||
) | ||
case "${OS?}" in | ||
macos) | ||
JULIA_CPU_TARGETS+=( | ||
# Absolute base aarch64 feature set | ||
"generic" | ||
# Apple M1 | ||
"apple-m1,base(3)" | ||
) | ||
;; | ||
*) | ||
JULIA_CPU_TARGETS+=( | ||
# Absolute base aarch64 feature set | ||
"generic" | ||
# Cortex A57, Example: NVIDIA Jetson TX1, Jetson Nano | ||
"cortex-a57" | ||
# Cavium ThunderX2T99, a common server architecture | ||
"thunderx2t99" | ||
# NVidia Carmel, e.g. Jetson AGX Xavier; serves as a baseline for later architectures | ||
"carmel,clone_all" | ||
# Vector-length-agnostic common denominator between Neoverse V1 and V2, recent Arm server architectures | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not apple-m1? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah-sorry (asahi), I forgot about using other OSs on macs There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I haven't checked carefully, but it may also be usable by Neoverse (since the |
||
"neoverse-512tvb,base(3)" | ||
) | ||
;; | ||
esac | ||
;; | ||
powerpc64le) | ||
JULIA_CPU_TARGETS+=( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How was this not failing??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because
bash
doesn't have problems with+=
for an undefined variable. I don't know if there's a mode to turn that into an error,set -u
doesn't seem to help here.