Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions corelib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,17 @@ else()
CHECK_CXX_COMPILER_FLAG( "-std=c++17" SIRE_HAS_CPP_17 )
endif()

if ( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
CHECK_CXX_COMPILER_FLAG( "/std:c++20" SIRE_HAS_CPP_20 )
else()
CHECK_CXX_COMPILER_FLAG( "-std=c++20" SIRE_HAS_CPP_20 )
endif()

save_sire_variable( "SIRE_HAS_CPP_LIB" "${SIRE_HAS_CPP_LIB}" )

save_sire_variable( "SIRE_HAS_CPP_14" "${SIRE_HAS_CPP_14}" )
save_sire_variable( "SIRE_HAS_CPP_17" "${SIRE_HAS_CPP_17}" )
save_sire_variable( "SIRE_HAS_CPP_20" "${SIRE_HAS_CPP_20}" )

option( SIRE_SKIP_LIBC++ "Force Sire to ignore libc++ (e.g. in case of broken clang on linux" OFF )

Expand Down
2 changes: 2 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ organisation on `GitHub <https://github.com/openbiosim/sire>`__.
creating a molecule from a ``SOMD`` perturbation file.
* Fix evaluation of custom force energies from OpenMM XML files by correctly looping over
interaction groups.
* Switch to new Boost Conda package naming scheme for host requirements.
* Use C++20 standard for SireRDKit plugin.

`2025.1.0 <https://github.com/openbiosim/sire/compare/2024.4.2...2025.1.0>`__ - June 2025
-----------------------------------------------------------------------------------------
Expand Down
2 changes: 0 additions & 2 deletions recipes/sire/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ cxx_compiler_version:
- 12.3.0 # [linux]

pin_run_as_build:
boost:
max_pin: x.x
openmm:
max_pin: x.x
4 changes: 0 additions & 4 deletions requirements_bss.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ openmmtools >= 0.21.5
ambertools >= 22 ; sys_platform != "win32"
gromacs ; sys_platform != "win32" and platform_machine != "arm64"

# kartograf on Windows pulls in an openfe that has an old / incompatble
# ambertools
kartograf >= 1.0.0 ; sys_platform != "win32"

# The following are actual BioSimSpace run-time requirements. Please update
# this list as new requirements are added.
configargparse
Expand Down
5 changes: 3 additions & 2 deletions requirements_host.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Host requirements for Sire.

boost
gsl
lazy_import
libboost-devel
libboost-python-devel
libcblas
libnetcdf
librdkit-dev
librdkit-dev > 2024.09.6
openmm >= 8.1
pandas
python
Expand Down
1 change: 0 additions & 1 deletion requirements_run.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Runtime requirements for Sire.

boost
gsl
lazy_import
libnetcdf
Expand Down
6 changes: 5 additions & 1 deletion wrapper/Convert/SireRDKit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
##########################################

if (SIRE_HAS_CPP_17)
if (SIRE_HAS_CPP_20)
# Find RDKit libraries
find_package(RDKit)

Expand All @@ -24,8 +24,12 @@ if (SIRE_HAS_CPP_17)
# RDKit needs this definition set on Windows
add_definitions(-DWIN32)
add_definitions(-DRDKIT_DYN_LINK)
add_compile_options("/std:c++20")
else()
add_compile_options(-std=c++20)
endif()


if (APPLE)
# RDKit uses std::bad_any_cast, which isn't available by default
# with MacOS 10.9. But it is supplied with conda, so need to mark
Expand Down