scivision / mumps

MUMPS via CMake
http://mumps-solver.org
MIT License
113 stars 45 forks source link

feat: nix support #74

Closed dzmitry-lahoda closed 6 months ago

dzmitry-lahoda commented 9 months ago

so anyone can build installing just nix.

and i can "mount" mumps into ipopt instead of hsl

scivision commented 9 months ago

Thanks I wonder if this might work even better in its own repository i.e. yours, as this one is focused on CMake and the two build systems might be out of sync or maintenance if combined.

dzmitry-lahoda commented 9 months ago

final state of mumps is like https://github.com/scipopt/scip or https://github.com/oneapi-src/oneTBB .

mumps in git and all build systems in same repo.

dzmitry-lahoda commented 9 months ago

only one build system is maintained and in sync 100% of changes - that which runs on ci as merge gate, others best effort.

dzmitry-lahoda commented 9 months ago

nix can read these:

    mumps-src = {
      url = "https://mumps-solver.org/MUMPS_5.6.2.tar.gz";
      flake = false;
    };

 "-D MUMPS_UPSTREAM_VERSION=5.6.2"

from cmake/json files to reduce brittelness easy

dmikushin commented 7 months ago

@dzmitry-lahoda , thank you for working on this! Alas, not so many people know what the NixOS is yet.

dzmitry-lahoda commented 7 months ago

I was working. I was able to assemble from lowest level to SCIP NLP. Stuck on compling Python wrapper on SCIP.

In general experience was good. I could assemble any parameters as I wished too accross whole stack (like double support).

Hope people will be more aware of this sure.

dzmitry-lahoda commented 7 months ago

CMake and the two build systems might be out of sync or maintenance if combined.

@scivision Nix is using CMake, it is not separate build system. They could be, but if Nix well written they will not, and if will - nix person will send PR.

dzmitry-lahoda commented 6 months ago

closing for now. may be next time.