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

system suitesparse is assumed to be dynamic #1101

Closed
6e441f9c opened this issue Aug 1, 2012 · 2 comments
Closed

system suitesparse is assumed to be dynamic #1101

6e441f9c opened this issue Aug 1, 2012 · 2 comments

Comments

@6e441f9c
Copy link

6e441f9c commented Aug 1, 2012

As we know, SuiteSparse loves to build itself as static library.

Even more, when Julia build has to build SuiteSparse on its own, it builds static libraries and then combines shared libraries out of them.

Is there any drawback in allowing system SuiteSparse to be static? We have a static SuiteSparse, and while packaging Julia I just create a full SuiteSparse shared library and symlink it under all the relevant names.

Is Julia against using existing codepath for, say, USE_SYSTEM_STATIC_SUITESPARSE case?

@vtjnash
Copy link
Sponsor Member

vtjnash commented Aug 1, 2012

I'm not sure what you are asking. There is a script in contrib that will attempt to build a shared library out of a static system SuiteSparse, which can be run in preparation for building Julia with USE_SYSTEM_SUITESPARSE=1 when the system SuiteSparse is a static library (as it often likes to be). This script is not executed by default during a normal build with USE_SYSTEM_SUITESPARSE=1 to avoid confusion (the use_system flags typically indicate that the code should do nothing).

@JeffBezanson
Copy link
Sponsor Member

Right now we don't use static libraries directly; external libraries must be dynamic. @vtjnash could you add something to the readme describing how to set up for USE_SYSTEM_SUITESPARSE?

@vtjnash vtjnash closed this as completed in 8339686 Aug 1, 2012
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

3 participants