Skip to content

Instantly share code, notes, and snippets.

@pioz
Last active September 12, 2022 08:35
Show Gist options
  • Save pioz/878eddb0ac0c496d05a8be6f34484aa5 to your computer and use it in GitHub Desktop.
Save pioz/878eddb0ac0c496d05a8be6f34484aa5 to your computer and use it in GitHub Desktop.
Install ortools on OSX M1
git clone https://github.com/google/or-tools.git
cd ./or-tools
cmake -S. -Bbuild -DBUILD_PYTHON=ON -DPython3_ROOT_DIR="/opt/homebrew/Cellar/[email protected]/3.9.10/"
cmake --build build -j8 -v
pip3 install ./build/python/dist/ortools-9.2.9974-cp39-cp39-macosx_12_0_arm64.whl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment