#4949: Optionally build spkgs in $SAGE_BUILD_TMPDIR
----------------------------+-----------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: enhancement | Status: positive_review
Priority: minor | Milestone: sage-4.7.1
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Mariah Lenox | Author: John Palmieri
Merged: | Dependencies:
----------------------------+-----------------------------------------------
Changes (by mariah):
* status: needs_review => positive_review
* reviewer: => Mariah Lenox
Old description:
> $HOME can be slow in case it is NFS mounted for example. So using local
> scratch space or even better a RAM disk should speed up the build by a
> nice factor. To do so, use $SAGE_BUILD_TMPDIR in case it exists instead
> of $SAGE_ROOT/spkg/build.
>
> Cheers,
>
> Michael
New description:
$HOME can be slow in case it is NFS mounted for example. So using local
scratch space or even better a RAM disk should speed up the build by a
nice factor. To do so, use $SAGE_BUILD_TMPDIR in case it exists instead of
$SAGE_ROOT/spkg/build.
'''Apply:''' [[BR]]
1. [attachment:trac_4949-scripts.patch] [[BR]]
2. [attachment: trac_4949-installation.patch]
--
Comment:
I applied the patch [attachment:trac_4949-scripts.patch], then moved
the modified sage-spkg file to a fresh source directory of sage-4.7.rc4.
I set SAGE_BUILD_TMPDIR and SAGE_KEEP_BUILT_SPKGS, and
did 'make testlong'. The builds took place in the location
SAGE_BUILD_TMPDIR and all tests passed. I applied the patch [attachment:
trac_4949-installation.patch], did 'sage -b', then 'sage -docbuild
installation html' and verified that the documentation change was made and
makes sense. Positive review.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4949#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.