#8306: Parallel inter/intra-spkg builds
----------------------------+-----------------------------------------------
Reporter: mpatel | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.3.4
Component: build | Keywords:
Author: Mitesh Patel | Upstream: N/A
Reviewer: David Kirkby | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by mpatel):
To install and use ccache, I did this
{{{
#!sh
wget http://samba.org/ftp/ccache/ccache-2.4.tar.gz
tar zxvf ccache-2.4.tar.gz
cd ccache-2.4
./configure
make
cp ccache ~/bin
}}}
Because I set
{{{
#!sh
PATH=".:$HOME/bin:$HOME/apps/sage/local/bin:$PATH"
}}}
in `~/.profile`, I did
{{{
#!sh
cd ~/bin
ln -s c++ ccache
ln -s cc ccache
ln -s g++ ccache
ln -s g++-3.4 ccache
ln -s g++-4.2 ccache
ln -s gcc ccache
ln -s gcc-3.4 ccache
ln -s gcc-4.1 ccache
ln -s gcc-4.2 ccache
ln -s x86_64-linux-gnu-g++ ccache
ln -s x86_64-linux-gnu-g++-3.4 ccache
ln -s x86_64-linux-gnu-g++-4.2 ccache
ln -s x86_64-linux-gnu-gcc ccache
ln -s x86_64-linux-gnu-gcc-3.4 ccache
ln -s x86_64-linux-gnu-gcc-4.1 ccache
ln -s x86_64-linux-gnu-gcc-4.2 ccache
ln -s x86_64-linux-gnu-gcj-4.2 ccache
ln -s x86_64-linux-gnu-gfortran ccache
ln -s x86_64-linux-gnu-gfortran-4.1 ccache
ln -s x86_64-linux-gnu-gfortran-4.2 ccache
}}}
This may be overkill. In `~/.bashrc`, I've put
{{{
#!sh
export CCACHE_DIR=/scratch/mpatel/.ccache
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8306#comment:33>
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.