Skip to content

Commit

Permalink
Update version of OpenSMT
Browse files Browse the repository at this point in the history
  • Loading branch information
blishko committed Mar 7, 2024
1 parent ed30ea3 commit adeedaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Golem can be compiled on Linux and MacOS.
It uses `CMake` for build configuration.
Golem depends on [OpenSMT](https://github.com/usi-verification-and-security/opensmt/) for SMT solving and interpolation.
If you already have OpenSMT installed, you can pass the path using `-DOPENSMT_HOME` option to `cmake` command.
Note that Golem requires a specific version of OpenSMT, currently v2.5.2.
Note that Golem requires a specific version of OpenSMT, currently v2.6.0.
Otherwise, `cmake` will download the latest compatible version of OpenSMT and build it as a subproject.

## Usage
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ include(FetchContent)

# Find OpenSMT2
SET(OPENSMT_HOME CACHE STRING "OpenSMT installation directory")
find_package(OpenSMT 2.5.2 EXACT CONFIG PATHS ${OPENSMT_HOME} NO_DEFAULT_PATH)
find_package(OpenSMT 2.6.0 EXACT CONFIG PATHS ${OPENSMT_HOME} NO_DEFAULT_PATH)

if (OpenSMT_FOUND)
else(OpenSMT_FOUND)
FetchContent_Declare(
OpenSMT
GIT_REPOSITORY https://github.com/usi-verification-and-security/opensmt.git
GIT_TAG 596501bab9008a69ea20f499911e7c751fe0f29e # v2.5.2
GIT_TAG a35c2a080801de0792677bb5ddfe5253e7cc67f2 # v2.6.0
GIT_SHALLOW true
GIT_PROGRESS true
)
Expand Down

0 comments on commit adeedaa

Please sign in to comment.