From 63dbddc7e833e69859686416a545a887552e6078 Mon Sep 17 00:00:00 2001 From: Ian Moroney <10791260+IanMoroney@users.noreply.github.com> Date: Wed, 5 Feb 2025 11:51:02 +0000 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 6946c67..b3fb86e 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,23 @@ If you wish to use the Python interface, use the following steps: ``` git submodule update --init --recursive ``` +If the submodule fails to initiate, then: +``` +cd pycupdlp \ +rm -rf pybind11 \ +git clone https://github.com/pybind/pybind11.git +cd .. +``` then build the target `pycupdlp` ``` +mkdir build +cd build +cmake -DBUILD_CUDA=ON \ +-DBUILD_PYTHON=ON \ +-DCMAKE_C_FLAGS_RELEASE="-O2 -DNDEBUG" \ +-DCMAKE_CXX_FLAGS_RELEASE="-O2 -DNDEBUG" \ +-DCMAKE_CUDA_FLAGS_RELEASE="-O2 -DNDEBUG" .. + cmake --build . --target pycupdlp ```