[all-commits] [llvm/llvm-project] 050ed9: [cmake] configure the host triple on an Apple Sili...
Alex Lorenz via All-commits
all-commits at lists.llvm.org
Tue Jun 23 21:09:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 050ed9720f84343d859c530b8b692eb6141e6a63
https://github.com/llvm/llvm-project/commit/050ed9720f84343d859c530b8b692eb6141e6a63
Author: Alex Lorenz <arphaman at gmail.com>
Date: 2020-06-23 (Tue, 23 Jun 2020)
Changed paths:
M llvm/cmake/config.guess
Log Message:
-----------
[cmake] configure the host triple on an Apple Silicon machine correctly
The cmake build of LLVM now uses the appropriate arm64 arch for the
host triple when building llvm-project on an Apple Silicon mac.
Differential Revision: https://reviews.llvm.org/D82428
Commit: 565603cc94d79a8d0de6df840fd53714899fb890
https://github.com/llvm/llvm-project/commit/565603cc94d79a8d0de6df840fd53714899fb890
Author: Alex Lorenz <arphaman at gmail.com>
Date: 2020-06-23 (Tue, 23 Jun 2020)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
A clang/test/Driver/apple-arm64-arch.c
A clang/test/Driver/apple-silicon-arch.c
M clang/test/lit.cfg.py
Log Message:
-----------
[clang][driver] set macOS as the target OS for -arch arm64 when clang
is running on an Apple Silicon mac
This change allows users to use `-arch arm64` to build for mac when
running it on Apple Silicon mac without explicit `-target` option.
Differential Revision: https://reviews.llvm.org/D82428
Compare: https://github.com/llvm/llvm-project/compare/60f914e5b191...565603cc94d7
More information about the All-commits
mailing list