go-bootstrap: improve error message for Monterey (#31800)

Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>
This commit is contained in:
Seth R. Johnson 2022-11-10 20:22:37 -05:00 committed by GitHub
parent c3e9aeeed0
commit b9f69a8dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,11 @@ class GoBootstrap(Package):
depends_on("git", type=("build", "link", "run"))
conflicts("os=monterey", msg="go-bootstrap won't build on new macOS")
conflicts(
"os=monterey",
msg="go-bootstrap won't build on MacOS Monterey: "
"try `brew install go` and `spack external find go`",
)
conflicts("target=aarch64:", msg="Go bootstrap doesn't support aarch64 architectures")
# This virtual package allows a fallback to gccgo for aarch64,