-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-crossArea: Cross compilationArea: Cross compilationT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
I don't have Rosetta 2 enabled so I ran into a bit of confusion trying to run some codegen tests on an M1 MacBook.
Looking at the LLVM binaries that were downloaded, FileCheck
seems to be the odd one out:
$ file build/aarch64-apple-darwin/ci-llvm/bin/*
build/aarch64-apple-darwin/ci-llvm/bin/FileCheck: Mach-O 64-bit executable x86_64
build/aarch64-apple-darwin/ci-llvm/bin/lld: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-ar: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-bcanalyzer: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-config: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-cov: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-dwp: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-nm: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-objdump: Mach-O 64-bit executable arm64
build/aarch64-apple-darwin/ci-llvm/bin/llvm-profdata: Mach-O 64-bit executable arm64
Building LLVM locally definitely generates the right version, compare:
$ file ./aarch64-apple-darwin/{ci-,}llvm/bin/FileCheck
./aarch64-apple-darwin/ci-llvm/bin/FileCheck: Mach-O 64-bit executable x86_64
./aarch64-apple-darwin/llvm/bin/FileCheck: Mach-O 64-bit executable arm64
Metadata
Metadata
Assignees
Labels
A-crossArea: Cross compilationArea: Cross compilationT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)