[Numpy-svn] r4044 - numpy.sunperf

numpy-svn@scip... numpy-svn@scip...
Sun Sep 16 06:48:27 CDT 2007


Author: cdavid
Date: 2007-09-16 06:48:23 -0500 (Sun, 16 Sep 2007)
New Revision: 4044

Added:
   numpy.sunperf/test_sunperf.sh
Log:
Add small shell script for easier testing of sunperf implementation.

Added: numpy.sunperf/test_sunperf.sh
===================================================================
--- numpy.sunperf/test_sunperf.sh	2007-09-16 11:39:56 UTC (rev 4043)
+++ numpy.sunperf/test_sunperf.sh	2007-09-16 11:48:23 UTC (rev 4044)
@@ -0,0 +1,19 @@
+INSTALL_PREFIX=/usr/media/src/src/dsp/numpy/numpy.sunperf/tmp
+SUNSTUDIOPATH=$HOME/opt/sun/sunstudio12
+PATH=$SUNSTUDIOPATH/bin/:$PATH
+
+#ATLAS=None
+#BLAS=None
+#LAPACK=None
+SUNPERF=$SUNSTUDIOPATH
+LD_LIBRARY_PATH=$SUNSTUDIOPATH/lib
+
+rm -rf $INSTALL_PREFIX
+rm -rf build
+ATLAS=$ATLAS BLAS=$BLAS LAPACK=$LAPACK SUNPERF=$SUNPERF python setup.py config --compiler=sun --fcompiler=sun
+ATLAS=$ATLAS BLAS=$BLAS LAPACK=$LAPACK SUNPERF=$SUNPERF python setup.py build --compiler=sun --fcompiler=sun
+
+python setup.py install --prefix=$INSTALL_PREFIX
+echo "======================================"
+echo "              TESTING "
+(cd tmp && PYTHONPATH=$INSTALL_PREFIX/lib/python2.5/site-packages python -c "import numpy; numpy.test()")



More information about the Numpy-svn mailing list