This patch allows a user to compile for the arm64-apple-macos target when invoking a clang running on an Apple Silicon machine by passing -arch arm64 only.
Details
Details
- Reviewers
steven_wu dexonsmith - Commits
- rG927d93379271: [cmake] configure the host triple on an Apple Silicon machine correctly
rG8ce5b6b2112c: [clang][driver] set macOS as the target OS for -arch arm64 when clang is…
rG565603cc94d7: [clang][driver] set macOS as the target OS for -arch arm64 when clang is…
rG050ed9720f84: [cmake] configure the host triple on an Apple Silicon machine correctly
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
Not sure if it makes more sense to break the patch into two commits:
- config.guess change is for building the correct host triple on apple silicon machine without explicitly specify it.
- the driver change is for better default on Apple silicon Mac.