Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build on ARM Debian #174

Open
dimpase opened this issue Jul 14, 2020 · 4 comments
Open

cannot build on ARM Debian #174

dimpase opened this issue Jul 14, 2020 · 4 comments

Comments

@dimpase
Copy link

dimpase commented Jul 14, 2020

One has

>>> glob("/usr/lib/*/libsuitesparseconfig.so")[0].split('/')[3]
'arm-linux-gnueabihf'

and these values should be used in setup.py, instead of hardcoded x86_64... ones.

@dimpase
Copy link
Author

dimpase commented Jul 14, 2020

@orlitzky

@dimpase
Copy link
Author

dimpase commented Jul 15, 2020

In fact, for Debian instead of

SUITESPARSE_LIB_DIR = "/usr/lib/x86_64-linux-gnu"

one can just as well do

SUITESPARSE_LIB_DIR = ""

as the linker knows this directory already.

@victorlin
Copy link

I've successfully built CVXOPT on a Debian ARM Docker image by providing the SuiteSparse source directly as described in the docs (src). Have you tried that?

@dimpase
Copy link
Author

dimpase commented Oct 18, 2023

We wanted a platform-independent fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants