mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(metis)
closes #4355 and add gklib, i guess. turns out it's unneeded, but why pass it up?
This commit is contained in:
parent
32b903698c
commit
6433e90f69
32
projects/github.com/KarypisLab/GKlib/package.yml
Normal file
32
projects/github.com/KarypisLab/GKlib/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/KarypisLab/GKlib/archive/refs/tags/METIS-v{{version}}-DistDGL-0.5.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: KarypisLab/GKlib/tags
|
||||||
|
strip:
|
||||||
|
- /^METIS-/
|
||||||
|
- /-DistDGL-0\.5$/
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
gnu.org/make: '*'
|
||||||
|
cmake.org: '*'
|
||||||
|
script:
|
||||||
|
- make config $ARGS
|
||||||
|
- make -j {{hw.concurrency}}
|
||||||
|
- make install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- prefix="{{prefix}}"
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/cmpnbrs
|
||||||
|
- bin/csrcnv
|
||||||
|
- bin/fis
|
||||||
|
- bin/gkgraph
|
||||||
|
- bin/gkrw
|
||||||
|
- bin/m2mnbrs
|
||||||
|
|
||||||
|
# help? i have no idea what to do with these.
|
||||||
|
test: cmpnbrs -help
|
|
@ -9,12 +9,16 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
|
git-scm.org: '*'
|
||||||
script:
|
script:
|
||||||
- cmake -B build $ARGS
|
- cmake -B build $ARGS
|
||||||
- cmake --build build --parallel
|
- cmake --build build --parallel
|
||||||
- cmake --install build
|
- cmake --install build
|
||||||
- mkdir -p {{prefix}}/pkgshare/graphs
|
# removed in 5.2
|
||||||
- mv ./src/graphs/* {{prefix}}/pkgshare/graphs/
|
- run: |
|
||||||
|
mkdir -p {{prefix}}/pkgshare/graphs
|
||||||
|
mv ./src/graphs/* {{prefix}}/pkgshare/graphs/
|
||||||
|
if: <5.2
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||||
|
@ -32,8 +36,10 @@ provides:
|
||||||
- bin/mpmetis
|
- bin/mpmetis
|
||||||
- bin/ndmetis
|
- bin/ndmetis
|
||||||
test:
|
test:
|
||||||
|
dependencies:
|
||||||
|
curl.se: '*'
|
||||||
script:
|
script:
|
||||||
- cp {{prefix}}/pkgshare/graphs/4elt.graph ./
|
- curl -LO 'https://raw.githubusercontent.com/KarypisLab/METIS/v5.1.1-DistDGL-v0.5/graphs/4elt.graph'
|
||||||
- graphchk 4elt.graph
|
- graphchk 4elt.graph
|
||||||
- gpmetis 4elt.graph 2
|
- gpmetis 4elt.graph 2
|
||||||
- ndmetis 4elt.graph
|
- ndmetis 4elt.graph
|
||||||
|
|
Loading…
Reference in a new issue