Repairs and improvements for building with external dependencies #807
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch series repairs and improves support for configuring Chez Scheme to use external copies of some dependencies normally included as submodules. Overall, these changes let Chez Scheme be built in ways that already worked to build older versions of Chez Scheme and the copy of Chez Scheme distributed with Racket (because the configure script in the Racket sources tried less hard to make sure the dependencies were really present).
zlib
andlz4
submodules, which are currently noops, to actually perform checks unless configured withZLIB=<zlib>
orLZ4=<lz4>
, respectively.ZUO=<zuo>
argument. Rather than simply skip the submodule check and require the user then to build withmake ZUO=zuo
(or to use Zuo directly), this patch records the configuration choice inMf-config
and slightly adjustsMakefile.in
to adapt more gracefully to this mode.STEXLIB=<stex>
argument toconfigure
and updatesbuild.zuo
as I had considered in Guix-related build system enhancements racket/racket#4203 (comment) after racket/racket@d897379:In fact, with these changes cherry-picked as downstream patches, my draft update of the Guix package to Chez Scheme 10 is able to share its entire build recipe exactly with our
chez-scheme-for-racket
package (which we used for the architectures newly supported in version 10 and will continue to use for bootstrapping).