-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add debian/fedora/arch/conda package information to build/pkgs, generate Dockerfiles and installation help; add tox.ini #29053
Comments
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:7
how do you generate these per package? by the way, Arch has namewise |
comment:8
Replying to @dimpase:
I created these files by manual copy-paste from the installation manual. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Author: Matthias Koeppe |
Reviewer: Dima Pasechnik |
comment:65
Thank you! |
comment:66
What's suprising to me is that these GH Actions don't time out, as these builds take quite a while... |
comment:67
It's quite generous - it provides 6 hours per job and up to 20 Jobs in parallel. |
Changed commit from |
comment:69
added follow-up ticket to the description |
This comment has been minimized.
This comment has been minimized.
comment:71
Somehow missed this in the fervor over other issues, but this kicks ass, thank you! I'll open a ticket to adding cygwin to this as well. repology.org also just recently added Cygwin. |
comment:72
One thing I might suggest is that rather than having the distro-specific commands hard-coded in That could be done in a follow-up though. |
comment:73
Replying to @embray:
see, mkoeppe practically buried me under his tickets, and then came you with #29118 :P |
comment:74
Replying to @embray:
The cygwin ticket is #29106 (Add cygwin package information). It would be great if also corresponding CI scripts could be added, to help elevate the cygwin platform to a first class target for sage. |
comment:75
Replying to @embray:
Thanks, I have added this suggestion to #29146, which already has a number of ideas for improvements. |
Changed branch from |
comment:77
(sorry, pushed to the wrong ticket by accident) |
Changed branch from u/mkoeppe/23c6334cf2927a4d917a27b3963471e8242d86a3 to |
comment:78
Somehow in recent merges I experienced failure to build the documentation in sage-on-gentoo. It seems the
I am thinking of removing the installation instruction from sage-on-gentoo but I am curious at what could have caused this. Especially when you consider that it started happening sometime after this ticket was merged. My last successful build of volker's branch is dated 20th of February and would corresponding to the first merging attempt of #21785. |
comment:79
Replying to @kiwifb:
Yes, as of #26964, these files are being generated by Distributors should build either from a bootstrapped source tree or from a sagelib sdist (see ticket #21516 - Fix sagelib sdist (src/setup.py sdist); which needs help).
Yes, there's no point in shipping the installation manual with a distribution package. |
comment:80
I see, a sagelib sdist is a good development as it makes it more like a regular python package I guess. But right now I am missing the ability to build sagelib directly from git head. Thanks for explanation. |
comment:82
Replying to @mkoeppe:
This patch might help https://github.com/conda-forge/python-feedstock/blob/master/recipe/patches/0014-Fix-cross-compilation-on-Debian-based-distros.patch |
https://doc.sagemath.org/html/en/installation/source.html#linux-recommended-installation
gives
apt-get install
andyum install
command lines to install system packages that will be recognized bybuild/pkgs/SPKG/spkg-configure.m4
.Several packages are missing, see comments in
https://github.com/sagemath/sage-prod/files/10659286/Dockerfile-ubuntu-minimal.gz
This ticket puts this information on a per-package basis into
build/pkgs/SPKG/distros/debian.txt
,.../fedora.txt
,.../arch.txt
for the following purposes:sage -info SPKG
prints out this information.Provide a
tox.ini
that generates and runsDockerfile
s that test the installation on various systems. Example (running 3 builds in parallel):Incidental change on this ticket:
gfortran
as atype=standard
package. It is a prereq of standard packagenumpy
. Its status as atype=optional
package predates the clarifications brought by the development of thespkg-configure.m4
mechanism (Meta-ticket: spkg-configure: Try to use as many system packages as possible #27330).Possible follow-up and related tickets:
apt-cyg
command lines at https://trac.sagemath.org/wiki/Cygwin64Port could be generated in the same way../bootstrap
) to produce the command lines shown in the manual. This ticket already prepares it by moving these command lines into separate.txt
files../bootstrap
time, generatesrc/requirements.txt
,src/constraints.txt
,src/setup.cfg
[install_requires]
frombuild/pkgs
SAGE_ROOT/environment.yml
forconda env create -f
.Resources:
CC: @dimpase @embray @antonio-rojas @isuruf @timokau
Component: build
Author: Matthias Koeppe
Branch:
23c6334
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29053
The text was updated successfully, but these errors were encountered: