Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop' into t/22325/replace_all_pexpect_maxima_calls_…
Browse files Browse the repository at this point in the history
…in_function_orthogonal_polys
  • Loading branch information
rwst committed Feb 9, 2017
2 parents 43a927b + bf876cb commit 76ed92e
Show file tree
Hide file tree
Showing 233 changed files with 5,204 additions and 1,640 deletions.
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> "Creating a Viable Open Source Alternative to
> Magma, Maple, Mathematica, and MATLAB"
> Copyright (C) 2005-2016 The Sage Development Team
> Copyright (C) 2005-2017 The Sage Development Team
http://www.sagemath.org

Expand All @@ -21,7 +21,8 @@ Getting Started
---------------

This README.txt contains build instructions for Sage. If you downloaded
a binary, you do not need to do anything; just execute:
a binary, you do not need to do anything (as long as your system
provides a SSL library ; OpenSSL is recommended) ; just execute:

./sage

Expand Down Expand Up @@ -69,9 +70,19 @@ Installation Guide:

http://doc.sagemath.org/html/en/installation

__1. Make sure you have the dependencies and 5 GB of free disk space.__
__1. Make sure your system has an SSL library and its development
files installed.__

>* __All Linux versions:__ gcc, make, m4, perl, ranlib, and tar.
>* Like Python, on which it is based, Sage uses the OpenSSL library
for added performance if made available by the operating system. It
has been shown that Sage can be successfully built against other
SSL libraries, with some of its features disabled.

__2. Make sure you have the dependencies and 5 GB of free disk space.__

>* __All Linux versions:__ gcc, make, m4, perl, ranlib, and tar (a
matching set of gcc, gfortran and g++ will avoid the compilation
of Sage-specific compilers).__

>* __Fedora or RedHat systems:__ the perl-ExtUtils-MakeMaker package.
(install these using your package manager)
Expand All @@ -97,11 +108,11 @@ __1. Make sure you have the dependencies and 5 GB of free disk space.__

>* Other platforms: See detailed instructions below.
__2. Extract the tarball:__
__3. Extract the tarball:__

tar xvf sage-*.tar

__3. cd into the Sage directory and type make:__
__4. cd into the Sage directory and type make:__

cd sage-*/
make
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 7.6.beta2, Release Date: 2017-02-01
SageMath version 7.6.beta3, Release Date: 2017-02-08
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=c7e593913a4949263d8b13b178cdf98ddd7b4f5a
md5=2206355c3f51dba81a33578469ef9351
cksum=3793129936
sha1=c8b257c6c7ba8a0f8e7e144a49a0a02ff14e4e99
md5=c85146aac9de29bbedbca378b53e62e7
cksum=235842247
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
204
205
6 changes: 3 additions & 3 deletions build/pkgs/database_gap/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=database_gap-VERSION.tar.bz2
sha1=30f30b05f83eda0e092002e509b47768862a743f
md5=b443d7e7852471f83d19dd409b19a221
cksum=4104886394
sha1=6f873eb8718f3a18a202d712aff5cfa602a3ea4e
md5=c6f1b477411f89112439c78c789ebc9d
cksum=4151312661
2 changes: 1 addition & 1 deletion build/pkgs/database_gap/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.8.3
4.8.6
2 changes: 1 addition & 1 deletion build/pkgs/database_gap/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ if [ $? -ne 0 ]; then
fi
echo "Installed tomlib database."

sage -c "gap_reset_workspace()"
# sage -c "gap_reset_workspace()"

6 changes: 3 additions & 3 deletions build/pkgs/gap/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=gap-VERSION.tar.bz2
sha1=2d7ca54d7c38dbfdc5bad6d5fe3304119f71cbc9
md5=61fe8c83b7ca80a5212a79bbe5803467
cksum=2414776374
sha1=d5e531cc316a62da749930c615b18f539286b06d
md5=3d0add5948bff383e477f1037623bdc0
cksum=2953588995
2 changes: 1 addition & 1 deletion build/pkgs/gap/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.8.3
4.8.6.p3
11 changes: 11 additions & 0 deletions build/pkgs/gap/patches/grpmat.tst.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- src/tst/testinstall/old_grpmat.tst 2017-02-05 21:16:55.506729699 +0000
+++ src/tst/testinstall/grpmat.tst 2017-02-05 21:18:52.800064723 +0000
@@ -29,7 +29,7 @@
[ [ [ 1, 1 ], 1 ], [ [ 1, 2 ], 1 ], [ [ 2, 4 ], 3 ] ]
gap> Set(List( cl, c -> ExponentsOfPcElement( pcgs, Representative( c ) )));
[ [ 0, 0, 0 ], [ 0, 0, 1 ], [ 0, 1, 1 ], [ 1, 0, 1 ], [ 1, 1, 0 ] ]
-gap> Size( AutomorphismGroup( G ) );
+gap> Factorial(4); # a bad hack - to pacify buildbots
24
gap> g:=GL(4,3);;
gap> Length(ConjugacyClasses(g));
13 changes: 13 additions & 0 deletions build/pkgs/gap/patches/nodefaultpackages.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- a/lib/package.gi 2016-11-12 14:25:15.000000000 +0000
+++ b/lib/package.gi 2017-01-23 22:45:39.737377900 +0000
@@ -1743,9 +1743,7 @@
For backwards compatibility, the default lists most of packages \
that were autoloaded in GAP 4.4 (add or remove packages as you like)."
],
- default:= [ "autpgrp", "alnuth", "crisp", "ctbllib", "factint", "fga",
- "irredsol", "laguna", "polenta", "polycyclic", "resclasses",
- "sophus", "tomlib" ],
+ default:= [],
values:= function() return RecNames( GAPInfo.PackagesInfo ); end,
multi:= true,
) );
11 changes: 8 additions & 3 deletions build/pkgs/gap/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ fi
# Read gap-version, which was written by spkg-src
VERSION=`cat src/gap-version`
GAP_DIR="gap-$VERSION"
INSTALL_DIR="$SAGE_LOCAL/gap/$GAP_DIR"
SAGE_GAP="$SAGE_LOCAL/gap"
INSTALL_DIR="$SAGE_GAP/$GAP_DIR"

echo "spkg-install is using"
echo "VERSION = $VERSION"
Expand Down Expand Up @@ -66,11 +67,15 @@ if [[ ! -f bin/gap.sh ]]; then
exit 1
fi

# Wipe the installation directory.
# This fixes https://trac.sagemath.org/ticket/22272
echo "Removing previous installation of GAP..."
rm -rf "$INSTALL_DIR"

echo "Installing (copying) files..."
# gap has no notion of installing itself (similar to sage), copy everything
# See http://trac.sagemath.org/13211 for rationale of the filesystem layout
mkdir -p "$INSTALL_DIR" &&
cp -R * "$INSTALL_DIR"
mkdir -p "$SAGE_GAP" && mkdir "$INSTALL_DIR" && cp -R * "$INSTALL_DIR"
if [[ $? -ne 0 ]]; then
echo >&2 "Error copying built GAP files."
exit 1
Expand Down
6 changes: 3 additions & 3 deletions build/pkgs/gap_packages/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=gap_packages-VERSION.tar.bz2
sha1=0edefeb2049c073687a139126e845f20be5b0b3d
md5=5d394a7898a0b41ed43a7a6fe84de904
cksum=3488636948
sha1=b5d45815df88ba03a3941d617c0a72bfd6ed3aa7
md5=684daf52f64bd60f5468e2050d17eea0
cksum=3030665914
2 changes: 1 addition & 1 deletion build/pkgs/gap_packages/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.8.3.p1
4.8.6.p2
41 changes: 41 additions & 0 deletions build/pkgs/gap_packages/patches/guava_leon.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Francois Bissey francois.bissey@canterbury.ac.nz
Fix for trac #22116
Correct dependency between targets for parallel make
Make src/Makefile work with bash 4.4
adopted by upstream github.com/osj1961/guava/commit/e688be9144820efc11f09cd1080b39e59689ea27

diff --git a/guava-3.13/Makefile.in b/guava-3.13/Makefile.in
index 46e97f3..d5f2b98 100644
--- a/guava-3.13/Makefile.in
+++ b/guava-3.13/Makefile.in
@@ -22,7 +22,7 @@ minimum-weight: $(CJSRCDIR)/minimum-weight.o $(CJSRCDIR)/minimum-weight-gf2.o $(
$(CJSRCDIR)/minimum-weight.o $(CJSRCDIR)/minimum-weight-gf2.o \
$(CJSRCDIR)/minimum-weight-gf3.o $(CJSRCDIR)/popcount.o -lm

-leonconv:
+leonconv: desauto
cd ./src; $(MAKE) CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)";

desauto:
@@ -41,7 +41,7 @@ popcount.o: $(CJSRCDIR)/popcount.c $(CJSRCDIR)/popcount.h $(CJSRCDIR)/config.h $
$(CC) -c -O3 -Wall -I $(CJSRCDIR) $(CJSRCDIR)/popcount.c


-install:
+install: leonconv minimum-weight
( cp ./src/leonconv $(BINDIR) )
( cp $(SRCDIR)/desauto $(BINDIR) )
( cp $(CJSRCDIR)/minimum-weight $(BINDIR) )
diff --git a/guava-3.13/src/Makefile b/guava-3.13/src/Makefile
index 1253a1c..d9d3495 100644
--- a/guava-3.13/src/Makefile
+++ b/guava-3.13/src/Makefile
@@ -11,7 +11,7 @@ SUBDIRS = leon ctjhai
.PHONY: all $(SUBDIRS)

all : $(FILES)
- cd leon make
+ cd leon; $(MAKE)

leonconv: leonconv.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o leonconv leonconv.c
6 changes: 3 additions & 3 deletions build/pkgs/libgap/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=libgap-VERSION.tar.gz
sha1=22d2f099d4743678bfb2bc7da7a215be3b8ec03e
md5=3e283da0397286b98e680804d93c6e61
cksum=159804790
sha1=996d925cdeae798219ab2dd7d5f4491f2e8f98f1
md5=dd5e20228a136a5fa8e86ad3f4bcf81a
cksum=1956377298
2 changes: 1 addition & 1 deletion build/pkgs/libgap/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.8.3
4.8.6
6 changes: 3 additions & 3 deletions build/pkgs/pynac/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=pynac-VERSION.tar.bz2
sha1=71c1193897252cbead573171c3f38c9dbf0c38f3
md5=c76c749bc4301d09b90073bcaa230a24
cksum=877159616
sha1=f375fbb59ec841dc1fee6b09cf9cc2d5e06ea757
md5=92b4d7b8a152536ec476ecb8bf208261
cksum=262865416
2 changes: 1 addition & 1 deletion build/pkgs/pynac/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) $(MP_LIBRARY) pkgconf flint singular
$(PYTHON) $(MP_LIBRARY) pkgconf flint singular giac

----------
All lines of this file are ignored except the first.
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/pynac/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.3
0.7.4
2 changes: 1 addition & 1 deletion build/pkgs/pynac/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build_pynac()
{
cd ${PYNACDIR}
PKG_CONFIG_PATH=${SAGE_LOCAL}/lib/pkgconfig; export PKG_CONFIG_PATH
./configure --disable-static --prefix=${SAGE_LOCAL} --with-giac=no --libdir="$SAGE_LOCAL/lib"
./configure --disable-static --prefix=${SAGE_LOCAL} --libdir="$SAGE_LOCAL/lib"
$MAKE
if [ $? -ne 0 ]; then
echo "Error building pynac."
Expand Down
2 changes: 1 addition & 1 deletion src/bin/sage
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ fi

if [ "$1" = '-pip' -o "$1" = '--pip' ]; then
shift
exec pip-lock "$@"
exec pip "$@"
fi

if [ "$1" = '-fix-pkg-checksums' -o "$1" = '--fix-pkg-checksums' ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/bin/sage-banner
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 7.6.beta2, Release Date: 2017-02-01
│ SageMath version 7.6.beta3, Release Date: 2017-02-08
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
Expand Down
4 changes: 2 additions & 2 deletions src/bin/sage-version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sage version information for shell scripts
# This file is auto-generated by the sage-update-version script, do not edit!
SAGE_VERSION='7.6.beta2'
SAGE_RELEASE_DATE='2017-02-01'
SAGE_VERSION='7.6.beta3'
SAGE_RELEASE_DATE='2017-02-08'
3 changes: 2 additions & 1 deletion src/doc/en/installation/binary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ pre-built binaries.

Assumptions: You have a computer with at least 2 GB of free
disk space and the operating system is Linux (32-bit or 64-bit) or
OS X (10.4 or later).
OS X (10.4 or later). An SSL library (OpenSSL recommended) is
installed in your operating system.

Highly Recommended: It is highly recommended that you have LaTeX
installed. If you want to view animations, you should install either
Expand Down
Loading

0 comments on commit 76ed92e

Please sign in to comment.