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

LDL: Avoid overlinking #479

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Conversation

mmuetzel
Copy link
Contributor

The ldl library doesn't actually depend on libsuitesparseconfig or libamd. Only some of the demos do and some preprocessor definition from the SuiteSparse_config header are used in some compilation units.
Avoid overlinking that library to the libraries that it doesn't use.

Also avoid inclusion of a header inside an extern "C" block.

@DrTimothyAldenDavis
Copy link
Owner

Good point. Yes, ldl itself doesn't call AMD, just the demo program does.

@DrTimothyAldenDavis DrTimothyAldenDavis merged commit 39d2bef into DrTimothyAldenDavis:dev2 Oct 31, 2023
17 checks passed
This was referenced Oct 31, 2023
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

Successfully merging this pull request may close these issues.

2 participants