Skip to content

Instantly share code, notes, and snippets.

@aebrahim
Created October 1, 2015 20:56
Show Gist options
  • Save aebrahim/5febb3d299f5c286f137 to your computer and use it in GitHub Desktop.
Save aebrahim/5febb3d299f5c286f137 to your computer and use it in GitHub Desktop.
First, checkout the 1.6 code.
Copy the spxdefines.h over to src
make SHARED=true GMP=true ZLIB=false VERBOSE=true
ar crs libsoplex.a obj/*/lib/*
Then in soplex16_mods (will need to adjust paths)
g++ -Wno-main -shared -Wl,-soname,soplex_1.6_lib.so -DWITH_LONG_DOUBLE -o soplex_1.6_lib.so -fPIC soplexmain_python_callable_basis_read_write.cpp -lsoplex -L/home/aebrahim/soplex -I/home/aebrahim/soplex/src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment