Skip to content

Commit

Permalink
Extended fix of PR#321 to all Boost version >= 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
volkm committed Jun 14, 2023
1 parent fd1fe70 commit cb17a65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ The releases of major and minor versions contain an overview of changes since th

Version 1.8.x
-------------
## Version 1.8.1
- Workaround for issue with Boost >= 1.81

## Version 1.8.0
## Version 1.8.0 (2023/05)
- Revised implementation of value iteration algorithms and its variants, fixing a bug in the optimistic value iteration heuristic.
- Experimental support for compiling on Apple Silicon
- Added SoPlex as a possible LP solver
Expand All @@ -20,7 +22,7 @@ Version 1.8.x
- `storm-pomdp`: streamlined implementation for quantitative analysis
- `storm-pomdp`: added clipping for POMDP under-approximation
- `storm-pomdp`: added API for interactive exploration of belief MDPs
- Developer: Introduced forward declarations (in their own headers), in particular for storm::RationalNumber, storm::RationalFunction, and storm::json
- Developer: Introduced forward declarations (in their own headers), in particular for `storm::RationalNumber`, `storm::RationalFunction`, and `storm::json`
- Developer: LpSolver interface now supports RawMode (to avoid overhead of `storm::expression`) and indicator constraints


Expand Down
4 changes: 2 additions & 2 deletions resources/3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ if ((NOT Boost_LIBRARY_DIRS) OR ("${Boost_LIBRARY_DIRS}" STREQUAL ""))
set(Boost_LIBRARY_DIRS "${Boost_INCLUDE_DIRS}/stage/lib")
endif ()

if ("${Boost_VERSION}" STREQUAL "108100")
message(STATUS "Storm - Using workaround for Boost 1.81")
if ((${Boost_MAJOR_VERSION} EQUAL 1) AND (${Boost_MINOR_VERSION} GREATER_EQUAL 81))
message(STATUS "Storm - Using workaround for Boost >= 1.81")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_PHOENIX_STL_TUPLE_H_")
endif()

Expand Down

0 comments on commit cb17a65

Please sign in to comment.