mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
glaros.dtc.umn.edu
This commit is contained in:
parent
8a6d53e901
commit
2195d4c94b
1 changed files with 40 additions and 0 deletions
40
projects/glaros.dtc.umn.edu/metis/package.yml
Normal file
40
projects/glaros.dtc.umn.edu/metis/package.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
distributable:
|
||||||
|
# original http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz -> no response
|
||||||
|
url: https://github.com/scivision/METIS/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
display-name: metis
|
||||||
|
versions:
|
||||||
|
github: scivision/METIS/tags
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
gnu.org/make: '*'
|
||||||
|
cmake.org: '*'
|
||||||
|
script:
|
||||||
|
- cmake -B build $ARGS
|
||||||
|
- cmake --build build --parallel
|
||||||
|
- cmake --install build
|
||||||
|
- mkdir -p {{prefix}}/pkgshare/graphs
|
||||||
|
- mv ./src/graphs/* {{prefix}}/pkgshare/graphs/
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||||
|
- -DCMAKE_INSTALL_LIBDIR={{prefix}}/lib
|
||||||
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
||||||
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
|
- -Wno-dev
|
||||||
|
- -DBUILD_TESTING=OFF
|
||||||
|
provides:
|
||||||
|
- bin/cmpfillin
|
||||||
|
- bin/gpmetis
|
||||||
|
- bin/graphchk
|
||||||
|
- bin/m2gmetis
|
||||||
|
- bin/mpmetis
|
||||||
|
- bin/ndmetis
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- cp {{prefix}}/pkgshare/graphs/4elt.graph ./
|
||||||
|
- graphchk 4elt.graph
|
||||||
|
- gpmetis 4elt.graph 2
|
||||||
|
- ndmetis 4elt.graph
|
Loading…
Reference in a new issue