Search Criteria
Package Details: cling 1.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/cling.git (read-only, click to copy) |
---|---|
Package Base: | cling |
Description: | Interactive C++ interpreter, built on the top of LLVM and Clang libraries |
Upstream URL: | https://root.cern/cling/ |
Keywords: | c c++ cling interpreter llvm |
Licenses: | custom:Cling Release License |
Conflicts: | cling |
Provides: | cling |
Submitter: | archibald869 |
Maintainer: | archibald869 |
Last Packager: | archibald869 |
Votes: | 18 |
Popularity: | 0.75 |
First Submitted: | 2019-08-28 11:45 (UTC) |
Last Updated: | 2024-05-10 06:45 (UTC) |
Dependencies (9)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- perl (perl-gitAUR) (optional) – support for scan-build, ccc-analyzer and c++-analyzer
- python (python37AUR, python311AUR, python310AUR) (optional) – support for scan-view and Jupyter
- python-pygments (optional) – support for opt-viewer
- python-yaml (python-yaml-gitAUR) (optional) – support for opt-viewer
Latest Comments
« First ‹ Previous 1 2 3 4 5
archibald869 commented on 2020-03-15 18:07 (UTC)
I updated the package. Thanks!
ullebe1 commented on 2020-03-14 22:14 (UTC)
The package has a missing dependency: 'git'. Please add it :)
archibald869 commented on 2019-10-20 20:41 (UTC) (edited on 2019-10-20 20:41 (UTC) by archibald869)
Thank you very much for your valuable feedback! I will adjust the PKGBUILD according to your patch.
Concerning the include paths: Do you think it is useful to add a symlink from /opt/cling/include/cling to /usr/include/cling in the PKGBUILD? (Symlinking also the other include directories would fail if clang and llvm are already installed separately.)
racko commented on 2019-10-19 18:55 (UTC) (edited on 2019-10-20 11:05 (UTC) by racko)
Using this package to build https://github.com/QuantStack/xeus-cling I found that /opt/cling/lib/cmake/llvm/ is missing. Checking the PKGBUILD I realized that this is caused by only installing tools/clang and tools/cling. I fixed this with the following patch (while I was at it I also removed the unnecessary -j arguments. Users should set these in MAKEFLAGS in /etc/makepkg.conf):
As for why I had to add -DLLVM_BUILD_TOOLS=OFF: See https://github.com/root-project/cling/commit/2c92b57062e22c14c015c7bd3f9c7d9d3197defa
Also I found that installing to /opt/cling breaks the cmake configs: The cling authors unfortunately neglected to add target_include_directories, so the cmake configs assume that the headers are installed to /usr/include and found by the compiler without providing additional include paths. So installing to /opt/cling violates that assumption. But for now I worked around that by adding
to the xeus-cling toplevel CMakeLists.txt.
Lastly, I had to symlink /usr/lib/clang/5.0.0 to /opt/cling/lib/clang/5.0.0 so that xeus-cling finds it there. Only as a workaround :)
« First ‹ Previous 1 2 3 4 5