From 7316ac615d888ec31b14861fd64da461a21c0f2d Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Thu, 29 Feb 2024 17:02:07 -0800 Subject: [PATCH] Fix build-circt-from-source --- scripts/build-circt-from-source.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-circt-from-source.sh b/scripts/build-circt-from-source.sh index 5477534d..596e24de 100755 --- a/scripts/build-circt-from-source.sh +++ b/scripts/build-circt-from-source.sh @@ -86,8 +86,8 @@ echo "Building CIRCT" mkdir build cd build cmake -G Ninja .. \ - -DMLIR_DIR=../llvm/build/lib/cmake/mlir \ - -DLLVM_DIR=../llvm/build/lib/cmake/llvm \ + -DMLIR_DIR=$RDIR/tools/circt/llvm/build/lib/cmake/mlir \ + -DLLVM_DIR=$RDIR/tools/circt/llvm/build/lib/cmake/llvm \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=$PREFIX