On Sat, Jul 23, 2022 at 09:16:11PM +0800, Qian Yun wrote:
> 
> >>ECL fails to build on macOS with git HEAD.
> >
> >Could you say more about this?  Main change is that
> >FriCAS now generates extern declarations for C
> >functions that we call via FFI.  That is supposed
> >to replace Sage patch (which IMO is problematic).
> 
> Glad to know you are trying to fix this issue.
> I'm attaching the failure log and generated
> fricas-lisp.c.

Actually, here relevant file is fricas-lisp.eclh

AFAICS we need slight change to fricas-lisp.lisp:

--- ../trunk.cur/src/lisp/fricas-lisp.lisp      2022-07-21 15:46:46.797054021 
+0000
+++ fricas-lisp.lisp    2022-07-23 15:51:19.552480068 +0000
@@ -571,8 +572,8 @@
         (let ((l-ret (c-type-to-ffi return-type))
                wrapper)
           `(progn
-            ,(ext:with-backend :c/c++
-               `(FFI:clines ,(make_extern return-type c-name arguments)))
+            (ext:with-backend :c/c++
+               (FFI:clines ,(make_extern return-type c-name arguments)))
             ,(if strs
                 (let* ((sym (gensym))
                        (wargs (mapcar #'car fargs))

> For CI logs, if you are logged into GitHub, you will be able
> to see the logs.  But recent CI status for macOS build
> is "canceled", which is strange.  I'm restarting them
> and one has passed (they are testing sbcl on macOS after all).


Hmm, I saw in Github message that they no longer want to support
macos-10.15.  They turned of support for a day when I made 3 commits,
maybe that is the reason.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/20220723160904.GA352%40fricas.math.uni.wroc.pl.

Reply via email to