================ @@ -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!\ ---------------- christopherbate wrote:
Shouldn't any potential to write outside the build directory in a test by a FATAL_ERROR not a WARNING? https://github.com/llvm/llvm-project/pull/157944 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits