sagemath / sage-windows

Build tools for the Sagemath Windows installer
350 stars 47 forks source link

Sage 9.3 #59

Closed alexjbest closed 3 years ago

alexjbest commented 3 years ago

It would be great to have a release of this for Sage-9.3, is this possible? What are the steps needed to issue a new release? I would be happy to try and do this but wouldn't want to mess it up.

@embray I guess you are the expert, so pinging you just in case :) thanks.

robertjb20 commented 3 years ago

Please release the Windows version at the same time as the others, please. An ongoing problem with each release and should be rectified.

robertjb20 commented 3 years ago

Still no Sage 9.3 release for windows. Please release all operating system versions at the same time. You are alienating part of your users at the moment.

williamstein commented 3 years ago

Hi @robertjb20. The generous grant from the European Union that was responsible for funding the creation of a Windows version of SageMath ran from 2015-2019. The person (@embray) who did an amazing job getting this to happen is I think no longer employed at all to work on this project. So unfortunately it is currently up to volunteer effort by the community to create a Windows version of Sage.

@alexjbest -- maybe you should just try to figure out how to make a windows build? Are there instructions anywhere?

embray commented 3 years ago

It's not only that--I've been on extended travel lately and haven't had regular access to my Windows machine. Cloud-based virtualization platforms have proven too slow and unreliable in the past so I haven't tried touching it, though maybe things have gotten better in that area. I know @mkoeppe has made significant progress on building Sage for Windows on GitHub's build machines in multiple stages, in order to get around job time limits.

And my work laptop is too low on disk space at the moment to even run a Windows VM. (Part of what's taking up the space is my Sage sources which take up around 30GB ^^).

You can find information about how to build Sage on Cygwin yourself at https://doc.sagemath.org/html/en/installation/source.html#id4

In the meantime, as @williamstein wrote for the time being this is a volunteer project. If I'm not available, someone else with the resources is welcome to step in and help.

mkoeppe commented 3 years ago

The task of automatically creating a Windows installer via the existing CI scripts on GitHub Actions is tracked in https://trac.sagemath.org/ticket/30023 – if someone is willing to take the lead on this, I'll certainly be happy to help.

slel commented 3 years ago

I now have a Windows 10 laptop on which I installed Cygwin and successfully built Sage 9.3.

With some guidance, I'm happy to prepare a release and to join the effort on automating it at #45.

robertjb20 commented 3 years ago

Fantastic news. Where and when can I download your Sage 9.3 for Windows 10?

Robert

------------------ Original ------------------ From:  "Samuel @.>; Send time: Thursday, Jul 22, 2021 2:13 PM @.>; Cc: "Robert @.>; @.>; Subject:  Re: [sagemath/sage-windows] Sage 9.3 (#59)

I now have a Windows 10 laptop on which I installed Cygwin and successfully built Sage 9.3.

With some guidance, I'm happy to prepare a release and to join the effort on automating it at #45.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

embray commented 3 years ago

@slel Do you have access to upload releases to this repository? I think you do, but I'm a little confused about how GitHub's new (since I last messed with them) permissions structures work. If not I can try to fix that so you can upload the build you made.

slel commented 3 years ago

So far I built Sage 9.3 but not the installer. I'll try this weekend.

Should I set CFLAGS to something special, like

$ export CFLAGS='-mnoavx2'

as is done for the SageMath macOS app at

to better support older architectures?

Should I also set LDFLAGS to something special?

Could that help with #57?

embray commented 3 years ago

@slel Thanks for your help. Questions like this are why I wanted more time to work on it (and why it takes time) since it will take some experimentation. I don't know that it's that simple, but, if it worked for MacOS it's worth a try.

In principle the Makefile in this repository should set everything correctly as-is. It's supposed to be possible to work if you just run make. But I haven't tested it with Sage 9.3 yet so there might need to be patches or something.

If any additional environment variables need to be set (like the CFLAGS=-mnoavx2 you mentioned) they should be specified in the Makefile itself here: https://github.com/sagemath/sage-windows/blob/ebcc5e4e66ed6c6ced6f1e236cf6bf473cbb71d0/Makefile#L70

I can answer questions off-and-on but I'll also finally have some time after next week to work on this too.

embray commented 3 years ago

Almost had a working build of a Sage 9.3 installer, but was stymied by the GiaC documentation once again having misnamed files that caused problems for the installer. I'm trying a new build that excludes the GiaC documentation entirely.

embray commented 3 years ago

A build of Sage 9.3 has been uploaded: https://github.com/sagemath/sage-windows/releases/tag/0.6.3-9.3

Not totally sure it solves issues like #57 since we're still having problems with that upstream.

Sorry for the long wait. I hope to have a 9.4 build out sooner but it needs more testing (e.g. maybe an upgrade to Python 3.8 #60)