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

Commit 1678b89

Browse files
committed
Merge remote-tracking branch 'origin/develop' into ticket/15765
Conflicts: build/pkgs/pari/SPKG.txt
2 parents ad63daf + a5c1ade commit 1678b89

File tree

147 files changed

+3204
-4543
lines changed

Some content is hidden

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

147 files changed

+3204
-4543
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ logs:
1616
mkdir -p $@
1717

1818
build: logs configure
19-
cd build && \
19+
+cd build && \
2020
"../$(PIPE)" \
2121
"env SAGE_PARALLEL_SPKG_BUILD='$(SAGE_PARALLEL_SPKG_BUILD)' ./install all 2>&1" \
2222
"tee -a ../logs/install.log"

VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sage version 6.1.rc0, released 2014-01-25
1+
Sage version 6.2.beta0, released 2014-02-02

build/deps

+3-3
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,6 @@ $(INST)/$(LINBOX): $(INST)/$(MPIR) $(INST)/$(NTL) $(INST)/$(GIVARO) \
272272
$(INST)/$(IML): $(INST)/$(MPIR) $(INST)/$(GSL) $(INST)/$(ATLAS)
273273
+$(PIPE) "$(SAGE_SPKG) $(IML) 2>&1" "tee -a $(SAGE_LOGS)/$(IML).log"
274274

275-
$(INST)/$(ECLIB): $(INST)/$(MPIR) $(INST)/$(PARI) $(INST)/$(NTL)
276-
+$(PIPE) "$(SAGE_SPKG) $(ECLIB) 2>&1" "tee -a $(SAGE_LOGS)/$(ECLIB).log"
277-
278275
$(INST)/$(GENUS2REDUCTION): $(INST)/$(PARI)
279276
+$(PIPE) "$(SAGE_SPKG) $(GENUS2REDUCTION) 2>&1" "tee -a $(SAGE_LOGS)/$(GENUS2REDUCTION).log"
280277

@@ -402,6 +399,9 @@ $(INST)/$(FLINTQS): $(INST)/$(MPIR)
402399
$(INST)/$(FLINT): $(INST)/$(MPIR) $(INST)/$(MPFR) $(INST)/$(NTL)
403400
+$(PIPE) "$(SAGE_SPKG) $(FLINT) 2>&1" "tee -a $(SAGE_LOGS)/$(FLINT).log"
404401

402+
$(INST)/$(ECLIB): $(INST)/$(PARI) $(INST)/$(NTL) $(INST)/$(FLINT)
403+
+$(PIPE) "$(SAGE_SPKG) $(ECLIB) 2>&1" "tee -a $(SAGE_LOGS)/$(ECLIB).log"
404+
405405
$(INST)/$(M4RI): $(INST)/$(LIBPNG)
406406
+$(PIPE) "$(SAGE_SPKG) $(M4RI) 2>&1" "tee -a $(SAGE_LOGS)/$(M4RI).log"
407407

build/install

+28-27
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,10 @@ fi
310310
# Create $SAGE_ROOT/build/Makefile starting from build/deps
311311
###############################################################################
312312

313-
exec 3>Makefile
313+
# Trac #15624: use file descriptor 5 since make uses 3 and 4
314+
exec 5>Makefile
314315

315-
cat >&3 <<EOF
316+
cat >&5 <<EOF
316317
#==============================================================================
317318
# This file has been automatically generated by
318319
# $SAGE_ROOT/build/install
@@ -323,16 +324,16 @@ EOF
323324

324325
# Use bash as shell for the Makefile (bash obviously exists, since
325326
# this build/install script runs under bash).
326-
echo >&3 "SHELL = `command -v bash`"
327-
echo >&3
327+
echo >&5 "SHELL = `command -v bash`"
328+
echo >&5
328329

329330
# If the user (or the Makefile) has set SAGE_PARALLEL_SPKG_BUILD=no,
330331
# then turn off parallel building: disable just building multiple
331332
# packages at the same time. Individual packages can still be built
332333
# in parallel by specifying '-j' in $MAKE.
333334
if [ "${SAGE_PARALLEL_SPKG_BUILD:-yes}" = no ]; then
334-
echo ".NOTPARALLEL:" >&3
335-
echo "" >&3
335+
echo ".NOTPARALLEL:" >&5
336+
echo "" >&5
336337
fi
337338

338339
# Usage: newest_version $pkg
@@ -349,7 +350,7 @@ newest_version() {
349350
fi
350351
}
351352

352-
cat >&3 <<EOF
353+
cat >&5 <<EOF
353354
# Standard packages
354355
ATLAS=`newest_version atlas`
355356
BOEHM_GC=`newest_version boehm_gc`
@@ -447,40 +448,40 @@ INST=`echo "$SAGE_SPKG_INST" | sed 's/ /\\\\ /g'`
447448
EOF
448449

449450
# $(TOOLCHAIN) variable containing prerequisites for the build
450-
echo >&3 -n 'TOOLCHAIN ='
451+
echo >&5 -n 'TOOLCHAIN ='
451452
if [ "$SAGE_INSTALL_CCACHE" = yes ]; then
452-
echo >&3 -n ' $(INST)/ccache'
453+
echo >&5 -n ' $(INST)/ccache'
453454
fi
454455
if [ "$need_to_install_gcc" = yes ]; then
455-
echo >&3 -n ' $(INST)/$(GCC)'
456+
echo >&5 -n ' $(INST)/$(GCC)'
456457
# Use this option for the prereq configure script, such that it
457458
# will skip all compiler checks.
458459
export PREREQ_OPTIONS="--disable-compiler-checks $PREREQ_OPTIONS"
459460
fi
460-
echo >&3
461+
echo >&5
461462

462-
echo >&3 'SCRIPT_SOURCES = \'
463+
echo >&5 'SCRIPT_SOURCES = \'
463464
for file in "$SAGE_SRC/bin/"*; do
464-
echo >&3 " \$(SAGE_SRC)${file#$SAGE_SRC} \\"
465+
echo >&5 " \$(SAGE_SRC)${file#$SAGE_SRC} \\"
465466
done
466-
echo >&3
467-
echo >&3 'SCRIPTS = \'
467+
echo >&5
468+
echo >&5 'SCRIPTS = \'
468469
for file in "$SAGE_SRC/bin/"*; do
469-
echo >&3 " \$(SAGE_LOCAL)${file#$SAGE_SRC} \\"
470+
echo >&5 " \$(SAGE_LOCAL)${file#$SAGE_SRC} \\"
470471
done
471-
echo >&3
472-
echo >&3 'EXTCODE_SOURCES = \'
472+
echo >&5
473+
echo >&5 'EXTCODE_SOURCES = \'
473474
for file in `find "$SAGE_SRC"/ext -type f`; do
474-
echo >&3 " \$(SAGE_SRC)${file#$SAGE_SRC} \\"
475+
echo >&5 " \$(SAGE_SRC)${file#$SAGE_SRC} \\"
475476
done
476-
echo >&3
477-
echo >&3 'EXTCODE = \'
477+
echo >&5
478+
echo >&5 'EXTCODE = \'
478479
for file in `find "$SAGE_SRC"/ext -type f`; do
479-
echo >&3 " \$(SAGE_EXTCODE)${file#$SAGE_SRC/ext} \\"
480+
echo >&5 " \$(SAGE_EXTCODE)${file#$SAGE_SRC/ext} \\"
480481
done
481-
echo >&3
482+
echo >&5
482483

483-
cat >&3 <<EOF
484+
cat >&5 <<EOF
484485
# don't just use \`install\` since we don't want to change permissions
485486
\$(SAGE_LOCAL)/bin/%: \$(SAGE_SRC)/bin/%
486487
cp \$< \$@
@@ -494,7 +495,7 @@ cat >&3 <<EOF
494495
EOF
495496

496497
# Copy build/deps
497-
cat >&3 <<EOF
498+
cat >&5 <<EOF
498499
499500
#==============================================================================
500501
# What follows now is a copy of
@@ -503,10 +504,10 @@ cat >&3 <<EOF
503504
504505
EOF
505506

506-
cat "$SAGE_ROOT/build/deps" >&3
507+
cat "$SAGE_ROOT/build/deps" >&5
507508

508509
# Close the Makefile
509-
exec 3>&-
510+
exec 5>&-
510511

511512
###############################################################################
512513
# Skip the rest if nothing to do (i.e., to [re]build).

0 commit comments

Comments
 (0)