mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
f45c514222
commit
589cd23f30
1 changed files with 13 additions and 0 deletions
|
@ -30,6 +30,18 @@ build:
|
|||
working-directory: SuiteSparse_config
|
||||
- make library $ARGS CMAKE_OPTIONS="$CMAKE_ARGS"
|
||||
- make install $ARGS CMAKE_OPTIONS="$CMAKE_ARGS"
|
||||
- run: ln -s mongoose suitesparse_mongoose
|
||||
working-directory: '{{prefix}}/bin'
|
||||
if: '<7.4.0'
|
||||
- run: ln -s suitesparse_mongoose mongoose
|
||||
working-directory: '{{prefix}}/bin'
|
||||
if: '>=7.4.0'
|
||||
- run: |
|
||||
mv suitesparse/* .
|
||||
rmdir suitesparse
|
||||
ln -s . suitesparse
|
||||
working-directory: '{{prefix}}/include'
|
||||
if: '>=7.4.0'
|
||||
env:
|
||||
ARGS:
|
||||
- INSTALL={{prefix}}
|
||||
|
@ -55,6 +67,7 @@ build:
|
|||
- -DBLAS_LIBRARIES={{deps.netlib.org/lapack.prefix}}/lib/libblas.{{deps.netlib.org/lapack.version.major}}.dylib
|
||||
provides:
|
||||
- bin/mongoose
|
||||
- bin/suitesparse_mongoose
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
|
|
Loading…
Reference in a new issue