2023-07-27 16:47:01 +03:00
|
|
|
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:
|
|
|
|
gnu.org/make: '*'
|
|
|
|
cmake.org: '*'
|
2023-12-08 19:46:29 +03:00
|
|
|
git-scm.org: '*'
|
2023-07-27 16:47:01 +03:00
|
|
|
script:
|
|
|
|
- cmake -B build $ARGS
|
|
|
|
- cmake --build build --parallel
|
|
|
|
- cmake --install build
|
2023-12-08 19:46:29 +03:00
|
|
|
# removed in 5.2
|
|
|
|
- run: |
|
|
|
|
mkdir -p {{prefix}}/pkgshare/graphs
|
|
|
|
mv ./src/graphs/* {{prefix}}/pkgshare/graphs/
|
|
|
|
if: <5.2
|
2023-07-27 16:47:01 +03:00
|
|
|
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:
|
2023-12-08 19:46:29 +03:00
|
|
|
dependencies:
|
|
|
|
curl.se: '*'
|
2023-07-27 16:47:01 +03:00
|
|
|
script:
|
2023-12-08 19:46:29 +03:00
|
|
|
- curl -LO 'https://raw.githubusercontent.com/KarypisLab/METIS/v5.1.1-DistDGL-v0.5/graphs/4elt.graph'
|
2023-07-27 16:47:01 +03:00
|
|
|
- graphchk 4elt.graph
|
|
|
|
- gpmetis 4elt.graph 2
|
|
|
|
- ndmetis 4elt.graph
|