about summary refs log tree commit diff
path: root/nix/utils
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-08-13T20·24+0200
committersterni <sternenseemann@systemli.org>2021-08-24T22·00+0000
commitd7e70b1d7270548272267e9b01dc9867f94f5f74 (patch)
tree492becced0f6f1862f14783f0fd07f40656896a7 /nix/utils
parent02566cdcfb15043070c990ec17c0405313a13874 (diff)
feat(nix/buildLisp): add ccl r/2772
This adds support for Clozure's CL implementation to buildLisp. This is
quite trivial in comparison to ECL since SBCL and CCL have very similar
in how they work (so much so that CCL also suffers from b/136).

Also the similarities in the code actually added here are striking, so
I'll try to make an effort to reduce the code duplication in the
future.

To fix builds with CCL the following changes were made:

* //3p/lisp/nibbles: The double inclusion of the types.lisp file was
  fixed. CCL doesn't like double definitions and refuses to compile
  otherwise.

* //3p/lisp/physical-quantities: Update to a new bug fix release which
  contains a compilation fix for CCL.

* //3p/lisp/routes: apply a patch fixing the build which was previously
  failing due to a double definition.

* //3p/lisp/usocket: only depend on sb-bsd-sockets for SBCL and ECL, the
  latter of which seems to have a SBCL compatible implementation of the
  package.

* Conditionally include a few CCL-specific source files and add
  `badImplementation` entries for the remaining failures which are
  //fun/gemma (to be expected) and //web/panettone which fails with an
  incredibly vague message.

Change-Id: I666efdc39a0f16ee1bb6e23225784c709b04e740
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3350
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'nix/utils')
0 files changed, 0 insertions, 0 deletions