[mlir] Support overriding LLVM_LIT_ARGS in standalone builds
authorMichał Górny <mgorny@gentoo.org>
Sun, 23 Oct 2022 17:08:47 +0000 (19:08 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 24 Oct 2022 03:14:51 +0000 (05:14 +0200)
commitf3713a9047df995b26a3af4b3621c201bb88ef87
tree12f6d748ba94f6b8341a056f97372323e0f735ca
parent9cedab654d587134c0bb2ce8557891cab5d06440
[mlir] Support overriding LLVM_LIT_ARGS in standalone builds

Introduce LLVM_LIT_ARGS cache variable in standalone builds, to let
the caller override the options passed by LLVM to lit calls.  Once
defined, this is automatically handled by LLVM's cmake logic.

Differential Revision: https://reviews.llvm.org/D136556
mlir/CMakeLists.txt