mighty-gerbils / gerbil

Gerbil Scheme
https://cons.io
GNU Lesser General Public License v2.1
1.15k stars 110 forks source link

Support building against system gambit #1012

Closed chenrui333 closed 11 months ago

chenrui333 commented 11 months ago

👋 looks like with this PR, gerbil has changed to use the vendored gambit rather than system gambit. Can we add option to depend on the system gambit so that there is no need to do the git checkout. Thanks!

relates to https://github.com/Homebrew/homebrew-core/pull/150757

drewc commented 11 months ago

No, that's not possible. Gerbil does not build from Gambit per se, it builds itself using itself built from the same sources as Gambit.

If you are in charge of updating the formula I was planning on submitting it when we have a working point release but have a look here: https://github.com/mighty-gerbils/gerbil/tree/master/homebrew

That's a working formula for the rc of the latest release.

To repeat: We don't build from a binary gambit of any version. We build from the gambit source code of a very specific revision and make our own binaries. Without the gambit source tree we cannot build.

fare commented 11 months ago

For Nixpkgs, it is possible to either build from the code in git, or to replace that code with the source code of the Gambit package, if you insist. But either way, that's not building with the Gambit binary, just with a different version of the Gambit source code.

chenrui333 commented 10 months ago

No, that's not possible. Gerbil does not build from Gambit per se, it builds itself using itself built from the same sources as Gambit.

yeah, I know, i can see it from the git submodule setup, but just curious if there is any appetite to build against system installed gambit.

If you are in charge of updating the formula I was planning on submitting it when we have a working point release but have a look here: https://github.com/mighty-gerbils/gerbil/tree/master/homebrew

I am gonna check it out now.

To repeat: We don't build from a binary gambit of any version. We build from the gambit source code of a very specific revision and make our own binaries. Without the gambit source tree we cannot build.

okay, make sense, thanks for the note.