Skip to content

Commit

Permalink
Add Bitwuzla library
Browse files Browse the repository at this point in the history
  • Loading branch information
fvrmatteo committed Nov 4, 2024
1 parent f380ed3 commit de4bcdb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions bitwuzla.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ message(STATUS "Python3: ${Python3_EXECUTABLE}")
# TODO: pass compiler flags

set(CONFIGURE_ARGS
"--assertions"
"--no-testing"
"--no-unit-testing"
"--prefix"
"<SOURCE_DIR>/install"
"release"
)

if(USE_SANITIZERS)
list(APPEND CONFIGURE_ARGS "--assertions --asan --ubsan")
endif()

if(BUILD_SHARED_LIBS)
list(APPEND CONFIGURE_ARGS "--shared")
else()
Expand All @@ -17,9 +23,9 @@ endif()

ExternalProject_Add(bitwuzla
GIT_REPOSITORY
"https://github.com/bitwuzla/bitwuzla"
"https://github.com/LLVMParty/bitwuzla"
GIT_TAG
"0.6.0"
"sanitizers_fix"
GIT_PROGRESS
ON
GIT_SHALLOW
Expand Down

0 comments on commit de4bcdb

Please sign in to comment.