commit lapack for openSUSE:Factory
Hello community, here is the log from the commit of package lapack for openSUSE:Factory checked in at Sun Sep 11 19:26:15 CEST 2011. -------- --- lapack/lapack.changes 2011-05-12 09:24:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/lapack/lapack.changes 2011-09-09 15:59:32.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Sep 9 13:58:10 UTC 2011 - burnus@net-b.de + +- Run BLAS and LAPACK testsuite when building + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lapack.spec ++++++ --- /var/tmp/diff_new_pack.IMiWpt/_old 2011-09-11 19:26:11.000000000 +0200 +++ /var/tmp/diff_new_pack.IMiWpt/_new 2011-09-11 19:26:11.000000000 +0200 @@ -22,7 +22,7 @@ BuildRequires: gcc-fortran Summary: Linear Algebra Package Version: 3.3.1 -Release: 1 +Release: 3 License: Public Domain, Freeware Group: Development/Libraries/Parallel Source0: lapack-%{version}.tar.bz2 @@ -155,6 +155,11 @@ tar xjf %{S:1} %build +case "$RPM_ARCH" in + i[0-9]86) PRECFLAGS="-ffloat-store" ;; + *) PRECFLAGS="" ;; +esac +export PRECFLAGS cp make.inc.example make.inc make cleanlib make %{?jobs:-j%jobs} blaslib \ @@ -170,6 +175,17 @@ make %{?jobs:-j%jobs} blaslib \ OPTS="$RPM_OPT_FLAGS" \ NOOPT="$RPM_OPT_FLAGS -O0" +make blas_testing \ + OPTS="$RPM_OPT_FLAGS $PRECFLAGS" \ + NOOPT="$RPM_OPT_FLAGS $PRECFLAGS -O0" +if grep -B15 -A15 FAIL BLAS/*.out; then + echo + echo "blas_testing FAILED" + echo + false +else + true # No failures +fi mv blas_LINUX.a libblas.a make cleanlib make %{?jobs:-j%jobs} lapacklib \ @@ -185,6 +201,18 @@ make %{?jobs:-j%jobs} lapacklib \ OPTS="$RPM_OPT_FLAGS" \ NOOPT="$RPM_OPT_FLAGS -O0" +ln -s libblas.a blas_LINUX.a +make lapack_testing \ + OPTS="$RPM_OPT_FLAGS $PRECFLAGS" \ + NOOPT="$RPM_OPT_FLAGS $PRECFLAGS -O0" +if grep -B15 -A15 FAIL TESTING/*.out; then + echo + echo "lapack_testing FAILED" + echo + false +else + true # No failures +fi mv lapack_LINUX.a liblapack.a %install ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de