Created attachment 235635 [details] sbcl.diff sbcl 2.2.7 changed core compression library to zstd from zlib [1], update port to support that. Also rename ZLIB knob to COMPRESSION to better reflect what it does. While here, add sb-simd contrib module (fixes bug #265538) [1] https://github.com/sbcl/sbcl/blob/c321afb15b7308e28117a025972c8a220e7922be/NEWS#L37
Thanks for the patch, it fails with defailt options: ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: lib/sbcl/contrib/sb-simd.asd Error: Missing: lib/sbcl/contrib/sb-simd.fasl ===> Error: Plist issues found.
Hmm, it builds fine for me, both with default options and with COMPESSION.
Hmm, probably some dependency is missing? I think we have to wrap sb-simd into ARCH==amd64 only
Created attachment 235684 [details] fix COMPRESSION for zstd and add SIMD sb-simd is only built on CPUs that support AVX2. Conditioning on ARCH==amd64 is not enough. This new patch adds an additional config option SIMD.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=70419d445f16ec33270498abeb346318e3045bf1 commit 70419d445f16ec33270498abeb346318e3045bf1 Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2022-08-05 07:20:36 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2022-08-05 07:20:36 +0000 lang/sbcl: Add core compression and sb-simd module PR: 265576 Reported by: dmgk and jinxiaoyong@gmail.com lang/sbcl/Makefile | 32 ++++++++++++++++++++++++++------ lang/sbcl/pkg-plist | 31 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 6 deletions(-)
A commit in branch 2022Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc62245938b730b0e37e1039ee10c4ebd6447fc4 commit fc62245938b730b0e37e1039ee10c4ebd6447fc4 Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2022-08-05 07:20:36 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2022-08-05 07:22:44 +0000 lang/sbcl: Add core compression and sb-simd module PR: 265576 Reported by: dmgk and jinxiaoyong@gmail.com (cherry picked from commit 70419d445f16ec33270498abeb346318e3045bf1) lang/sbcl/Makefile | 32 ++++++++++++++++++++++++++------ lang/sbcl/pkg-plist | 31 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 6 deletions(-)