mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
e87b7da332
commit
c3c6b1ba01
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue