[PATCH] support build FRICASsys as Lisp core image

5 views
Skip to first unread message

Qian Yun

unread,
Oct 6, 2025, 8:08:15 AM (9 days ago) Oct 6
to fricas-devel
The purpose of this patch is to support fricas installation
on homebrew. (Avoid binary signing issue on macos, see [1], [2].)

I've tested this patch on SBCL/CLISP/ClozureCL/CMUCL.
This Lisp core approach does not apply for ECL/GCL.
I've test it on Linux, and SBCL/CLozureCL on Windows.
It's awkward on Windows because it is not standalone
executable, but it works if you manually use Lisp
to load the core file.

After this patch is merged, I'll integrate this patch
into homebrew formula, so that macos users should install
fricas without issues.

- Best,
- Qian

[1]
https://github.com/Homebrew/homebrew-core/pull/205760#issuecomment-2689683141

[2] https://github.com/fricas/fricas/issues/202
build-lisp-core.patch

Waldek Hebisch

unread,
Oct 7, 2025, 5:27:30 PM (7 days ago) Oct 7
to fricas...@googlegroups.com
On Mon, Oct 06, 2025 at 08:08:09PM +0800, Qian Yun wrote:
> The purpose of this patch is to support fricas installation
> on homebrew. (Avoid binary signing issue on macos, see [1], [2].)
>
> I've tested this patch on SBCL/CLISP/ClozureCL/CMUCL.
> This Lisp core approach does not apply for ECL/GCL.
> I've test it on Linux, and SBCL/CLozureCL on Windows.
> It's awkward on Windows because it is not standalone
> executable, but it works if you manually use Lisp
> to load the core file.
>
> After this patch is merged, I'll integrate this patch
> into homebrew formula, so that macos users should install
> fricas without issues.

IIUC on Windows the change to Makefile.in will try to
install file with extention 'core.exe'. Looks awkward, but
I do not know if this creates any trouble.

Otherwise looks OK.

--
Waldek Hebisch

Qian Yun

unread,
Oct 7, 2025, 8:43:29 PM (7 days ago) Oct 7
to fricas...@googlegroups.com
It will be installed as "FRICASsys.exe.core", so not a problem.
On the other hand, the shell script will be installed as
"FRICASsys.exe", this should not be a problem:
1. this installation method should not be preferred on Windows.
2. if someone insisted on it, they can wrote a ".bat" file
during packaging. Because they have to bundle the Lisp compiler
together with FriCAS.

- Qian

> Otherwise looks OK.
>

Reply all
Reply to author
Forward
0 new messages