ankane / or-tools-ruby

Operations research tools for Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using manylinux version for Apple Silicon

trumbitta opened this issue · comments

Hey, about #25 (comment) (i.e. adding a package once it's available)

I'm having issues getting the gem to install in docker (Debian Bullseye) on a MacBook M1 Max.

Someone from the ortools repo suggested using the manylinux package

Edit: what I mean is for you to make the gem to automatically use the manylinux package on arm64

Wdyt? Good idea? Did I misunderstand their answer?

Hi @trumbitta, OR-Tools doesn't provide a binary distribution of the C++ library for ARM for Debian Bullseye, so you'll need to build the OR-Tools C++ library from source and set:

bundle config build.or-tools --with-or-tools-dir=/path/to/or-tools

before installing the gem.

Thank you, I asked for the binary distribution google/or-tools#4007 (comment)

Great, just pushed a new release with it.

Works like a charm 👍