#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: |
----------------------------------------------+-----------------------------
Changes (by newvalueoldvalue):
* author: Martin Albrecht => Martin Albrecht, John Palmieri
Old description:
> Right now the Singular spkg contains the lines:
> {{{
> # since parallel make breaks the singular build
> MAKE="make"
> export MAKE
> }}}
>
> Since Singular takes a long time to build, e.g., > 8 minutes on
> sage.math, and 16 minutes on my laptop, it would be nice to be able to
> build it in parallel.
>
> Why precisely does parallel build not work? Maybe it is only one
> component of the singular build that has trouble? Track this down, make
> the parts that can work to work, and the parts that can't should be
> explained.
New description:
Right now the Singular spkg contains the lines:
{{{
# since parallel make breaks the singular build
MAKE="make"
export MAKE
}}}
Since Singular takes a long time to build, e.g., > 8 minutes on sage.math,
and 16 minutes on my laptop, it would be nice to be able to build it in
parallel.
Why precisely does parallel build not work? Maybe it is only one
component of the singular build that has trouble? Track this down, make
the parts that can work to work, and the parts that can't should be
explained.
New spkg:
-
[http://sage.math.washington.edu/home/palmieri/SPKG/singular-3-1-1-4.p6.spkg]
--
Comment:
The spkg here needed to be rebased against the current one (which is also
called "...p4.spkg"). I've rebased it, and then I made a further change:
I changed "$RM" in the spkg-install file to "rm" -- this has been done in
the spkg-install files for all of the other spkgs, and also see the
discussion at #3537. I've posted the patch files for the two new spkgs,
for review purposes. The two new spkgs are here:
-
[http://sage.math.washington.edu/home/palmieri/SPKG/singular-3-1-1-4.p5.spkg]
-- enable parallel build
-
[http://sage.math.washington.edu/home/palmieri/SPKG/singular-3-1-1-4.p6.spkg]
-- p5 and also change $RM to rm
By the way, I built p5 by applying malb's patch to the current p4. I
tested that successfully on a Mac, on sage.math, on Dave Kirkby's machine
hawk (!OpenSolaris), and on t2.math.washington.edu (Solaris). I couldn't
access the skynet machines, so I couldn't test on them, but this is a
pretty good range of hardware. The build was at least somewhat faster on
all of them, and tests passed with the new version. So this is almost
good enough for a positive review of p5, except that I built it and I'd
like another pair of eyes to look at it. Then the changes in p6 require a
review anyway.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9497#comment:4>
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.