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

Commit e0b44e4

Browse files
committed
Merge branch 'develop' into t/14801/public/piecewise-2
2 parents 64bbe53 + 0aec256 commit e0b44e4

File tree

654 files changed

+28605
-15596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

654 files changed

+28605
-15596
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ build: all-build
1313

1414
# Defer unknown targets to build/make/Makefile
1515
%::
16+
@if [ -x relocate-once.py ]; then ./relocate-once.py; fi
1617
$(MAKE) build/make/Makefile
1718
+build/bin/sage-logger \
1819
"cd build/make && ./install '$@'" logs/install.log

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sage version 7.1.rc1, released 2016-03-17
1+
SageMath version 7.2.beta4, Release Date: 2016-04-12

build/bin/sage-uncompress-spkg

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,29 @@ if __name__ == '__main__':
1818
filename = sys.argv[1]
1919
if tarfile.is_tarfile(filename):
2020
# tar file, possibly compressed:
21-
with tarfile.open(filename, 'r:*') as archive:
22-
if len(sys.argv) == 2:
23-
archive.extractall()
24-
else:
25-
member = sys.argv[2]
26-
if member in archive.getnames():
27-
SPKG_TXT = archive.extractfile(member)
28-
sys.stdout.write(SPKG_TXT.read())
29-
else:
30-
exit(1)
21+
archive = tarfile.open(filename, 'r:*')
22+
if len(sys.argv) == 2:
23+
archive.extractall()
24+
else:
25+
member = sys.argv[2]
26+
if member in archive.getnames():
27+
SPKG_TXT = archive.extractfile(member)
28+
sys.stdout.write(SPKG_TXT.read())
29+
exit(1)
30+
archive.close()
3131
exit(0)
3232
if zipfile.is_zipfile(filename):
3333
# zip file:
34-
with zipfile.ZipFile(filename, 'r') as archive:
35-
if len(sys.argv) == 1:
36-
archive.extractall()
34+
archive = zipfile.ZipFile(filename, 'r')
35+
if len(sys.argv) == 2:
36+
archive.extractall()
37+
else:
38+
member = sys.argv[2]
39+
if member in archive.namelist():
40+
sys.stdout.write(archive.read(member))
3741
else:
38-
member = sys.argv[2]
39-
if member in archive.namelist():
40-
sys.stdout.write(archive.read(member))
41-
else:
42-
exit(1)
42+
exit(1)
43+
archive.close()
4344
exit(0)
4445
else:
4546
print ('Error: Unknown file type: {}'.format(filename))

build/make/deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ sagelib: \
149149
$(EXTCODE)
150150
if [ -z "$$SAGE_INSTALL_FETCH_ONLY" ]; then \
151151
cd $(SAGE_SRC) && source bin/sage-env && \
152-
sage-logger 'time $(MAKE) sage' '$(SAGE_LOGS)/sage-$(SAGE_VERSION).log'; \
152+
sage-logger 'time $(MAKE) sage' '$(SAGE_LOGS)/sagelib-$(SAGE_VERSION).log'; \
153153
fi
154154

155155

build/pkgs/cddlib/spkg-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cd src
2828
cp ../patches/random.{c,h} lib-src/
2929
cp ../patches/random.{c,h} lib-src-gmp/
3030

31-
# Required by sage.geometry.polyhedra
31+
# Required by sage.geometry.polyhedron
3232
cp ../patches/cdd_both_reps.c src/
3333
cp ../patches/cdd_both_reps.c src-gmp/cdd_both_reps.c
3434

build/pkgs/configure/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=cbc97440ac6c28ba5bb14cbc9257657aeab2b094
3-
md5=70c593564f8311ce050b593ae2e38755
4-
cksum=2867718865
2+
sha1=a688b4151ebffbd892199e47edf21f0e295ae06f
3+
md5=1da510585db296e3930eaa33cbb40a87
4+
cksum=3334341322
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
151
1+
158

build/pkgs/csdp/type

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
experimental
1+
optional

build/pkgs/cysignals/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=cysignals-VERSION.tar.bz2
2-
sha1=392505d05d3cd849a94da614bd6d52aadf5a0db5
3-
md5=a2538b783d654f35d0c40d8a465470b0
4-
cksum=3111713488
2+
sha1=26b5fa9ac855af6ab33157fe7c8f095ca086063b
3+
md5=31e95c68349b33b7781969e0d1ecab91
4+
cksum=939390582
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.1.0

build/pkgs/cython/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=Cython-VERSION.tar.gz
2-
sha1=fc574c5050cd5a8e34435432e2a4a693353ed807
3-
md5=157df1f69bcec6b56fd97e0f2e057f6e
4-
cksum=346066359
2+
sha1=32f12b8dd976111668ef8ba7e716a850869a0bf6
3+
md5=14fbc970f4a856845e633cbc09e61048
4+
cksum=2292891014

build/pkgs/cython/package-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.23.4.p0
1+
0.24.p0

build/pkgs/cython/patches/sig_includes.patch

Lines changed: 0 additions & 66 deletions
This file was deleted.

build/pkgs/database_gap/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=database_gap-VERSION.tar.bz2
2-
sha1=46760a6a606eb1eea55b86f12d429a86c97740d7
3-
md5=87273df691a15bcf6b4b75b372cb6d0c
4-
cksum=1428556919
2+
sha1=30f30b05f83eda0e092002e509b47768862a743f
3+
md5=b443d7e7852471f83d19dd409b19a221
4+
cksum=4104886394
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.9
1+
4.8.3

build/pkgs/database_gap/spkg-src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ shopt -s extglob
1313
# Remove old sources and download new
1414
rm -rf src
1515
if [ -z "$UPSTREAM_SOURCE_TARBALL" ]; then
16-
tar xjf <( curl http://www.gap-system.org/pub/gap/gap47/tar.bz2/gap4r7p8_2015_06_09-20_27.tar.bz2)
16+
tar xf <( curl http://www.gap-system.org/pub/gap/gap47/tar.bz2/gap4r7p8_2015_06_09-20_27.tar.bz2)
1717
else
18-
tar xjf "$UPSTREAM_SOURCE_TARBALL"
18+
tar xf "$UPSTREAM_SOURCE_TARBALL"
1919
fi
20-
GAP=`pwd`/gap4r7
20+
GAP=`pwd`/gap4r8
2121

2222
# Make everything writable
2323
chmod -R u+w "$GAP"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
= Mutation class database =
2+
3+
== Description ==
4+
5+
Contains a database of all exceptional mutation classes of quivers.
6+
7+
Every file in the database is of the form ``mutation_classes_n.dig6`` for some ``n`` and
8+
- contains a ``cPickle.dump`` of a dictionary where
9+
- the keys are tuples representing irreducible exceptional quiver mutation types of rank ``n``, and
10+
- the values are all quivers in the given mutation class stored in canonical form as ``(dig6,edges)`` where
11+
- ``dig6`` is the dig6 data of the given ``DiGraph``, and
12+
- ``edges`` are the non-simply-laced edges thereof.
13+
- is obtained by running the function
14+
``sage.combinat.cluster_algebra_quiver.quiver_mutation_type._save_data_dig6(n, types='Exceptional', verbose=False)``
15+
16+
== SPKG Maintainers ==
17+
18+
* C. Stump <[email protected]>
19+
20+
== Dependencies ==
21+
22+
* None
23+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
tarball=database_mutation_class-VERSION.tar.gz
2+
sha1=0e7eb2e89e1d4a612cb60e3d6be14d42f3e55678
3+
md5=8186b8f75eae76825399f3a9e6378c7b
4+
cksum=364985299
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# no dependencies
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.0
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
cd src
4+
5+
if [ -z "$SAGE_LOCAL" ]; then
6+
echo >&2 "SAGE_LOCAL undefined database_mutation_class-1.0 exiting"
7+
echo >&2 "Maybe run 'sage --sh'?"
8+
exit 1
9+
fi
10+
11+
mkdir -p $SAGE_SHARE/cluster_algebra_quiver && cp src/* $SAGE_SHARE/cluster_algebra_quiver
12+
13+
if [ $? -ne 0 ]; then
14+
echo >&2 "Error: Failed to copy the data to $SAGE_SHARE/cluster_algebra_quiver. database_mutation_class-1.0 exiting"
15+
exit 1
16+
fi
17+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
optional

build/pkgs/ecl/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=ecl-VERSION.tar.bz2
2-
sha1=d5b9f2f19847697f3cbe54e69daf609d1ea1b9ca
3-
md5=ba1d8acd05b2921c556a488191ff4b6b
4-
cksum=1247067343
2+
sha1=a2ba6f17df11e77149869d7d71c2175c284778ce
3+
md5=fdca3688a9171518f301e4200f82532a
4+
cksum=3217462385

build/pkgs/ecl/package-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15.3.7p0
1+
15.3.7.p1

build/pkgs/ecl/patches/fix-cc.patch

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
From d23d974654fbef889aa1c110d6e2968e07b58930 Mon Sep 17 00:00:00 2001
2+
From: "Erik M. Bray" <[email protected]>
3+
Date: Thu, 17 Mar 2016 15:57:16 +0100
4+
Subject: [PATCH] Allow CC and other environment variables passed to
5+
safe-run-program to be a command with arguments
6+
7+
---
8+
src/cmp/cmpos-run.lsp | 5 ++++-
9+
1 file changed, 4 insertions(+), 1 deletion(-)
10+
11+
diff --git a/src/cmp/cmpos-run.lsp b/src/cmp/cmpos-run.lsp
12+
index 49f6605..b824409 100755
13+
--- a/src/cmp/cmpos-run.lsp
14+
+++ b/src/cmp/cmpos-run.lsp
15+
@@ -54,7 +54,10 @@
16+
(cmpnote "Invoking external command:~% ~A ~{~A ~}" program args)
17+
(multiple-value-bind (stream result process)
18+
(let* ((*standard-output* ext:+process-standard-output+)
19+
- (*error-output* ext:+process-error-output+))
20+
+ (*error-output* ext:+process-error-output+)
21+
+ (program (split-program-options program))
22+
+ (args `(,@(cdr program) ,@args))
23+
+ (program (car program)))
24+
(with-current-directory
25+
#-(and cygwin (not ecl-min))
26+
(ext:run-program program args :input nil :output t :error t :wait t)
27+
--
28+
1.9.1
29+

build/pkgs/ecl/spkg-install

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ fi
88

99
cd src
1010

11+
# Patch sources. Note that some patches (in the patches/src directory)
12+
# have been applied to the source tarball.
13+
for patch in ../patches/*.patch; do
14+
[ -r "$patch" ] || continue # Skip non-existing or non-readable patches
15+
patch -p1 <"$patch"
16+
if [ $? -ne 0 ]; then
17+
echo >&2 "Error applying '$patch'"
18+
exit 1
19+
fi
20+
done
21+
1122
if [ -z "$CFLAG64" ] ; then
1223
CFLAG64=-m64
1324
fi
@@ -16,10 +27,6 @@ if [ -z "$CXXFLAG64" ] ; then
1627
CXXFLAG64=-m64
1728
fi
1829

19-
# Do NOT quote SAGE_LOCAL here, as has caused problems.
20-
# See: http://trac.sagemath.org/sage_trac/ticket/10187#comment:117
21-
22-
CPPFLAGS="$CPPFLAGS -I$SAGE_LOCAL/include"
2330

2431
# Compile for 64-bit if SAGE64 is set to 'yes'
2532
if [ "x$SAGE64" = "xyes" ] ; then
@@ -37,6 +44,11 @@ else
3744
CXXFLAGS="-g -O2 $CXXFLAGS"
3845
fi
3946

47+
export CFLAGS
48+
export CXXFLAGS
49+
export LDFLAGS
50+
51+
4052
# These are all used by GNU to specify compilers.
4153
echo "Using CC=$CC"
4254
echo "Using CXX=$CXX"
@@ -49,17 +61,7 @@ echo "Using CPPFLAGS=$CPPFLAGS"
4961
echo "Using LDFLAGS=$LDFLAGS"
5062
echo "configure scripts and/or makefiles might override these later"
5163
echo ""
52-
echo "Note that the patches were applied by spkg-src"
53-
echo ""
54-
55-
# export everything. Probably not necessary in most cases.
56-
export CFLAGS
57-
export CXXFLAGS
58-
export CPPFLAGS
59-
export LDFLAGS
6064

61-
# Building ECL in parallel doesn't work, so use only 1 thread
62-
MAKE="$MAKE -j1"
6365

6466
if [ "`uname -sm`" = "SunOS i86pc" ] && [ "x$SAGE64" = xyes ]; then
6567
# Need to add --with-dffi=no to disable assembly code on OpenSolaris x64.
@@ -85,6 +87,10 @@ fi
8587
# Before running make we touch build/TAGS so its building process is never triggered
8688
touch build/TAGS
8789

90+
# Ensure that ECL will not ask interactive questions (for example, when
91+
# pressing CTRL-C during the build)
92+
exec </dev/null
93+
8894
$MAKE
8995
if [ $? -ne 0 ]; then
9096
echo >&2 "Error - Failed to build ECL ... exiting"

0 commit comments

Comments
 (0)