I think it's time to provide binaries (again) for Windows and macOS
since next FriCAS release, without X11 (hyperdoc) support.

First, X11 is badly supported on these platforms.
Second, without the need to support X11, it'll be much easier to
package for these platforms.

On 10/10/18 8:01 PM, Grégory Vanuxem wrote:
Hello,

Having some troubles to sleep this night and instead of counting sheep I have tried to rebuild and test FriCAS on my freshly reinitialized Windows 10. This message is just about testing FriCAS on Windows 10.

First I rebuild FriCAS on an updated MinGW64/MSYS2-X64 system [1] .
I found as always an issue relative to 'mkdir' (cfuns-c.c around line 113), I will come back a little later, but no problem in 'make check', it's a not always the case, that's a good news. No segfault etc. It seems some good progress happen in the SBCL and MinGW communities.

The advantage of MinGW is that it's a build directly based on the Windows API, not using the Cygwin dll for example which emulate a lot more of  UNIX-like POSIX norms. Moreover it seemed to me that CLisp on Cygwin no longer supports dumping an image. Actually the binary version of FriCAS for Windows available is version 1.2.5.

Better news now.

After I tried to build FriCAS on  a Debian based Linux which uses WSL. And it's a good news : I tried Kali Linux available on the Microsoft store and after an 'apt-get update && apt-get install sbcl gcc make' I was able to successfully build FriCAS 1.3.4, install it and all the tests passed smoothly.

I did some simple comparison benchmarks of the build process between MinGW64 and Linux with WSL

                       MinGW64 - WSL Linux
configure        ~ 39 s           ~ 9 s                [2]
make             ~ 5.46 min     ~ 4.28 min        [3]
make check   ~ 2.2 min       ~ .3 min            [4]

FriCAS on Linux for Windows seems relatively competitive.

And for the fun I installed Xorg and Xrdp on Kali for Windows WSL (there is also Debian,Ubuntu etc..). Using the Xrdp protocol I was able to run XFCE, FriCAS and HyperDoc on Windows:

https://drive.google.com/open?id=1-LTs3ezIPUaj4q4JseRlNaFcPnX-m6oJ

and a quick benchs, first Kali against MinGW64 and later, the last 3 screenshots, on a real Linux, Parrot, make & make test & matrix multiplication:

https://drive.google.com/open?id=1v4XDegvs-klcip8w1gP3CI3lI6ZWvSaO (61.5 min vs 67.6 min)

Parrot for a real Linux "comparison"

https://drive.google.com/open?id=1UCpMVScV6551OCDhh6LS_v5i04vVhbNx (building : 2.4 min) https://drive.google.com/open?id=1S8KvJ17Nhyiwgt4NeUht199a90fUp8Cq ('make test' : 1.2 min) https://drive.google.com/open?id=1raDAVVs1Dpb84tF7ZhOr7FkifAw9SLgO (1000x1000 SF matrix multiplication 55.5 min)

And after I had to go work :)

That's all.

I hope you enjoy and I would like to test this with you with other distros in the Microsoft store, document that and eventually make packages availables.

--
Greg


[1] msys2-x86_64-20180531.exe - https://www.msys2.org/ - SBCL x64 binary from http://www.sbcl.org/platform-table.html - 1.4.2
[2] https://drive.google.com/open?id=13lZNNtGHmZiLOom9kxIaQNCPc511nA41
[3] https://drive.google.com/open?id=1KjtdDhF1j0UfbadCP6WLZVtoBid_aNDI
[4] https://drive.google.com/open?id=16cq6a_d2jDdGTiIFr7S4nu_eJL-gr-5a

--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to