[llvm-branch-commits] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)
Maksim Levental via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Sep 12 10:02:52 PDT 2025
================
@@ -65,6 +65,12 @@ if (MLIR_INCLUDE_INTEGRATION_TESTS)
endif()
+option(MLIR_RUN_STANDALONE_INSTALL_TESTS "Run Standalone example install tests." ON)
+if(MLIR_RUN_STANDALONE_INSTALL_TESTS AND "${CMAKE_INSTALL_PREFIX}" STREQUAL "")
+ message(WARNING "Standalone example install tests will install into root!\
----------------
makslevental wrote:
I guess that's reasonable - I can change to `FATAL_ERROR`. I'm trying to think if this will backfire in someway? But probably not since anyone for whom this backfires can just do `MLIR_RUN_STANDALONE_INSTALL_TESTS=OFF`.
https://github.com/llvm/llvm-project/pull/157944
More information about the llvm-branch-commits
mailing list