Skip to content

Singular 4.4.1 + Flint 3.3.2 #40033

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

Merged
merged 2 commits into from
May 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ in the Installation Guide.
for a discussion of suitable compilers.

- Build tools: GNU `make`, GNU `m4`, `perl` (including
`ExtUtils::MakeMaker`), `ranlib`, `git`, `tar`, `bc`.
`ExtUtils::MakeMaker`), `ranlib`, `git`, `tar`, `bc`, `patch`.
See [build/pkgs/_prereq/SPKG.rst](build/pkgs/_prereq/SPKG.rst) for
more details.

Expand Down
2 changes: 1 addition & 1 deletion build/bin/sage-apply-patches
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ patchdir="../patches"
patch_subdir=""
patch_strip="-p1"
patch_args_sep=""
patch_args="--no-backup-if-mismatch"
patch_args=""

while [[ $# > 0 ]]; do
if [[ -z "$patch_args_sep" ]]; then
Expand Down
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/alpine.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ gcc
g++
ca-certificates
coreutils
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/arch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ bc
gcc
# Needed for 4ti2:
which
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/conda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ perl
python
tar
bc
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/debian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ gcc
g++
# Needed if we download some packages from a https upstream URL
ca-certificates
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/fedora.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ diffutils
perl-IPC-Cmd
# Needed to build gcc
flex
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ automake
bash
dash
python # python metaport for bootstrapping the build
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/gentoo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ dev-libs/libxml2
sys-apps/findutils
sys-apps/which
sys-apps/diffutils
sys-devel/patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/nix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ gnutar
bc
gcc
bash
gnupatch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/opensuse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ gzip
# Issue #32368
findutils
diffutils
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/slackware.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ flex
ca-certificates
libxml2
cyrus-sasl
patch
1 change: 1 addition & 0 deletions build/pkgs/_prereq/distros/void.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ libffi-devel
zlib-devel
# to build python3 with the crypto module; there may be other packages that need it
libxcrypt-devel
patch
4 changes: 2 additions & 2 deletions build/pkgs/flint/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=flint-VERSION.tar.gz
sha1=35af6e2de8765a841952438f3c915d0505b983b6
sha256=3259e5ecbb07ea3bebeff025f846a494087be92b0aaf0636d6e36128963cadda
sha1=ebca3a55e48373c2eeee6c172051f3177845e121
sha256=577d7729e4c2e79ca1e894ad2ce34bc73516a92f623d42562694817f888a17eb
upstream_url=https://github.com/flintlib/flint/releases/download/vVERSION/flint-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/flint/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.3
3.2.2
40 changes: 0 additions & 40 deletions build/pkgs/patch/SPKG.rst

This file was deleted.

4 changes: 0 additions & 4 deletions build/pkgs/patch/checksums.ini

This file was deleted.

4 changes: 0 additions & 4 deletions build/pkgs/patch/dependencies

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/alpine.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/arch.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/conda.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/debian.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/fedora.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/freebsd.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/homebrew.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/macports.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/opensuse.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/repology.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/slackware.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/distros/void.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/package-version.txt

This file was deleted.

16 changes: 0 additions & 16 deletions build/pkgs/patch/patch.exe.manifest

This file was deleted.

16 changes: 0 additions & 16 deletions build/pkgs/patch/spkg-configure.m4

This file was deleted.

13 changes: 0 additions & 13 deletions build/pkgs/patch/spkg-install.in

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/patch/type

This file was deleted.

2 changes: 1 addition & 1 deletion build/pkgs/pkgconf/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| patch xz
| xz

----------
All lines of this file are ignored except the first.
4 changes: 2 additions & 2 deletions build/pkgs/singular/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=singular-VERSION.tar.gz
sha1=1f678e1cc756fd8dc29dcdef5ae67441b6bcc779
sha256=c269abbd24c84fe33edc0af1e78b8fec53d8e94338410ac06c2666cfd40d43f2
sha1=0578f25204102ba70cb56c7543b37e98a389f22a
sha256=6a4fbaaed05b89c35bff3b1c5e124344a088097f81affe129c9ae619b282b49b
upstream_url=ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/${VERSION_MAJOR}-${VERSION_MINOR}-${VERSION_MICRO}/singular-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/singular/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.4.0
4.4.1
3 changes: 2 additions & 1 deletion src/doc/en/developer/portability_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,13 @@ example, the file ``build/pkgs/_prereq/distros/debian.txt`` contains the followi
g++
# Needed if we download some packages from a https upstream URL
ca-certificates
patch

From this information, we know that we can use the following command
on our container to install the necessary build prerequisites::

root@39d693b2a75d:/sage# apt-get install binutils make m4 perl python3 \
tar bc gcc g++ ca-certificates
tar bc gcc g++ ca-certificates patch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Expand Down
Loading