fix(lapack)

closes #4205
This commit is contained in:
Jacob Heider 2023-11-24 16:32:04 -05:00 committed by Jacob Heider
parent e87b7da332
commit c3c6b1ba01

View file

@ -5,9 +5,10 @@ versions:
github: Reference-LAPACK/lapack github: Reference-LAPACK/lapack
build: build:
dependencies: dependencies:
gnu.org/gcc: '*' gnu.org/gcc: ^11
gnu.org/binutils: '*'
gnu.org/make: '*' gnu.org/make: '*'
cmake.org: '*' cmake.org: ~3.24
working-directory: build working-directory: build
script: script:
- cmake .. $CMAKE_ARGS - cmake .. $CMAKE_ARGS
@ -23,11 +24,17 @@ build:
- -DBUILD_TESTING=OFF - -DBUILD_TESTING=OFF
- -DBUILD_SHARED_LIBS:BOOL=ON - -DBUILD_SHARED_LIBS:BOOL=ON
- -DLAPACKE:BOOL=ON - -DLAPACKE:BOOL=ON
darwin:
# FIXME: binutils ar/ranlib are broken on macOS?
CMAKE_ARGS:
- -DCMAKE_AR=/usr/bin/ar
- -DCMAKE_RANLIB=/usr/bin/ranlib
test: test:
dependencies: dependencies:
freedesktop.org/pkg-config: '*' freedesktop.org/pkg-config: '*'
gnu.org/gcc: '*' gnu.org/gcc: '*'
script: script:
- pkg-config --modversion lapack
- pkg-config --modversion lapack | grep {{version}} - pkg-config --modversion lapack | grep {{version}}
- gcc test.c -llapacke -o test - gcc test.c -llapacke -o test
- ./test - ./test