Differences between revisions 20 and 21
Revision 20 as of 2009-05-17 20:59:14
Size: 1055
Editor: OndrejCertik
Comment:
Revision 21 as of 2009-05-17 21:19:31
Size: 1689
Editor: OndrejCertik
Comment:
Deletions are marked like this. Additions are marked like this.
Line 47: Line 47:
Here is a sample `spkg-install` script for a typical `configure && make && make install` package. Change the `PACKAGE_NAME=` line to the name of the package.

{{{
if [ "$SAGE_LOCAL" = "" ]; then
   echo "SAGE_LOCAL undefined ... exiting";
   echo "Maybe run 'sage -sh'?"
   exit 1
fi

PACKAGE_NAME=Judy

cd src

./configure --prefix="$SAGE_LOCAL"
if [ $? -ne 0 ]; then
   echo "Error configuring $PACKAGE_NAME."
   exit 1
fi

make
if [ $? -ne 0 ]; then
   echo "Error building $PACKAGE_NAME."
   exit 1
fi

make install
if [ $? -ne 0 ]; then
   echo "Error installing $PACKAGE_NAME."
   exit 1
fi
}}}

Ondřej Čertík

Me and Sage

What I do or I am interested in:

Generally:

  • I want to use Sage in physics. I am not so much interested in pure math things, but I really want basic calculus to work and to work well.

Tips

How to test in parallel:

$ ./sage -tp 6 devel/sage/sage/calculus/

Execute tests:

SAGE_CHECK=yes sage -f sympy-0.6.3.spkg

How to build in parallel:

export MAKE="make -j8"

How to install Sage using virtualbox: SageVirtualBox

http://wiki.sagemath.org/Sage_Spkg_Tracking

http://sage.math.washington.edu/home/ondrej/

http://wiki.sagemath.org/SPKG_Audit

Here is a sample spkg-install script for a typical configure && make && make install package. Change the PACKAGE_NAME= line to the name of the package.

if [ "$SAGE_LOCAL" = "" ]; then
   echo "SAGE_LOCAL undefined ... exiting";
   echo "Maybe run 'sage -sh'?"
   exit 1
fi

PACKAGE_NAME=Judy

cd src

./configure --prefix="$SAGE_LOCAL"
if [ $? -ne 0 ]; then
   echo "Error configuring $PACKAGE_NAME."
   exit 1
fi

make
if [ $? -ne 0 ]; then
   echo "Error building $PACKAGE_NAME."
   exit 1
fi

make install
if [ $? -ne 0 ]; then
   echo "Error installing $PACKAGE_NAME."
   exit 1
fi


CategoryHomepage

OndrejCertik (last edited 2009-06-25 19:08:14 by OndrejCertik)