scipopt / scip

SCIP - Solving Constraint Integer Programs
Other
406 stars 67 forks source link

feat: added nix packaging #81

Closed dzmitry-lahoda closed 5 months ago

dzmitry-lahoda commented 10 months ago

nix build will produce include/lib for linux. Sure can make it work on mac easy.

note

So can not build and use in nix. Oneliner. World is happy.

Would be awesome ZIMPL to be git repo - i did not found such - download zip..

Ensured that by default git ignore does not ignores useful build.. files, but only out dir of cmake.

Ignored nix builds too.

dzmitry-lahoda commented 10 months ago

this is early stages.

nix has ideal ways to configure "featuers" via flags/ovverrideattrs and etc

idea is to have all deps native flake https://github.com/scivision/mumps/pull/74 and allow to override any deps and combinations, so can build engine per need.

Lichthagel commented 6 months ago

You might want to try my flake https://github.com/Lichthagel/scipopt-nix which I have been working on recently.

I used your trick to package tbb with cmake support. Apart from that it is more sophisticated than your initial draft in this PR:

If you notice anything wrong or missing feel free to raise an issue or PR.

Generally I think nix packaging should stay in a different repo, as the scipopt suite consists of a wide variety of tools and their maintainers are likely not acquainted with nix.

svigerske commented 5 months ago

Generally I think nix packaging should stay in a different repo, as the scipopt suite consists of a wide variety of tools and their maintainers are likely not acquainted with nix.

Indeed. I don't think we have the capacity to maintain and test this as well.