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

ARM support for ibex-lib #517

Closed
geokoodi opened this issue Nov 21, 2021 · 4 comments
Closed

ARM support for ibex-lib #517

geokoodi opened this issue Nov 21, 2021 · 4 comments

Comments

@geokoodi
Copy link

Hi,

Would it be possible to add support for the ARM processor?
The mathlib 2.1.0 library does not support the ARM processor.

gk

@lebarsfa
Copy link
Contributor

lebarsfa commented Nov 29, 2021

Hello,

A possible workaround could be to build ibex with filib, see options described on http://www.ibex-lib.org/doc/install.html#standard-install, e.g. I used something like :

git clone https://github.com/ibex-team/ibex-lib.git
cd ibex-lib
mkdir build
cd build
cmake -D CMAKE_CXX_FLAGS="-fPIC" -D CMAKE_C_FLAGS="-fPIC" -D INTERVAL_LIB=filib ..
cmake --build . 
cmake --build . --target install

See also #505.

@geokoodi
Copy link
Author

geokoodi commented Nov 29, 2021 via email

@lebarsfa
Copy link
Contributor

I have never used ibex-java but maybe in that case cmake should not be used, instead probably try with waf with the option --interval-lib=filib, from http://www.ibex-lib.org/doc/install.html#ibex-install and http://www.ibex-lib.org/doc/java-install.html I guess it would be :

./waf configure --interval-lib=filib --enable-shared --with-jni --java-package-name=org.chocosolver.solver.constraints.real
sudo ./waf install

@geokoodi
Copy link
Author

geokoodi commented Nov 29, 2021 via email

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