[all-commits] [llvm/llvm-project] f02716: [MLIR] Fix build without native arch
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu May 12 00:51:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f02716a806339f2d8894502f2a7902fec50ef918
https://github.com/llvm/llvm-project/commit/f02716a806339f2d8894502f2a7902fec50ef918
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-05-12 (Thu, 12 May 2022)
Changed paths:
M mlir/lib/CMakeLists.txt
M mlir/lib/ExecutionEngine/CMakeLists.txt
Log Message:
-----------
[MLIR] Fix build without native arch
D125214 split off a MLIRExecutionEngineUtils library that is used
by MLIRGPUTransforms. However, currently the entire ExecutionEngine
directory is skipped if the LLVM_NATIVE_ARCH target is not available.
Move the check for LLVM_NATIVE_ARCH, such that MLIRExecutionEngineUtils
always gets built, and only the JIT-related libraries are omitted
without native arch.
Differential Revision: https://reviews.llvm.org/D125357
More information about the All-commits
mailing list