Package Details: adol-c 2.7.2-2

Git Clone URL: https://aur.archlinux.org/adol-c.git (read-only, click to copy)
Package Base: adol-c
Description: Automatic Differentiation of Algorithms written in C/C++
Upstream URL: https://github.com/coin-or/ADOL-C
Licenses: EPL-1.0 OR GPL-2.0-or-later
Submitter: krszalay
Maintainer: meanjollies
Last Packager: meanjollies
Votes: 3
Popularity: 0.000000
First Submitted: 2017-11-16 16:57 (UTC)
Last Updated: 2024-01-31 02:04 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

meanjollies commented on 2023-11-10 03:47 (UTC) (edited on 2023-11-10 03:49 (UTC) by meanjollies)

Thanks @Alad :] It appears that Python support in 2.7.2 is broken, so I have disabled it. It seems that the author has included fixes for this upstream in the master branch per https://github.com/coin-or/ADOL-C/issues/20, but there has not yet been a release that contains them.

Alad commented on 2023-11-09 23:56 (UTC)

running install
running build
running build_lib
skipping build of ADOL-C
running build_ext
prefix =  /home/user/adolc_base
invoking: g++ -std=c++11 -E -C -P -o adolc_all_pre.hpp -Iinclude -nostdinc -DSWIGPRE adolc_all_in.hpp
building '_adolc' extension
swigging adolc-python.i to adolc-python_wrap.cpp
swig -python -c++ -dirvtable -o adolc-python_wrap.cpp adolc-python.i
../include/adolc/adolc_fatalerror.h:25: Warning 401: Nothing known about base class 'std::exception'. Ignored.
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
INFO: C compiler: gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC

creating build
creating build/temp.linux-x86_64-cpython-311
INFO: compile options: '-I/usr/lib/python3.11/site-packages/numpy/core/include -I/usr/include/python3.11 -I/home/user/adolc_base/include -c'
extra options: '-std=c++11 -fPIC -w'
INFO: gcc: adolc-python_wrap.cpp
adolc-python_wrap.cpp:3593:10: fatal error: adolc/adolc.h: No such file or directory
 3593 | #include <adolc/adolc.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
error: Command "gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/lib/python3.11/site-packages/numpy/core/include -I/usr/include/python3.11 -I/home/user/adolc_base/include -c adolc-python_wrap.cpp -o build/temp.linux-x86_64-cpython-311/adolc-python_wrap.o -std=c++11 -fPIC -w" failed with exit status 1
make[3]: *** [Makefile:490: install] Error 1

carlosal1015 commented on 2021-07-15 18:18 (UTC)

Hi @meanjollies, adol-c depends of boost and colpack, according to 1, 2, 3, 4, 5.

x2b commented on 2020-11-11 15:17 (UTC)

This is several years out of date by now, the current version is 2.7.2 available at

https://github.com/coin-or/ADOL-C/releases

Please updated