Skip to content
Snippets Groups Projects
Commit f6646fae authored by Sertonix's avatar Sertonix Committed by Francesco Colista
Browse files

community/lapack: run tests

parent 152dc14a
No related branches found
No related tags found
1 merge request!81135community/lapack: run tests
Pipeline #306208 skipped
......@@ -7,7 +7,6 @@ pkgdesc="Linear Algebra PACKage"
url="https://www.netlib.org/lapack/"
arch="all"
license="BSD-3-Clause"
options="!check" # Tests broken
makedepends="gfortran cmake python3-dev"
subpackages="$pkgname-dev:_dev cblas blas blas-dev"
source="https://github.com/Reference-LAPACK/lapack/archive/v$pkgver/lapack-v$pkgver.tar.gz"
......@@ -19,7 +18,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_SKIP_RPATH=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
-DCMAKE_Fortran_COMPILER=gfortran \
-DLAPACKE=ON \
-DCBLAS=ON
......@@ -27,7 +26,7 @@ build() {
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
LD_LIBRARY_PATH="$PWD"/build/lib ctest --test-dir build
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment