diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 793076a75..ca05e690c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,18 +80,16 @@ jobs: git checkout ${LLVM_SHA} || exit 1 if [ -d "/home/runner/work/mlir-extensions/mlir-extensions/build_tools/patches" ]; then git apply /home/runner/work/mlir-extensions/mlir-extensions/build_tools/patches/*.patch; fi cmake G Ninja -B _build -S llvm \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ -DLLVM_ENABLE_PROJECTS=mlir \ -DLLVM_ENABLE_ASSERTIONS=ON \ - -DLLVM_ENABLE_RTTI=ON \ -DLLVM_USE_LINKER=gold \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_TARGETS_TO_BUILD=X86 \ -DLLVM_ENABLE_BINDINGS=OFF \ -DLLVM_ENABLE_ZSTD=OFF \ - -DLLVM_DISTRIBUTION_COMPONENTS="llvm_vcsrevision_h;llvm-headers;llvm-libraries;cmake-exports;FileCheck;count;not;mlir-headers;mlir-libraries;mlir-cmake-exports;mlir-tblgen;mlir-cpu-runner" \ -DCMAKE_INSTALL_PREFIX=/home/runner/work/llvm-mlir/_mlir_install || exit 1 - cmake --build _build --target install-distribution-stripped || exit 1 + cmake --build _build --target install || exit 1 popd - name: Build IMEX and run lit tests