Skip to content

Conversation

ViralBShah
Copy link
Member

@ViralBShah ViralBShah commented Sep 22, 2025

Currently we support removing GPL dependencies in the full source build. This will also remove the GPL dependencies from the binary-dist target when built with JLLs.

I almost feel like it would be simpler to have a new SuiteSparse_NOGPL_jll package. Then in the default build, things stay as they are. In the no gpl build use the new JLL. In the no GPL build, if someone then tries to use a GPL SuiteSparse library, a warning can be printed asking them to get a different build of Julia.

@DilumAluthge @andreasnoack @giordano Thoughts?

@ViralBShah ViralBShah added the building Build system, or building Julia or its dependencies label Sep 22, 2025
@ViralBShah ViralBShah added the backport 1.12 Change should be backported to release-1.12 label Sep 22, 2025
@ViralBShah
Copy link
Member Author

Of course, then there's the other possibility that we simply separate out SparseArrays into a separate external package altogether (and remove it from stdlib). @KristofferC Would this be possible and not breaking beyond needing to install an external package? Anyone using Sparse things then will just have to say yes to installing the package when they do using SparseArrays. Manifests will already do the right thing I would imagine.

@giordano
Copy link
Member

This will effectively break any package expecting those libraries to be in SuiteSparse_jll, no matter how many messages we print.

@ViralBShah
Copy link
Member Author

Maybe this PR should just stay focussed on respecting the USE_GPL_LIBS flag all the way.

Bigger cleanups are most likely breaking anyways and should deal with that separately (and maybe there's nothing we can do about it).

@ViralBShah ViralBShah merged commit 441ebf9 into master Sep 22, 2025
10 checks passed
@ViralBShah ViralBShah deleted the vs/nogpl branch September 22, 2025 18:33
@ViralBShah ViralBShah mentioned this pull request Sep 23, 2025
24 tasks
KristofferC pushed a commit that referenced this pull request Sep 23, 2025
)

Currently we support removing GPL dependencies in the full source build.
This will also remove the GPL dependencies from the binary-dist target
when built with JLLs.

I almost feel like it would be simpler to have a new
SuiteSparse_NOGPL_jll package. Then in the default build, things stay as
they are. In the no gpl build use the new JLL. In the no GPL build, if
someone then tries to use a GPL SuiteSparse library, a warning can be
printed asking them to get a different build of Julia.

@DilumAluthge @andreasnoack @giordano Thoughts?

Co-authored-by: Viral B. Shah <[email protected]>
(cherry picked from commit 441ebf9)
@ViralBShah ViralBShah added the backport 1.11 Change should be backported to release-1.11 label Sep 25, 2025
@ViralBShah
Copy link
Member Author

We should backport to 1.11 too, and get a new 1.11 release.

@DilumAluthge
Copy link
Member

And 1.10 too?

@ViralBShah
Copy link
Member Author

ViralBShah commented Sep 26, 2025

Yeah, might as well. Since we are still putting out 1.10 builds. Should hopefully be easy enough to add these to all the builds - 1.10, 1.11, and 1.12.

@ViralBShah ViralBShah added the backport 1.10 Change should be backported to the 1.10 release label Sep 26, 2025
gbaraldi pushed a commit that referenced this pull request Sep 30, 2025
)

Currently we support removing GPL dependencies in the full source build.
This will also remove the GPL dependencies from the binary-dist target
when built with JLLs.

I almost feel like it would be simpler to have a new
SuiteSparse_NOGPL_jll package. Then in the default build, things stay as
they are. In the no gpl build use the new JLL. In the no GPL build, if
someone then tries to use a GPL SuiteSparse library, a warning can be
printed asking them to get a different build of Julia.

@DilumAluthge @andreasnoack @giordano Thoughts?

Co-authored-by: Viral B. Shah <[email protected]>
@KristofferC KristofferC mentioned this pull request Sep 30, 2025
47 tasks
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Sep 30, 2025
xal-0 pushed a commit to xal-0/julia that referenced this pull request Sep 30, 2025
…iaLang#59627)

Currently we support removing GPL dependencies in the full source build.
This will also remove the GPL dependencies from the binary-dist target
when built with JLLs.

I almost feel like it would be simpler to have a new
SuiteSparse_NOGPL_jll package. Then in the default build, things stay as
they are. In the no gpl build use the new JLL. In the no GPL build, if
someone then tries to use a GPL SuiteSparse library, a warning can be
printed asking them to get a different build of Julia.

@DilumAluthge @andreasnoack @giordano Thoughts?

Co-authored-by: Viral B. Shah <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.10 Change should be backported to the 1.10 release backport 1.11 Change should be backported to release-1.11 building Build system, or building Julia or its dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants