armadillo: update to 11.0.1.
This commit is contained in:
parent
01695b83dc
commit
6d43c79baf
3 changed files with 15 additions and 45 deletions
|
@ -3722,7 +3722,7 @@ libdrumstick-rt.so.1 drumstick-1.1.2_1
|
||||||
libnozzle.so.1 libnozzle1-1.11_4
|
libnozzle.so.1 libnozzle1-1.11_4
|
||||||
libmygpo-qt5.so.1 libmygpo-qt-1.1.0_1
|
libmygpo-qt5.so.1 libmygpo-qt-1.1.0_1
|
||||||
libluv.so.1 libluv-1.30.1.0_1
|
libluv.so.1 libluv-1.30.1.0_1
|
||||||
libarmadillo.so.9 armadillo-9.700.2_1
|
libarmadillo.so.11 armadillo-11.0.1_1
|
||||||
libvarnishapi.so.2 libvarnishapi-6.3.0_1
|
libvarnishapi.so.2 libvarnishapi-6.3.0_1
|
||||||
libicns.so.1 libicns-0.8.1_1
|
libicns.so.1 libicns-0.8.1_1
|
||||||
librabbitmq.so.4 rabbitmq-c-0.10.0_2
|
librabbitmq.so.4 rabbitmq-c-0.10.0_2
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
From a65f29c4cddccd22545746b077e6bd19d56e6bfb Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
|
|
||||||
Date: Fri, 24 Jul 2020 23:07:44 +0200
|
|
||||||
Subject: [PATCH] Absolute paths can't match both cross and native use
|
|
||||||
|
|
||||||
|
|
||||||
diff --git include/armadillo_bits/config.hpp.cmake include/armadillo_bits/config.hpp.cmake
|
|
||||||
index be42243..a285e35 100644
|
|
||||||
--- a/include/armadillo_bits/config.hpp.cmake
|
|
||||||
+++ b/include/armadillo_bits/config.hpp.cmake
|
|
||||||
@@ -50,7 +50,7 @@
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(ARMA_SUPERLU_INCLUDE_DIR)
|
|
||||||
-#define ARMA_SUPERLU_INCLUDE_DIR ${ARMA_SUPERLU_INCLUDE_DIR}/
|
|
||||||
+#define ARMA_SUPERLU_INCLUDE_DIR ./
|
|
||||||
//// If you're using SuperLU and want to explicitly include the SuperLU headers,
|
|
||||||
//// uncomment the above define and specify the appropriate include directory.
|
|
||||||
//// Make sure the directory has a trailing /
|
|
||||||
@@ -94,7 +94,7 @@
|
|
||||||
//// ARMA_BLAS_LONG, ARMA_BLAS_LONG_LONG, ARMA_USE_FORTRAN_HIDDEN_ARGS
|
|
||||||
|
|
||||||
#cmakedefine ARMA_USE_ATLAS
|
|
||||||
-#define ARMA_ATLAS_INCLUDE_DIR ${ARMA_ATLAS_INCLUDE_DIR}/
|
|
||||||
+#define ARMA_ATLAS_INCLUDE_DIR ./
|
|
||||||
//// If you're using ATLAS and the compiler can't find cblas.h and/or clapack.h
|
|
||||||
//// uncomment the above define and specify the appropriate include directory.
|
|
||||||
//// Make sure the directory has a trailing /
|
|
||||||
@@ -140,7 +140,7 @@
|
|
||||||
#undef ARMA_USE_HDF5
|
|
||||||
#define ARMA_USE_HDF5
|
|
||||||
|
|
||||||
- #define ARMA_HDF5_INCLUDE_DIR ${ARMA_HDF5_INCLUDE_DIR}/
|
|
||||||
+ #define ARMA_HDF5_INCLUDE_DIR ./
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(ARMA_MAT_PREALLOC)
|
|
||||||
--
|
|
||||||
2.27.0
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'armadillo'
|
# Template file for 'armadillo'
|
||||||
pkgname=armadillo
|
pkgname=armadillo
|
||||||
version=9.900.2
|
version=11.0.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DDETECT_HDF5=$(vopt_if hdf5 ON OFF)"
|
configure_args="-DOPENBLAS_PROVIDES_LAPACK=true
|
||||||
|
-DDETECT_HDF5=$(vopt_if hdf5 ON OFF)"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="openblas-devel superlu-devel $(vopt_if hdf5 hdf5-devel)"
|
makedepends="openblas-devel superlu-devel $(vopt_if hdf5 hdf5-devel)"
|
||||||
short_desc="C++ linear algebra library"
|
short_desc="C++ linear algebra library"
|
||||||
|
@ -11,15 +12,24 @@ maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="http://arma.sourceforge.net/"
|
homepage="http://arma.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/arma/${pkgname}-${version}.tar.xz"
|
distfiles="${SOURCEFORGE_SITE}/arma/${pkgname}-${version}.tar.xz"
|
||||||
checksum=d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05
|
checksum=e43d4449376c1fc8b562095431bb82cf9c4ff98a791a22a25d0f96e5e7937c22
|
||||||
|
|
||||||
build_options="hdf5"
|
build_options="hdf5"
|
||||||
desc_option_hdf5="HDF5 support"
|
desc_option_hdf5="HDF5 support"
|
||||||
# hd5 is nocross
|
|
||||||
|
# hdf5 is nocross
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="hdf5"
|
build_options_default="hdf5"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# Strip cross prefix from default header paths in config.hpp
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
vsed -e "s@${XBPS_CROSS_BASE}/@/@" \
|
||||||
|
-i "${DESTDIR}/usr/include/armadillo_bits/config.hpp"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
armadillo-devel_package() {
|
armadillo-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue