igraph: update to 0.10.2.

Also: use openblas instead of lapack when available.
This commit is contained in:
Gonzalo Tornaría 2022-10-28 19:00:39 -03:00 committed by Piraty
parent 6e1a9f0f3d
commit 771ba9b372
2 changed files with 17 additions and 6 deletions

View File

@ -3883,7 +3883,7 @@ libjsonnet.so.0 jsonnet-0.14.0_2
libjsonnet++.so.0 jsonnet-0.14.0_2
libigdgmm.so.12 intel-gmmlib-22.1.3_1
libigfxcmrt.so.7 intel-media-driver-21.3.5_1
libigraph.so.0 igraph-0.9.4_1
libigraph.so.3 igraph-0.10.2_1
libgtk-layer-shell.so.0 gtk-layer-shell-0.1.0_1
librdkafka.so.1 librdkafka-1.4.4_3
librdkafka++.so.1 librdkafka-1.4.4_3

View File

@ -1,18 +1,29 @@
# Template file for 'igraph'
pkgname=igraph
version=0.9.8
version=0.10.2
revision=1
build_style=cmake
configure_args="-DIGRAPH_ENABLE_TLS=on -DIGRAPH_ENABLE_LTO=on -DBUILD_SHARED_LIBS=ON"
hostmakedepends="flex bison python3"
makedepends="arpack-ng-devel glpk-devel gmp-devel lapack-devel libgomp-devel libxml2-devel SuiteSparse-devel"
configure_args="-DIGRAPH_ENABLE_TLS=on -DIGRAPH_ENABLE_LTO=on -DBUILD_SHARED_LIBS=ON
-DBLA_VENDOR=$(vopt_if openblas 'OpenBLAS' 'Generic')"
makedepends="arpack-ng-devel glpk-devel gmp-devel libgomp-devel libxml2-devel
$(vopt_if openblas 'openblas-devel' 'lapack-devel')"
short_desc="Graph library"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://igraph.org/c/"
changelog="https://raw.githubusercontent.com/igraph/igraph/master/CHANGELOG.md"
distfiles="https://github.com/igraph/igraph/releases/download/${version}/igraph-${version}.tar.gz"
checksum=f9a83473cea3e037b605b79b336be656b00dcf3037b233b4b250bd9270f36397
checksum=2c2b9f18fc2f84b327f1146466942eb3e3d2ff09b6738504efb9e5edf2728c83
build_options="openblas"
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|aarch64*|armv[67]*|ppc64*)
# Prefer accelerated routines where available
build_options_default="openblas"
;;
*) ;;
esac
igraph-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"