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/17659/17659
Browse files Browse the repository at this point in the history
* develop: (217 commits)
  Updated Sage version to 6.5.beta6
  trac #17649: Typo
  trac #16412: dangerous doctest
  Convert keys of generic sparse matrix to pair of ints.
  trac #12797: Review
  17556: reviewer's patch: adapt text and test to changed behaviour
  trac #7738 removal of maintainer section
  trac #7738 last instance removal
  trac #14396: Review
  trac #17655: two difference sets
  trac #14396: Review
  trac #17649: split complicated lines
  trac #17649: formatting and documentation
  trac #17652: reviewer's comments
  trac #17652: product of difference matrices
  Fixed docs about xmin, xmax, ymin and ymax.
  trac #17649: GDD from TD
  trac #17649: Kirkman Triple Systems (end of the construction)
  Remove gcd, lcm, xgcd from element.pyx
  trac #12916 removed now longer used import of Set
  ...

Conflicts:
	src/sage/symbolic/expression.pyx
  • Loading branch information
rwst committed Jan 25, 2015
2 parents ed003f0 + a70d682 commit 02885af
Show file tree
Hide file tree
Showing 176 changed files with 7,174 additions and 2,836 deletions.
1 change: 0 additions & 1 deletion COPYING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ setuptools Python License
singular GPLv2 or GPLv3 (see below)
six MIT License
sphinx Modified BSD
sqlalchemy MIT License
sqlite Public Domain (see below)
symmetrica MIT-like License (see below)
sympow Modified BSD
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sage version 6.5.beta5, released 2015-01-05
Sage version 6.5.beta6, released 2015-01-24
66 changes: 31 additions & 35 deletions build/deps
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ all-sage: \
$(INST)/$(MPC) \
$(INST)/$(MPFI) \
$(INST)/$(MPFR) \
$(INST)/$(MPIR) \
$(INST)/$(MPMATH) \
$(INST)/$(NETWORKX) \
$(INST)/$(NTL) \
Expand Down Expand Up @@ -104,7 +103,6 @@ all-sage: \
$(INST)/$(SINGULAR) \
$(INST)/$(SIX) \
$(INST)/$(SPHINX) \
$(INST)/$(SQLALCHEMY) \
$(INST)/$(SQLITE) \
$(INST)/$(SYMMETRICA) \
$(INST)/$(SYMPOW) \
Expand All @@ -115,6 +113,7 @@ all-sage: \
$(INST)/$(ZEROMQ) \
$(INST)/$(ZLIB) \
$(INST)/$(ZNPOLY) \
$(INST)/$(SAGE_MP_LIBRARY) \
$(INST)/sage \
$(INST)/csage \
$(EXTCODE) \
Expand All @@ -132,7 +131,7 @@ toolchain: $(TOOLCHAIN)
# See #14168 and #14232.
toolchain-deps:
$(MAKE) $(INST)/$(ZLIB)
$(MAKE) $(INST)/$(MPIR)
$(MAKE) $(INST)/$(SAGE_MP_LIBRARY)
$(MAKE) $(INST)/$(MPFR)
$(MAKE) $(INST)/$(MPC)
$(MAKE) $(INST)/$(PPL)
Expand Down Expand Up @@ -173,6 +172,9 @@ $(INST)/$(BZIP2): $(INST)/prereq $(INST)/$(PKGCONF)
# Building normal packages
###############################################################################

$(INST)/$(SAGE_MP_LIBRARY): $(INST)/$(ICONV)
+$(PIPE) "$(SAGE_SPKG) $(SAGE_MP_LIBRARY) 2>&1" "tee -a $(SAGE_LOGS)/$(SAGE_MP_LIBRARY).log"

$(INST)/$(ATLAS): | $(INST)/$(PYTHON)
+$(PIPE) "$(SAGE_SPKG) $(ATLAS) 2>&1" "tee -a $(SAGE_LOGS)/$(ATLAS).log"

Expand Down Expand Up @@ -211,30 +213,27 @@ $(INST)/$(CONWAY): | $(SAGERUNTIME)
$(INST)/$(GRAPHS):
+$(PIPE) "$(SAGE_SPKG) $(GRAPHS) 2>&1" "tee -a $(SAGE_LOGS)/$(GRAPHS).log"

$(INST)/$(GLPK): $(INST)/$(MPIR) $(INST)/$(ZLIB)
$(INST)/$(GLPK): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(ZLIB)
+$(PIPE) "$(SAGE_SPKG) $(GLPK) 2>&1" "tee -a $(SAGE_LOGS)/$(GLPK).log"

$(INST)/$(PYTHON): $(INST)/$(ZLIB) $(INST)/$(READLINE) \
$(INST)/$(SQLITE) $(INST)/$(LIBPNG) \
| $(INST)/$(BZIP2)
+$(PIPE) "$(SAGE_SPKG) $(PYTHON) 2>&1" "tee -a $(SAGE_LOGS)/$(PYTHON).log"

$(INST)/$(MPIR): $(INST)/$(ICONV)
+$(PIPE) "$(SAGE_SPKG) $(MPIR) 2>&1" "tee -a $(SAGE_LOGS)/$(MPIR).log"

$(INST)/$(GSL): $(INST)/$(ATLAS)
+$(PIPE) "$(SAGE_SPKG) $(GSL) 2>&1" "tee -a $(SAGE_LOGS)/$(GSL).log"

$(INST)/$(GF2X):
+$(PIPE) "$(SAGE_SPKG) $(GF2X) 2>&1" "tee -a $(SAGE_LOGS)/$(GF2X).log"

$(INST)/$(NTL): $(INST)/$(MPIR) $(INST)/$(GF2X)
$(INST)/$(NTL): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(GF2X)
+$(PIPE) "$(SAGE_SPKG) $(NTL) 2>&1" "tee -a $(SAGE_LOGS)/$(NTL).log"

$(INST)/$(FPLLL): $(INST)/$(MPIR) $(INST)/$(MPFR)
$(INST)/$(FPLLL): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(MPFR)
+$(PIPE) "$(SAGE_SPKG) $(FPLLL) 2>&1" "tee -a $(SAGE_LOGS)/$(FPLLL).log"

$(INST)/$(PARI): $(INST)/$(READLINE) $(INST)/$(MPIR) \
$(INST)/$(PARI): $(INST)/$(READLINE) $(INST)/$(SAGE_MP_LIBRARY) \
| $(INST)/$(PARI_GALDATA) $(INST)/$(PARI_SEADATA_SMALL)
+$(PIPE) "$(SAGE_SPKG) $(PARI) 2>&1" "tee -a $(SAGE_LOGS)/$(PARI).log"

Expand All @@ -255,34 +254,34 @@ $(INST)/$(POLYBORI): $(INST)/$(PYTHON) $(INST)/$(IPYTHON) \
$(INST)/$(POLYTOPES_DB):
+$(PIPE) "$(SAGE_SPKG) $(POLYTOPES_DB) 2>&1" "tee -a $(SAGE_LOGS)/$(POLYTOPES_DB).log"

$(INST)/$(PPL): $(INST)/$(MPIR) $(INST)/$(GLPK)
$(INST)/$(PPL): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(GLPK)
+$(PIPE) "$(SAGE_SPKG) $(PPL) 2>&1" "tee -a $(SAGE_LOGS)/$(PPL).log"

$(INST)/$(MPC): $(INST)/$(MPIR) $(INST)/$(MPFR)
$(INST)/$(MPC): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(MPFR)
+$(PIPE) "$(SAGE_SPKG) $(MPC) 2>&1" "tee -a $(SAGE_LOGS)/$(MPC).log"

$(INST)/$(MPFR): $(INST)/$(MPIR)
$(INST)/$(MPFR): $(INST)/$(SAGE_MP_LIBRARY)
+$(PIPE) "$(SAGE_SPKG) $(MPFR) 2>&1" "tee -a $(SAGE_LOGS)/$(MPFR).log"

$(INST)/$(MPFI): $(INST)/$(MPIR) $(INST)/$(MPFR)
$(INST)/$(MPFI): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(MPFR)
+$(PIPE) "$(SAGE_SPKG) $(MPFI) 2>&1" "tee -a $(SAGE_LOGS)/$(MPFI).log"

$(INST)/$(GIVARO): $(INST)/$(MPIR)
$(INST)/$(GIVARO): $(INST)/$(SAGE_MP_LIBRARY)
+$(PIPE) "$(SAGE_SPKG) $(GIVARO) 2>&1" "tee -a $(SAGE_LOGS)/$(GIVARO).log"

$(INST)/$(GIT): $(INST)/$(ZLIB) $(INST)/$(PYTHON)
+$(PIPE) "$(SAGE_SPKG) $(GIT) 2>&1" "tee -a $(SAGE_LOGS)/$(GIT).log"

$(INST)/$(FFLASFFPACK): $(INST)/$(MPIR) $(INST)/$(GIVARO) \
$(INST)/$(FFLASFFPACK): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(GIVARO) \
$(INST)/$(GSL) $(INST)/$(ATLAS)
+$(PIPE) "$(SAGE_SPKG) $(FFLASFFPACK) 2>&1" "tee -a $(SAGE_LOGS)/$(FFLASFFPACK).log"

$(INST)/$(LINBOX): $(INST)/$(MPIR) $(INST)/$(NTL) $(INST)/$(GIVARO) \
$(INST)/$(LINBOX): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(NTL) $(INST)/$(GIVARO) \
$(INST)/$(MPFR) $(INST)/$(FPLLL) $(INST)/$(IML) \
$(INST)/$(M4RI) $(INST)/$(M4RIE) $(INST)/$(FFLASFFPACK)
+$(PIPE) "$(SAGE_SPKG) $(LINBOX) 2>&1" "tee -a $(SAGE_LOGS)/$(LINBOX).log"

$(INST)/$(IML): $(INST)/$(MPIR) $(INST)/$(GSL) $(INST)/$(ATLAS)
$(INST)/$(IML): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(GSL) $(INST)/$(ATLAS)
+$(PIPE) "$(SAGE_SPKG) $(IML) 2>&1" "tee -a $(SAGE_LOGS)/$(IML).log"

$(INST)/$(PALP):
Expand All @@ -303,7 +302,7 @@ $(INST)/$(SYMPOW):
$(INST)/$(SYMMETRICA):
+$(PIPE) "$(SAGE_SPKG) $(SYMMETRICA) 2>&1" "tee -a $(SAGE_LOGS)/$(SYMMETRICA).log"

$(INST)/$(GAP): $(INST)/$(NCURSES) $(INST)/$(READLINE) $(INST)/$(MPIR)
$(INST)/$(GAP): $(INST)/$(NCURSES) $(INST)/$(READLINE) $(INST)/$(SAGE_MP_LIBRARY)
+$(PIPE) "$(SAGE_SPKG) $(GAP) 2>&1" "tee -a $(SAGE_LOGS)/$(GAP).log"

$(INST)/$(LIBGAP): $(INST)/$(GAP)
Expand Down Expand Up @@ -340,7 +339,7 @@ $(INST)/$(SAGETEX): $(INST)/$(PYTHON) $(INST)/$(MAXIMA) $(INST)/$(SCIPY) \
$(INST)/$(SETUPTOOLS): $(INST)/$(PYTHON)
+$(PIPE) "$(SAGE_SPKG) $(SETUPTOOLS) 2>&1" "tee -a $(SAGE_LOGS)/$(SETUPTOOLS).log"

$(INST)/$(SINGULAR): $(INST)/$(MPIR) $(INST)/$(NTL) $(INST)/$(FLINT) \
$(INST)/$(SINGULAR): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(NTL) $(INST)/$(FLINT) \
$(INST)/$(READLINE) $(INST)/$(MPFR)
+$(PIPE) "$(SAGE_SPKG) $(SINGULAR) 2>&1" "tee -a $(SAGE_LOGS)/$(SINGULAR).log"

Expand Down Expand Up @@ -390,22 +389,22 @@ $(INST)/$(MATPLOTLIB): $(INST)/$(PYTHON) $(INST)/$(NUMPY) \
$(INST)/$(TORNADO) $(INST)/$(SIX)
+$(PIPE) "$(SAGE_SPKG) $(MATPLOTLIB) 2>&1" "tee -a $(SAGE_LOGS)/$(MATPLOTLIB).log"

$(INST)/$(CDDLIB): $(INST)/$(MPIR)
$(INST)/$(CDDLIB): $(INST)/$(SAGE_MP_LIBRARY)
+$(PIPE) "$(SAGE_SPKG) $(CDDLIB) 2>&1" "tee -a $(SAGE_LOGS)/$(CDDLIB).log"

$(INST)/$(GFAN): $(INST)/$(MPIR) $(INST)/$(CDDLIB)
$(INST)/$(GFAN): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(CDDLIB)
+$(PIPE) "$(SAGE_SPKG) $(GFAN) 2>&1" "tee -a $(SAGE_LOGS)/$(GFAN).log"

$(INST)/$(TACHYON): $(INST)/$(LIBPNG)
+$(PIPE) "$(SAGE_SPKG) $(TACHYON) 2>&1" "tee -a $(SAGE_LOGS)/$(TACHYON).log"

$(INST)/$(ECM): $(INST)/$(MPIR)
$(INST)/$(ECM): $(INST)/$(SAGE_MP_LIBRARY)
+$(PIPE) "$(SAGE_SPKG) $(ECM) 2>&1" "tee -a $(SAGE_LOGS)/$(ECM).log"

$(INST)/$(RATPOINTS): $(INST)/$(MPIR)
$(INST)/$(RATPOINTS): $(INST)/$(SAGE_MP_LIBRARY)
+$(PIPE) "$(SAGE_SPKG) $(RATPOINTS) 2>&1" "tee -a $(SAGE_LOGS)/$(RATPOINTS).log"

$(INST)/$(ECL): $(INST)/$(MPIR) $(INST)/$(READLINE) $(INST)/$(BOEHM_GC)
$(INST)/$(ECL): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(READLINE) $(INST)/$(BOEHM_GC)
+$(PIPE) "$(SAGE_SPKG) $(ECL) 2>&1" "tee -a $(SAGE_LOGS)/$(ECL).log"

$(INST)/$(MAXIMA): $(INST)/$(ECL)
Expand All @@ -423,10 +422,10 @@ $(INST)/$(SYMPY): $(INST)/$(PYTHON) $(INST)/$(MPMATH)
$(INST)/$(CYTHON): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS)
+$(PIPE) "$(SAGE_SPKG) $(CYTHON) 2>&1" "tee -a $(SAGE_LOGS)/$(CYTHON).log"

$(INST)/$(FLINTQS): $(INST)/$(MPIR)
$(INST)/$(FLINTQS): $(INST)/$(SAGE_MP_LIBRARY)
+$(PIPE) "$(SAGE_SPKG) $(FLINTQS) 2>&1" "tee -a $(SAGE_LOGS)/$(FLINTQS).log"

$(INST)/$(FLINT): $(INST)/$(MPIR) $(INST)/$(MPFR) $(INST)/$(NTL)
$(INST)/$(FLINT): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(MPFR) $(INST)/$(NTL)
+$(PIPE) "$(SAGE_SPKG) $(FLINT) 2>&1" "tee -a $(SAGE_LOGS)/$(FLINT).log"

$(INST)/$(ECLIB): $(INST)/$(PARI) $(INST)/$(NTL) $(INST)/$(FLINT)
Expand All @@ -440,16 +439,13 @@ $(INST)/$(M4RIE): $(INST)/$(M4RI) $(INST)/$(GIVARO) $(INST)/$(NTL)

# zn_poly really does depend on Python, despite this is far from obvious.
# The 'configure' script in zn_poly calls Python to make a 'makefile'.
$(INST)/$(ZNPOLY): $(INST)/$(MPIR) | $(INST)/$(PYTHON)
$(INST)/$(ZNPOLY): $(INST)/$(SAGE_MP_LIBRARY) | $(INST)/$(PYTHON)
+$(PIPE) "$(SAGE_SPKG) $(ZNPOLY) 2>&1" "tee -a $(SAGE_LOGS)/$(ZNPOLY).log"

$(INST)/$(SAGENB): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS) $(INST)/$(PEXPECT) \
$(INST)/$(JINJA2) $(INST)/$(SPHINX) $(INST)/$(DOCUTILS)
+$(PIPE) "$(SAGE_SPKG) $(SAGENB) 2>&1" "tee -a $(SAGE_LOGS)/$(SAGENB).log"

$(INST)/$(SQLALCHEMY): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS)
+$(PIPE) "$(SAGE_SPKG) $(SQLALCHEMY) 2>&1" "tee -a $(SAGE_LOGS)/$(SQLALCHEMY).log"

$(INST)/$(SPHINX): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS) $(INST)/$(DOCUTILS) \
$(INST)/$(JINJA2) $(INST)/$(PYGMENTS)
+$(PIPE) "$(SAGE_SPKG) $(SPHINX) 2>&1" "tee -a $(SAGE_LOGS)/$(SPHINX).log"
Expand All @@ -463,7 +459,7 @@ $(INST)/$(PYGMENTS): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS)
# List all *build-time* dependencies of the Sage library. These are,
# on the one hand, programs needed for the build/install process of the
# Sage library (e.g. JINJA2), and on the
# other hand all dependencies for Cython files (e.g. PARI, NTL, MPIR).
# other hand all dependencies for Cython files (e.g. PARI, NTL, SAGE_MP_LIBRARY).
$(INST)/sage: \
$(INST)/$(ATLAS) \
$(INST)/$(CEPHES) \
Expand All @@ -490,7 +486,7 @@ $(INST)/sage: \
$(INST)/$(MPC) \
$(INST)/$(MPFI) \
$(INST)/$(MPFR) \
$(INST)/$(MPIR) \
$(INST)/$(SAGE_MP_LIBRARY) \
$(INST)/$(NTL) \
$(INST)/$(NUMPY) \
$(INST)/$(PARI) \
Expand All @@ -511,7 +507,7 @@ $(INST)/sage: \
fi

$(INST)/csage: $(INST)/$(SCONS) \
$(INST)/$(MPIR) \
$(INST)/$(SAGE_MP_LIBRARY) \
$(INST)/$(NTL) \
$(INST)/$(PARI) \
$(INST)/$(PYTHON)
Expand All @@ -525,7 +521,7 @@ $(INST)/ccache: $(BASE) $(INST)/$(ZLIB)
+$(PIPE) "$(SAGE_SPKG) ccache 2>&1" "tee -a $(SAGE_LOGS)/ccache.log"
touch $(INST)/ccache

$(INST)/$(GCC): $(INST)/$(MPIR) $(INST)/$(MPFR) $(INST)/$(MPC) \
$(INST)/$(GCC): $(INST)/$(SAGE_MP_LIBRARY) $(INST)/$(MPFR) $(INST)/$(MPC) \
$(INST)/$(ZLIB)
+$(PIPE) "$(SAGE_SPKG) $(GCC) 2>&1" "tee -a $(SAGE_LOGS)/$(GCC).log"

Expand Down
45 changes: 43 additions & 2 deletions build/install
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,41 @@ mkdir -p "$SAGE_LOCAL/lib"
mkdir -p "$SAGE_SPKG_INST"
mkdir -p "$SAGE_SHARE"

###############################################################################
# Determine whether to use MPIR (default standard pkg) or GMP (optional pkg).
###############################################################################

if [ -z "$SAGE_MP_LIBRARY" ]; then
# Automatic detection of installed MP library.
if [ ! -f "$SAGE_LOCAL/share/mp_config" ]; then
echo "MPIR" > "$SAGE_LOCAL/share/mp_config"
fi
SAGE_MP_LIBRARY=`cat "$SAGE_LOCAL/share/mp_config"`
else
if [ -f "$SAGE_LOCAL/share/mp_config" -a "$SAGE_MP_LIBRARY" != `cat "$SAGE_LOCAL/share/mp_config"` ]; then
echo "SAGE_MP_LIBRARY differs from the value stored in"
echo "\"$SAGE_LOCAL/share/mp_config\"."
echo "This is not supported; you should rebuild Sage from scratch"
echo "using the new SAGE_MP_LIBRARY value."
exit 1
fi

case "$SAGE_MP_LIBRARY" in
MPIR|GMP)
echo "Using $SAGE_MP_LIBRARY as default MP library."
echo $SAGE_MP_LIBRARY > "$SAGE_LOCAL/share/mp_config"
;;
*)
echo "Allowed values for SAGE_MP_LIBRARY are \"MPIR\" and \"GMP\"."
echo "If you did not set this variable, check the content of"
echo "\"$SAGE_LOCAL/share/mp_config\"."
exit 1
;;
esac
fi

export SAGE_MP_LIBRARY

###############################################################################
# Determine whether to install GCC (gcc, g++, gfortran).
###############################################################################
Expand Down Expand Up @@ -310,7 +345,6 @@ MAXIMA=`newest_version maxima`
MPC=`newest_version mpc`
MPFI=`newest_version mpfi`
MPFR=`newest_version mpfr`
MPIR=`newest_version mpir`
MPMATH=`newest_version mpmath`
NETWORKX=`newest_version networkx`
NTL=`newest_version ntl`
Expand Down Expand Up @@ -347,7 +381,6 @@ SETUPTOOLS=`newest_version setuptools`
SINGULAR=`newest_version singular`
SIX=`newest_version six`
SPHINX=`newest_version sphinx`
SQLALCHEMY=`newest_version sqlalchemy`
SQLITE=`newest_version sqlite`
SYMMETRICA=`newest_version symmetrica`
SYMPOW=`newest_version sympow`
Expand All @@ -364,6 +397,14 @@ INST=`echo "$SAGE_SPKG_INST" | sed 's/ /\\\\ /g'`
EOF

# Sage MP library
sage_mp_library=`echo "$SAGE_MP_LIBRARY" | tr '[A-Z]' '[a-z]'`
cat >&5 << EOF
# Sage MP library
SAGE_MP_LIBRARY=`newest_version $sage_mp_library`
EOF

# $(TOOLCHAIN) variable containing prerequisites for the build
echo >&5 -n 'TOOLCHAIN ='
if [ "$SAGE_INSTALL_CCACHE" = yes ]; then
Expand Down
30 changes: 30 additions & 0 deletions build/pkgs/atlas/patches/cygwin_threads.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Let ATLAS use Cygwin thread functions on Cygwin64.
diff -druN ATLAS.orig/src/threads/ATL_thread_start.c ATLAS.new/src/threads/ATL_thread_start.c
--- ATLAS.orig/src/threads/ATL_thread_start.c 2014-07-10 09:22:06.000000000 -0700
+++ ATLAS.new/src/threads/ATL_thread_start.c 2014-11-18 07:17:39.207997205 -0800
@@ -14,14 +14,14 @@
*/
{
#ifdef ATL_WINTHREADS
- #ifdef ATL_WIN32THREADS
+ #if defined(ATL_WIN32THREADS) || defined(__CYGWIN__)
DWORD thrID;
#else
unsigned thrID;
#endif

#ifdef ATL_NOAFFINITY
- #ifdef ATL_WIN32THREADS
+ #if defined(ATL_WIN32THREADS) || defined(__CYGWIN__)
thr->thrH = CreateThread(NULL, 0, rout, arg, 0, &thrID);
#else
thr->thrH = (HANDLE)_beginthreadex(NULL, 0, rout, arg, 0, &thrID);
@@ -29,7 +29,7 @@
ATL_assert(thr->thrH);
#else
thr->rank = proc;
- #ifdef ATL_WIN32THREADS
+ #if defined(ATL_WIN32THREADS) || defined(__CYGWIN__)
thr->thrH = CreateThread(NULL, 0, rout, arg, CREATE_SUSPENDED, &thrID);
#else
thr->thrH = (HANDLE)_beginthreadex(NULL, 0, rout, arg,
4 changes: 0 additions & 4 deletions build/pkgs/boost_cropped/SPKG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ Website: http://www.boost.org/

Boost Software License - see http://www.boost.org/users/license.html

== Maintainers ==

* Michael Abshoff

== Upstream Contact ==

See mailing list page at http://www.boost.org/community/groups.html
Expand Down
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=4f8f0920faf691bb4796376ae62ed8e984f4c9e1
md5=2d9f513e1daf47544d0030114076493b
cksum=2159230018
sha1=99eab7d6d7eabfb85e3efe2ce4b2096c836681ce
md5=9823a583c3663035cdb47fdb6f334173
cksum=2606347674
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
63
64
2 changes: 1 addition & 1 deletion build/pkgs/cvxopt/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ if [ "x$SAGE_SPKG_INSTALL_DOCS" = xyes ] ; then
rm -rf $SAGE_LOCAL/share/doc/cvxopt/html
fi
mkdir -p $SAGE_LOCAL/share/doc/cvxopt/html
cp -r build/html/* $SAGE_LOCAL/share/doc/cvxopt/html/
cp -r html/* $SAGE_LOCAL/share/doc/cvxopt/html/
fi

6 changes: 2 additions & 4 deletions build/pkgs/gmp/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ if false; then
else
echo "Not removing old GMP/MPIR shared libraries, as other libraries"
echo "and executables might still refer to them:"
ls -l "$SAGE_LOCAL"/lib/lib{gmp,mpir}*.so.*
ls -l "$SAGE_LOCAL"/lib/lib{gmp,mpir}*
echo "(Libraries with the same version number will get updated though.)"
fi

Expand All @@ -330,7 +330,5 @@ echo "Now installing GMP..."
$MAKE install
if [ $? -ne 0 ]; then
echo >&2 "Error installing GMP."
if [ "$UNAME" != "CYGWIN" ]; then # On Cygwin an error is not fatal.
exit 1
fi
exit 1
fi
Loading

0 comments on commit 02885af

Please sign in to comment.