diff --git a/.github/workflows/build_and_test_cmake.yml b/.github/workflows/build_and_test_cmake.yml index 78d51db..c0d2614 100644 --- a/.github/workflows/build_and_test_cmake.yml +++ b/.github/workflows/build_and_test_cmake.yml @@ -55,7 +55,7 @@ jobs: - name: Build and test mlir-tutorial run: | mkdir build && cd build - cmake -DLLVM_DIR=${GITHUB_WORKSPACE}/externals/llvm-project/build/lib/cmake/llvm -DMLIR_DIR=${GITHUB_WORKSPACE}/externals/llvm-project/build/lib/cmake/mlir -DBUILD_DEPS="ON" .. + cmake -DLLVM_DIR=${GITHUB_WORKSPACE}/externals/llvm-project/build/lib/cmake/llvm -DMLIR_DIR=${GITHUB_WORKSPACE}/externals/llvm-project/build/lib/cmake/mlir -DBUILD_DEPS="ON" -DBUILD_SHARED_LIBS="OFF" .. cmake --build . --target MLIRAffineFullUnrollPasses cmake --build . --target MLIRMulToAddPasses cmake --build . --target MLIRNoisyPasses diff --git a/README.md b/README.md index e16318e..4e46139 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,7 @@ cmake -G $BUILD_SYSTEM .. \ -DLLVM_DIR="$LLVM_BUILD_DIR/lib/cmake/llvm" \ -DMLIR_DIR="$LLVM_BUILD_DIR/lib/cmake/mlir" \ -DBUILD_DEPS="ON" \ + -DBUILD_SHARED_LIBS="OFF" \ -DCMAKE_BUILD_TYPE=Debug popd