Package Details: armadillo 14.0.3-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: 58
Popularity: 0.115722
First Submitted: 2009-12-14 16:43 (UTC)
Last Updated: 2024-10-13 17:29 (UTC)

Latest Comments

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

Kknd commented on 2015-01-16 17:03 (UTC)

The problem seems to be fixed now. Thanks!

valandil commented on 2015-01-08 20:28 (UTC)

Something like that might be cleaner: build() { ARMA64BITWORD="" if [ "$CARCH" == "x86_64" ]; then ARMA64BITWORD="ARMA_64BIT_WORD" ARMA64LIBDIR="-DINSTALL_LIB_DIR:PATH=/usr/lib" fi cd "${srcdir}/$pkgname-$pkgver" cmake $ARMA64BITWORD $ARMA64LIBDIR -DCMAKE_INSTALL_PREFIX:PATH=/usr . make } as the CMakeLists.txt of armadillo allows the specification of the lib directory.

Rufflewind commented on 2015-01-07 21:10 (UTC)

Pacman is failing to install the package because it contains /usr/lib64 as a directory, which on Arch Linux is just a symlink to /usr/lib. To work around this, I added the following to the `package` function, immediately after the `make` line: [ "$CARCH" = x86_64 ] && mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"

Kknd commented on 2015-01-04 01:21 (UTC)

Hi, I've added the prepare() that xan provided, and it seems to be working here. thanks.

xantares commented on 2014-12-28 13:23 (UTC)

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 (UTC)

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 (UTC)

Done, thanks!

Carlinix commented on 2014-11-11 15:14 (UTC)

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 (UTC)

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