Package Details: armadillo 10.7.4-1

Git Clone URL: https://aur.archlinux.org/armadillo.git (read-only, click to copy)
Package Base: armadillo
Description: C++ linear algebra library
Upstream URL: http://arma.sourceforge.net/
Licenses: Apache
Submitter: None
Maintainer: valandil
Last Packager: valandil
Votes: 54
Popularity: 1.22
First Submitted: 2009-12-14 16:43
Last Updated: 2021-11-28 19:36

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

xantares commented on 2014-12-28 13:23

hi,
you have to replace it manually:
prepare() {
cd "${srcdir}/armadillo-$pkgver"
if [ "$CARCH" == "x86_64" ]; then
sed -i "s|// #define ARMA_64BIT_WORD|#define ARMA_64BIT_WORD|g" include/armadillo_bits/config.hpp.cmake
fi
}
xan.

gilesc commented on 2014-12-19 22:15

I don't think the changes by Carlinix actually enable 64-bit mode for Armadillo. When I use this PKGBUILD (on a 64-bit system), and then compile a downstream package, "mlpack", it complains that armadillo wasn't compiled for 64 bits.

It looks like it actually has to be enabled in either include/armadillo_bits/config.hpp or {..}/config.hpp.cmake . Not sure which.

Kknd commented on 2014-11-11 18:32

Done, thanks!

Carlinix commented on 2014-11-11 15:14

I think that for a 64bits environment it is good enable the option ARMA_64BIT_WORD

like this:

build() {
ARMA64BITWORD=""
if [ "$CARCH" == "x86_64" ]; then
ARMA64BITWORD="ARMA_64BIT_WORD"
fi
cd "${srcdir}/$pkgname-$pkgver"
cmake $ARMA64BITWORD -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
}

Kknd commented on 2014-09-12 17:11

Thanks for the report. I plan to wait for a while to see any upstream changes.

oniram commented on 2014-09-12 16:33

Update to 4.400.2 breaks HDF5 support.
From their changelog:
2014-09-09 Version 4.400.2
* disabled automatic detection of HDF5 to prevent compilation problems

They commented lines 227 to 234 in file CMakeLists.txt.
I've solved the problem here by uncommenting those lines. I personally need support for HDF5.
Don't know what would be the correct way to fix this for everybody in the package.

Kknd commented on 2014-06-17 18:35

Thanks.

xantares commented on 2014-06-17 18:16

you need to pass -DINSTALL_LIB_DIR=lib for it not to install into /lib64

Kknd commented on 2014-06-03 11:20

Some dependencies were changed: boost is required only when building, and hdf5 was added as a new dependency.

Kknd commented on 2014-06-03 11:20

Some dependencies were changes: boost is required only when building, and hdf5 was added as a new dependency.