diff --git a/tests/Actions/TestBuild.sh b/tests/Actions/TestBuild.sh index 39041203d..460696557 100644 --- a/tests/Actions/TestBuild.sh +++ b/tests/Actions/TestBuild.sh @@ -22,8 +22,8 @@ cd $llvm_build_dir # Build and check the LLVM project. # If cached build is available, it will save time by only checking the project. -# if [ -z "$(ls -A ./)" ] -# then +if [ -z "$(ls -A ./)" ] +then cmake -G Ninja ../llvm \ -DLLVM_ENABLE_PROJECTS="mlir;clang;openmp" \ -DLLVM_TARGETS_TO_BUILD="host;RISCV" \ @@ -32,7 +32,7 @@ cd $llvm_build_dir -DMLIR_ENABLE_BINDINGS_PYTHON=ON \ -DPython3_EXECUTABLE=$(which python3) ninja check-clang check-mlir omp -# fi +fi # Navigate back to the root project directory. cd ../..