#9497: Fix the Singular spkg so it can take advantage of building in parallel
----------------------------------------------+-----------------------------
Reporter: was | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.7
Component: build | Keywords: singular
Author: Martin Albrecht, John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------------------------+-----------------------------
Comment(by drkirkby):
Replying to [comment:10 jhpalmieri]:
> As far as doctesting goes, it's probably not sufficient, but testing
sage/sage/libs/singular/ is a quick check to make sure things are working.
True. It would be nice if there was some way of knowing what tests made
use of Singular or any other part of Sage.
I've not checked this, but I've just started a build with this script.
$ make && ./new.sh
where {{{new.sh}}} is:
{{{
#!/bin/bash
set -o pipefail
export MAX_COMPILER_DELAY_IN_MICRO_SECONDS=5000000
export PATH=/usr/local/gcc-4.5.0-delayed/bin/:$PATH
export CC=/usr/local/gcc-4.5.0-delayed/bin/gcc
export CXX=/usr/local/gcc-4.5.0-delayed/bin/g++
JOBS=12
RUNS=500
for I in `seq $RUNS`;
do
LOG="singular-3-1-1-4-j$JOBS.log.$I"
if [ ! -f "$LOG" ]; then
env MAKE="make -j$JOBS" ./sage -f singular-3-1-1-4.p6.spkg 2>&1 |
tee "$LOG"
CODE=$?
./sage -b >> "$LOG"
./sage -t devel/sage/sage/libs/singular/ >> "$LOG"
echo $0 run $I of $RUNS: code= $CODE
fi
done
}}}
That might well be totally broken - no idea, and are going to bed now, so
I'm not going to check it.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9497#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.