@ -76,7 +76,7 @@ foreach(BOOSTLIB ${Boost_LIBRARIES})
list ( APPEND STORM_DEP_TARGETS target-boost- ${ CNTVAR } _SHARED )
MATH ( EXPR CNTVAR "${CNTVAR}+1" )
endforeach ( )
message ( STATUS "S torm - Using boost ${Boost_VERSION} (library version ${Boost_LIB_VERSION})." )
message ( STATUS "s torm - Using boost ${Boost_VERSION} (library version ${Boost_LIB_VERSION})." )
# s e t t h e i n f o r m a t i o n f o r t h e c o n f i g h e a d e r
set ( STORM_BOOST_INCLUDE_DIR "${Boost_INCLUDE_DIRS}" )
@ -87,7 +87,7 @@ set(STORM_BOOST_INCLUDE_DIR "${Boost_INCLUDE_DIRS}")
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# U s e t h e s h i p p e d v e r s i o n o f E x p r T K
message ( STATUS "S torm - Including ExprTk." )
message ( STATUS "s torm - Including ExprTk." )
add_imported_library_interface ( ExprTk "${PROJECT_SOURCE_DIR}/resources/3rdparty/exprtk" )
list ( APPEND STORM_DEP_TARGETS ExprTk )
@ -98,7 +98,7 @@ list(APPEND STORM_DEP_TARGETS ExprTk)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# U s e t h e s h i p p e d v e r s i o n o f S p a r s e p p
message ( STATUS "S torm - Including Sparsepp." )
message ( STATUS "s torm - Including Sparsepp." )
include_directories ( "${PROJECT_SOURCE_DIR}/resources/3rdparty/sparsepp" )
# A d d s p a r s e p p . h t o t h e h e a d e r s t h a t a r e c o p i e d t o t h e i n c l u d e d i r e c t o r y i n t h e b u i l d d i r e c t o r y .
@ -117,7 +117,7 @@ list(APPEND STORM_RESOURCES_HEADERS "${CMAKE_BINARY_DIR}/include/resources/3rdpa
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# u s e t h e s h i p p e d v e r s i o n o f m o d e r n j s o n
message ( STATUS "S torm - Including ModernJSON." )
message ( STATUS "s torm - Including ModernJSON." )
add_imported_library_interface ( ModernJSON "${PROJECT_SOURCE_DIR}/resources/3rdparty/modernjson/src/" )
list ( APPEND STORM_DEP_TARGETS ModernJSON )
@ -133,7 +133,7 @@ find_package(Z3 QUIET)
set ( STORM_HAVE_Z3 ${ Z3_FOUND } )
if ( Z3_FOUND )
message ( STATUS "S torm - Linking with Z3." )
message ( STATUS "s torm - Linking with Z3." )
add_imported_library ( z3 SHARED ${ Z3_LIBRARIES } ${ Z3_INCLUDE_DIRS } )
list ( APPEND STORM_DEP_TARGETS z3_SHARED )
endif ( Z3_FOUND )
@ -156,7 +156,7 @@ if (STORM_USE_GUROBI)
find_package ( Gurobi QUIET REQUIRED )
set ( STORM_HAVE_GUROBI ${ GUROBI_FOUND } )
if ( GUROBI_FOUND )
message ( STATUS "S torm - Linking with Gurobi." )
message ( STATUS "s torm - Linking with Gurobi." )
add_imported_library ( Gurobi "" ${ GUROBI_LIBRARY } ${ GUROBI_INCLUDE_DIRS } )
list ( APPEND STORM_DEP_TARGETS Gurobi )
endif ( )
@ -192,8 +192,8 @@ if(USE_CARL)
if ( carl_FOUND AND NOT STORM_FORCE_SHIPPED_CARL )
set ( STORM_SHIPPED_CARL OFF )
set ( STORM_HAVE_CARL ON )
message ( STATUS "S torm - Use system version of carl." )
message ( STATUS "S torm - Linking with carl ${carl_VERSION} (CARL_USE_CLN_NUMBERS: ${CARL_USE_CLN_NUMBERS})." )
message ( STATUS "s torm - Use system version of carl." )
message ( STATUS "s torm - Linking with carl ${carl_VERSION} (CARL_USE_CLN_NUMBERS: ${CARL_USE_CLN_NUMBERS})." )
set ( STORM_HAVE_CLN ${ CARL_USE_CLN_NUMBERS } )
else ( )
set ( STORM_SHIPPED_CARL ON )
@ -220,7 +220,7 @@ if(USE_CARL)
endif ( )
message ( "END CARL CONFIG PROCESS" )
message ( STATUS "S torm - Using shipped version of carl." )
message ( STATUS "s torm - Using shipped version of carl." )
ExternalProject_Add (
c a r l
S O U R C E _ D I R $ { S T O R M _ 3 R D P A R T Y _ B I N A R Y _ D I R } / c a r l
@ -263,7 +263,7 @@ if(USE_SMTRAT)
find_package ( smtrat QUIET REQUIRED )
if ( smtrat_FOUND )
set ( STORM_HAVE_SMTRAT ON )
message ( STATUS "S torm - Linking with smtrat." )
message ( STATUS "s torm - Linking with smtrat." )
include_directories ( "${smtrat_INCLUDE_DIR}" )
list ( APPEND STORM_LINK_LIBRARIES ${ smtrat_LIBRARIES } )
else ( )
@ -283,7 +283,7 @@ if(USE_HYPRO)
find_package ( hypro QUIET REQUIRED )
if ( hypro_FOUND )
set ( STORM_HAVE_HYPRO ON )
message ( STATUS "S torm - Linking with hypro." )
message ( STATUS "s torm - Linking with hypro." )
include_directories ( "${hypro_INCLUDE_DIR}" )
list ( APPEND STORM_LINK_LIBRARIES ${ hypro_LIBRARIES } )
else ( )
@ -317,7 +317,7 @@ endif()
# M a t h S A T D e f i n e s
set ( STORM_HAVE_MSAT ${ ENABLE_MSAT } )
if ( ENABLE_MSAT )
message ( STATUS "S torm - Linking with MathSAT." )
message ( STATUS "s torm - Linking with MathSAT." )
link_directories ( "${MSAT_ROOT}/lib" )
include_directories ( "${MSAT_ROOT}/include" )
list ( APPEND STORM_LINK_LIBRARIES "mathsat" )
@ -365,8 +365,8 @@ ExternalProject_Get_Property(sylvan source_dir)
ExternalProject_Get_Property ( sylvan binary_dir )
set ( Sylvan_INCLUDE_DIR "${source_dir}/src" )
set ( Sylvan_LIBRARY "${binary_dir}/src/libsylvan${STATIC_EXT}" )
message ( STATUS "S torm - Using shipped version of sylvan." )
message ( STATUS "S torm - Linking with sylvan." )
message ( STATUS "s torm - Using shipped version of sylvan." )
message ( STATUS "s torm - Linking with sylvan." )
add_imported_library ( sylvan STATIC ${ Sylvan_LIBRARY } ${ Sylvan_INCLUDE_DIR } )
add_dependencies ( sylvan_STATIC sylvan )
if ( STORM_SHIPPED_CARL )
@ -376,7 +376,7 @@ list(APPEND STORM_DEP_TARGETS sylvan_STATIC)
find_package ( Hwloc QUIET REQUIRED )
if ( HWLOC_FOUND )
message ( STATUS "S torm - Linking with hwloc ${HWLOC_VERSION}." )
message ( STATUS "s torm - Linking with hwloc ${HWLOC_VERSION}." )
add_imported_library ( hwloc STATIC ${ HWLOC_LIBRARIES } "" )
list ( APPEND STORM_DEP_TARGETS hwloc_STATIC )
else ( )
@ -432,14 +432,14 @@ if (STORM_USE_INTELTBB)
find_package ( TBB QUIET REQUIRED )
if ( TBB_FOUND )
message ( STATUS "S torm - Found Intel TBB with interface version ${TBB_INTERFACE_VERSION}." )
message ( STATUS "S torm - Linking with Intel TBB in ${TBB_LIBRARY_DIRS}." )
message ( STATUS "s torm - Found Intel TBB with interface version ${TBB_INTERFACE_VERSION}." )
message ( STATUS "s torm - Linking with Intel TBB in ${TBB_LIBRARY_DIRS}." )
set ( STORM_HAVE_INTELTBB ON )
link_directories ( ${ TBB_LIBRARY_DIRS } )
include_directories ( ${ TBB_INCLUDE_DIRS } )
list ( APPEND STORM_LINK_LIBRARIES tbb tbbmalloc )
else ( TBB_FOUND )
message ( FATAL_ERROR "S torm - TBB was requested, but not found." )
message ( FATAL_ERROR "s torm - TBB was requested, but not found." )
endif ( TBB_FOUND )
endif ( STORM_USE_INTELTBB )
@ -451,7 +451,7 @@ endif(STORM_USE_INTELTBB)
find_package ( Threads QUIET REQUIRED )
if ( NOT Threads_FOUND )
message ( FATAL_ERROR "S torm - Threads was requested, but not found." )
message ( FATAL_ERROR "s torm - Threads was requested, but not found." )
endif ( )
include_directories ( ${ THREADS_INCLUDE_DIRS } )
list ( APPEND STORM_LINK_LIBRARIES ${ CMAKE_THREAD_LIBS_INIT } )
@ -491,11 +491,11 @@ if(ENABLE_CUDA)
C O M P I L E _ O U T P U T _ V A R I A B L E O U T P U T _ T E S T _ V A R
)
if ( NOT STORM_CUDA_COMPILE_RESULT_TYPEALIGNMENT )
message ( FATAL_ERROR "S torm (CudaPlugin) - Could not test type alignment, there was an Error while compiling the file ${PROJECT_SOURCE_DIR}/cuda/CMakeAlignmentCheck.cpp: ${OUTPUT_TEST_VAR}" )
message ( FATAL_ERROR "s torm (CudaPlugin) - Could not test type alignment, there was an Error while compiling the file ${PROJECT_SOURCE_DIR}/cuda/CMakeAlignmentCheck.cpp: ${OUTPUT_TEST_VAR}" )
elseif ( STORM_CUDA_RUN_RESULT_TYPEALIGNMENT EQUAL 0 )
message ( STATUS "StoRM (CudaPlugin) - Result of Type Alignment Check: OK." )
else ( )
message ( FATAL_ERROR "S torm (CudaPlugin) - Result of Type Alignment Check: FAILED (Code ${STORM_CUDA_RUN_RESULT_TYPEALIGNMENT})" )
message ( FATAL_ERROR "s torm (CudaPlugin) - Result of Type Alignment Check: FAILED (Code ${STORM_CUDA_RUN_RESULT_TYPEALIGNMENT})" )
endif ( )
# T e s t f o r F l o a t 6 4 b i t A l i g n m e n t
@ -504,15 +504,15 @@ if(ENABLE_CUDA)
C O M P I L E _ O U T P U T _ V A R I A B L E O U T P U T _ T E S T _ V A R
)
if ( NOT STORM_CUDA_COMPILE_RESULT_FLOATALIGNMENT )
message ( FATAL_ERROR "S torm (CudaPlugin) - Could not test float type alignment, there was an Error while compiling the file ${PROJECT_SOURCE_DIR}/cuda/CMakeFloatAlignmentCheck.cpp: ${OUTPUT_TEST_VAR}" )
message ( FATAL_ERROR "s torm (CudaPlugin) - Could not test float type alignment, there was an Error while compiling the file ${PROJECT_SOURCE_DIR}/cuda/CMakeFloatAlignmentCheck.cpp: ${OUTPUT_TEST_VAR}" )
elseif ( STORM_CUDA_RUN_RESULT_FLOATALIGNMENT EQUAL 2 )
message ( STATUS "S torm (CudaPlugin) - Result of Float Type Alignment Check: 64bit alignment active." )
message ( STATUS "s torm (CudaPlugin) - Result of Float Type Alignment Check: 64bit alignment active." )
set ( STORM_CUDAPLUGIN_FLOAT_64BIT_ALIGN_DEF "define" )
elseif ( STORM_CUDA_RUN_RESULT_FLOATALIGNMENT EQUAL 3 )
message ( STATUS "S torm (CudaPlugin) - Result of Float Type Alignment Check: 64bit alignment disabled." )
message ( STATUS "s torm (CudaPlugin) - Result of Float Type Alignment Check: 64bit alignment disabled." )
set ( STORM_CUDAPLUGIN_FLOAT_64BIT_ALIGN_DEF "undef" )
else ( )
message ( FATAL_ERROR "S torm (CudaPlugin) - Result of Float Type Alignment Check: FAILED (Code ${STORM_CUDA_RUN_RESULT_FLOATALIGNMENT})" )
message ( FATAL_ERROR "s torm (CudaPlugin) - Result of Float Type Alignment Check: FAILED (Code ${STORM_CUDA_RUN_RESULT_FLOATALIGNMENT})" )
endif ( )
#
# M a k e a v e r s i o n f i l e c o n t a i n i n g t h e c u r r e n t v e r s i o n f r o m g i t .
@ -531,7 +531,7 @@ if(ENABLE_CUDA)
else ( )
set ( STORM_CUDAPLUGIN_VERSION_DIRTY 0 )
endif ( )
message ( STATUS "S torm (CudaPlugin) - Version information: ${STORM_CUDAPLUGIN_VERSION_MAJOR}.${STORM_CUDAPLUGIN_VERSION_MINOR}.${STORM_CUDAPLUGIN_VERSION_PATCH} (${STORM_CUDAPLUGIN_VERSION_COMMITS_AHEAD} commits ahead of Tag) build from ${STORM_CUDAPLUGIN_VERSION_HASH} (Dirty: ${STORM_CUDAPLUGIN_VERSION_DIRTY})" )
message ( STATUS "s torm (CudaPlugin) - Version information: ${STORM_CUDAPLUGIN_VERSION_MAJOR}.${STORM_CUDAPLUGIN_VERSION_MINOR}.${STORM_CUDAPLUGIN_VERSION_PATCH} (${STORM_CUDAPLUGIN_VERSION_COMMITS_AHEAD} commits ahead of Tag) build from ${STORM_CUDAPLUGIN_VERSION_HASH} (Dirty: ${STORM_CUDAPLUGIN_VERSION_DIRTY})" )
# C o n f i g u r e a h e a d e r f i l e t o p a s s s o m e o f t h e C M a k e s e t t i n g s t o t h e s o u r c e c o d e
@ -565,9 +565,9 @@ if(ENABLE_CUDA)
if ( CUSP_FOUND )
include_directories ( ${ CUSP_INCLUDE_DIR } )
cuda_include_directories ( ${ CUSP_INCLUDE_DIR } )
message ( STATUS "S torm (CudaPlugin) - Found CUSP Version ${CUSP_VERSION} in location ${CUSP_INCLUDE_DIR}." )
message ( STATUS "s torm (CudaPlugin) - Found CUSP Version ${CUSP_VERSION} in location ${CUSP_INCLUDE_DIR}." )
else ( )
message ( FATAL_ERROR "S torm (CudaPlugin) - Could not find CUSP." )
message ( FATAL_ERROR "s torm (CudaPlugin) - Could not find CUSP." )
endif ( )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
@ -578,9 +578,9 @@ if(ENABLE_CUDA)
if ( THRUST_FOUND )
include_directories ( ${ THRUST_INCLUDE_DIR } )
cuda_include_directories ( ${ THRUST_INCLUDE_DIR } )
message ( STATUS "S torm (CudaPlugin) - Found Thrust Version ${THRUST_VERSION} in location ${THRUST_INCLUDE_DIR}." )
message ( STATUS "s torm (CudaPlugin) - Found Thrust Version ${THRUST_VERSION} in location ${THRUST_INCLUDE_DIR}." )
else ( )
message ( FATAL_ERROR "S torm (CudaPlugin) - Could not find Thrust. Check your CUDA installation." )
message ( FATAL_ERROR "s torm (CudaPlugin) - Could not find Thrust. Check your CUDA installation." )
endif ( )
include_directories ( ${ CUDA_INCLUDE_DIRS } )
@ -590,7 +590,7 @@ if(ENABLE_CUDA)
$ { S T O R M _ C U D A _ K E R N E L _ F I L E S } $ { S T O R M _ C U D A _ H E A D E R _ F I L E S }
)
message ( STATUS "S torm - Linking with CUDA." )
message ( STATUS "s torm - Linking with CUDA." )
list ( APPEND STORM_LINK_LIBRARIES ${ STORM_CUDA_LIB_NAME } )
include_directories ( "${PROJECT_SOURCE_DIR}/cuda/kernels/" )
endif ( )