[all-commits] [llvm/llvm-project] ee8090: [compiler-rt] Fix check for cross-compiling
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Thu Aug 18 13:31:03 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee80903a2ceb03f4617550eba55881f7b80ebb8e
https://github.com/llvm/llvm-project/commit/ee80903a2ceb03f4617550eba55881f7b80ebb8e
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2022-08-18 (Thu, 18 Aug 2022)
Changed paths:
M compiler-rt/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Fix check for cross-compiling
When checking if we are cross-compiling, use `CMAKE_HOST_SYSTEM_NAME`
rather than `CMAKE_HOST_SYSTEM` which seems to have the full version
number attached.
Reviewed By: smeenai
Differential Revision: https://reviews.llvm.org/D132130
More information about the All-commits
mailing list