[mlir] [integration_test] Make integration tests default OFF
authoraartbik <ajcbik@google.com>
Mon, 15 Jun 2020 20:54:18 +0000 (13:54 -0700)
committeraartbik <ajcbik@google.com>
Mon, 15 Jun 2020 21:33:18 +0000 (14:33 -0700)
Summary:
Previous submit of new tests accidentally made this ON.
The tests should be opt-in.

To build with MLIR integration tests enabled, pass the following

cmake .... \
-DMLIR_INCLUDE_INTEGRATION_TESTS=ON \
....

Reviewers: mehdi_amini

Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, msifontes

Tags: #mlir

Differential Revision: https://reviews.llvm.org/D81878

mlir/CMakeLists.txt

index df219d5..3a53a9b 100644 (file)
@@ -49,8 +49,7 @@ option(MLIR_INCLUDE_TESTS
        ${LLVM_INCLUDE_TESTS})
 
 option(MLIR_INCLUDE_INTEGRATION_TESTS
-       "Generate build targets for the MLIR integration tests."
-       ${LLVM_INCLUDE_TESTS})
+       "Generate build targets for the MLIR integration tests.")
 
 include_directories( "include")
 include_directories( ${MLIR_INCLUDE_DIR})