Skip to content

Commit

Permalink
disable parallel builds in the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaller committed Dec 4, 2023
1 parent 073ea22 commit 6e7d64f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ option(BUILD_SLIMGUI "Build the Qt5-based GUI for SLiM" OFF)
# This is supported only for the command-line tools, not for SLiMgui; do not set BUILD_SLIMGUI
option(PARALLEL "Build parallel versions of eidos and slim" OFF)

if(PARALLEL)
# BCH 12/4/2023: Parallel SLiM is presently unreleased and unsupported. Caveat lector.
message(FATAL_ERROR "Multithreaded SLiM is not released, not thoroughly tested, and generally not yet ready for prime time. It is not recommended for end-user use, especially not for "production" runs, and the documentation for it is not yet public. Please do not ask for any kind of support for this feature if you choose to experiment with it.")
endif(PARALLEL)

# Add "-D PROFILE=ON" to the CMake command to make a build of command-line slim with runtime profiling
# This makes SLiM slower, so it is not for production use. It may be set ON only for Release builds.
option(PROFILE "Build slim for runtime profiling" OFF)
Expand Down

0 comments on commit 6e7d64f

Please sign in to comment.