Reason for not shipping the mumps sources #15
Replies: 4 comments 4 replies
-
I don't know of any MUMPS source Git mirror. The MUMPS website requests each user register via email. However, via discussion with MUMPS authors, they approved my CMake method of downloading from their servers. I imagine this allows them to track general MUMPS popularity to help justify their funding by counting downloads from their server. Another reason is that I have several such packages I make CMake builds for, and for which I use a similar FetchContent to download source. It would be too many combinations for me to maintain across libraries and versions. A possible alternative is to allow the user to specify a local archive file, or have CMake itself cache the archive file, outside the build directory. This would avoid the redownloading for every fresh build directory. |
Beta Was this translation helpful? Give feedback.
-
This seems relevant, I guess? Sounds like there is already functionality to store the fetched content somewhere else. |
Beta Was this translation helpful? Give feedback.
-
I think this does what you want, the latest main branch changed in cb5adab The source is now cached per MUMPS version, and doesn't need to re-download for new build directory. |
Beta Was this translation helpful? Give feedback.
-
Nevermind. so instead of killing the whole binary dir I just kill everything but |
Beta Was this translation helpful? Give feedback.
-
Is there a reason you don't just upload all the different mumps version as a git history into this repo, so users don't have to first download the sources? For my workflow (developer of software depending on Ipopt and therefore mumps), this is better because I don't have to wait for the download on every fresh cmake configuration step and work with git submodules instead.
I very much like the ease of use of your CMake files and therefore I wonder: Have you considered mirroring MUMPS here on github or do you know of any other git mirror?
Beta Was this translation helpful? Give feedback.
All reactions