[all-commits] [llvm/llvm-project] 5664b5: [CMake][Z3]Don't attempt to compile / run if cross...
Zhang via All-commits
all-commits at lists.llvm.org
Fri Sep 15 03:57:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5664b56043f1f6a838183e74275bfee389fea177
https://github.com/llvm/llvm-project/commit/5664b56043f1f6a838183e74275bfee389fea177
Author: Zhang <5205699+Naville at users.noreply.github.com>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M llvm/cmake/modules/FindZ3.cmake
Log Message:
-----------
[CMake][Z3]Don't attempt to compile / run if cross-compiling (#66355)
Otherwise CMake might throw and error:
CMake Error: try_run() invoked in cross-compiling mode, please set the
following cache variables appropriately:
Z3_RETURNCODE (advanced)
Z3_RETURNCODE__TRYRUN_OUTPUT (advanced)
More information about the All-commits
mailing list