File: run_lapack_tests.sh

package info (click to toggle)
lapack 3.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 73,036 kB
  • sloc: fortran: 587,347; ansic: 179,104; makefile: 4,651; python: 269; sh: 197
file content (18 lines) | stat: -rwxr-xr-x 699 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# This scripts runs all LAPACK tests against the BLAS and LAPACK implementations
# currently selected through the alternatives system
# (see "update-alternatives --display libblas.so.3-${DEB_HOST_MULTIARCH}" and
#  "update-alternatives --display liblapack.so.3-${DEB_HOST_MULTIARCH}").
# The BLAS and LAPACK implementations can be overriden using LD_LIBRARY_PATH.

# This script creates temporary files in the current directory.

DEB_HOST_MULTIARCH=$(dpkg-architecture -q DEB_HOST_MULTIARCH)

for testfile in /usr/lib/${DEB_HOST_MULTIARCH}/lapack/x* /usr/lib/${DEB_HOST_MULTIARCH}/lapack/*.in
do
    ln -s ${testfile}
done

/usr/lib/${DEB_HOST_MULTIARCH}/lapack/lapack_testing.py -d . -r