Package Details: libcuba 4.2.2-1

Git Clone URL: https://aur.archlinux.org/libcuba.git (read-only, click to copy)
Package Base: libcuba
Description: A library for multidimensional numerical integration
Upstream URL: https://feynarts.de/cuba/
Keywords: numerics science
Licenses: LGPL
Submitter: zhangjunsin
Maintainer: xantares
Last Packager: xantares
Votes: 2
Popularity: 0.000006
First Submitted: 2016-02-26 03:13 (UTC)
Last Updated: 2024-05-02 18:21 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

xantares commented on 2024-02-16 16:53 (UTC)

could you check fpic is added ?

aragon123 commented on 2021-12-09 13:32 (UTC)

I can confirm that I had the same error, when building cuba with "-j > 1".

I also have a different question, I usually need to compile a Python library against libcuba, which needs the -fPIC flag. Would it be possible to add `CFLAGS="-fPIC ${CFLAGS}" to the PKGBUILD? Since I regularly forget this.

ryan_greenblatt commented on 2020-11-21 03:45 (UTC) (edited on 2020-11-21 03:50 (UTC) by ryan_greenblatt)

Looks like the md5 needs to be updated again.

Also, this isn't intrinsically a problem with the PKGBUILD, but the build fails with linker errors if multiple threads are used. Like with make -j8 or when using MAKEFLAGS="-j$(nproc)". I believe this is the error that xantares ran into.

I emailed the maintainer with the fix, so that might get changed. Before that happens, it would be a good idea if the PKGBUILD used make -j1.

zhangjunsin commented on 2018-11-01 16:13 (UTC)

Sorry for the delay, the PKGBUILD and md5 are updated. This package should build now.

Revelation60 commented on 2018-10-16 18:19 (UTC)

The md5sum is wrong. Could you update the package?

xantares commented on 2018-03-22 09:02 (UTC) (edited on 2018-03-22 09:02 (UTC) by xantares)

I think I found a fix:

make lib && make

xantares commented on 2018-03-14 21:40 (UTC)

hello,

the build fails here with undefined references:

libcuba.a(Suave.o): In function Integrate': Suave.c:(.text+0x3fa8): undefined reference tocubafork'

here is the full log: https://gist.github.com/xantares/a3987e3beecb410e067fd2de9b3a4080