Skip to content

Commit

Permalink
Fixed RDKit build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Sep 9, 2024
1 parent 23eb2d1 commit ad1e760
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/rdkit-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
curl -L -o boost.7z https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0-b2-nodocs.7z
curl -L -o boost.7z https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0-cmake.7z
7z x boost.7z
cd boost-1.85.0
cmake -S . -B build -DBOOST_INCLUDE_LIBRARIES=program_options
cmake --build build --config Release --parallel 4
cmake --install build
git clone --recursive --branch Release_2024_03_6 https://github.com/rdkit/rdkit.git
cd rdkit
git apply ../extra/RDKit/boost.patch
ls ../boost-1.85.0
cmake -S . -B build -DBoost_ROOT=../boost-1.85.0 -DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DCMAKE_BUILD_TYPE=Release -DRDK_BUILD_CFFI_LIB=ON -DRDK_BUILD_COORDGEN_SUPPORT=OFF -DRDK_BUILD_CPP_TESTS=OFF -DRDK_BUILD_DESCRIPTORS3D=OFF -DRDK_BUILD_FREETYPE_SUPPORT=OFF -DRDK_BUILD_INCHI_SUPPORT=OFF -DRDK_BUILD_MAEPARSER_SUPPORT=OFF -DRDK_BUILD_PYTHON_WRAPPERS=OFF -DRDK_BUILD_QT_SUPPORT=OFF -DRDK_BUILD_SLN_SUPPORT=OFF -DRDK_OPTIMIZE_POPCNT=OFF -DRDK_TEST_MMFF_COMPLIANCE=OFF -DRDK_TEST_MULTITHREADED=OFF -DRDK_USE_BOOST_IOSTREAMS=OFF -DRDK_USE_BOOST_SERIALIZATION=OFF -DRDK_USE_BOOST_STACKTRACE=OFF -DRDK_USE_URF=OFF
cmake -S . -B build -DBoost_DIR=C:/Boost/lib/cmake/Boost-1.85.0 -DCMAKE_BUILD_TYPE=Release -DRDK_BUILD_CFFI_LIB=ON -DRDK_BUILD_COORDGEN_SUPPORT=OFF -DRDK_BUILD_CPP_TESTS=OFF -DRDK_BUILD_DESCRIPTORS3D=OFF -DRDK_BUILD_FREETYPE_SUPPORT=OFF -DRDK_BUILD_INCHI_SUPPORT=OFF -DRDK_BUILD_MAEPARSER_SUPPORT=OFF -DRDK_BUILD_PYTHON_WRAPPERS=OFF -DRDK_BUILD_QT_SUPPORT=OFF -DRDK_BUILD_SLN_SUPPORT=OFF -DRDK_OPTIMIZE_POPCNT=OFF -DRDK_TEST_MMFF_COMPLIANCE=OFF -DRDK_TEST_MULTITHREADED=OFF -DRDK_USE_BOOST_IOSTREAMS=OFF -DRDK_USE_BOOST_SERIALIZATION=OFF -DRDK_USE_BOOST_STACKTRACE=OFF -DRDK_USE_URF=OFF
cmake --build build --config Release --parallel 4
mkdir dist
Expand Down

0 comments on commit ad1e760

Please sign in to comment.