giaf / hpipm

High-performance interior-point-method QP and QCQP solvers
Other
552 stars 130 forks source link

add macOS check for exporting DYLD in python interface #156

Closed aghezz1 closed 1 year ago

aghezz1 commented 1 year ago

Very small addition to automatically detect the operating system (Linux or macOS) and set the correct library path accordingly.

It might need to be extended to all the other interfaces.

giaf commented 1 year ago

Thanks! Any clue how it should be done in windows?

aghezz1 commented 1 year ago

I can have a look, it got inspired from acados. But I cannot test for windows...

giaf commented 1 year ago

It may be that the bash script works as it is on bash for windows, I don't know. At some point someone should check with a window PC and figure out...