Skip to content

Commit

Permalink
Merge pull request #1824 from geekLucian/main
Browse files Browse the repository at this point in the history
fix: Link conda lib during CIRCT build
  • Loading branch information
jerryz123 authored Mar 15, 2024
2 parents 9a7e5f3 + 7f8d7bd commit 146efa0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/build-circt-from-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ echo "Building CIRCT's LLVM/MLIR"
-DLLVM_TARGETS_TO_BUILD="host" \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_EXE_LINKER_FLAGS="-L$RDIR/.conda-env/lib"
ninja
)

Expand All @@ -90,7 +91,8 @@ echo "Building CIRCT"
-DLLVM_DIR=$RDIR/tools/circt/llvm/build/lib/cmake/llvm \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=$PREFIX
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_EXE_LINKER_FLAGS="-L$RDIR/.conda-env/lib"
ninja
)

Expand Down

0 comments on commit 146efa0

Please sign in to comment.