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: | 17 |
Popularity: | 0.021908 |
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 Next › Last »
archibald869 commented on 2021-10-22 18:56 (UTC)
I added the suggested patch. Can you give it another try please?
chn commented on 2021-10-07 05:47 (UTC)
It seems necessary to patch
ClingTargets.cmake
after installing it.Otherwise, other packages (such as xeus-cling) will try to find libraries in
$srcdir
other than/opt
. If build cache of cling have been removed. xeus-cling will build failed.krnlpk commented on 2021-10-01 08:48 (UTC)
The only error is
make
complaining about that there is no Makefile in build/tools/clang. I tried replacing make everywhere with ninja, adding -G Ninja to the cmake invocation and doninja clang ninja cling ... env DESTDIR="$pkgdir" ninja install
and it seems like it built without an hitch.
chn commented on 2021-10-01 08:45 (UTC)
@krnlpk build on my PC success, maybe you could check whether there is any error or warning in the output?
krnlpk commented on 2021-10-01 08:14 (UTC) (edited on 2021-10-01 08:15 (UTC) by krnlpk)
cling 0.9-2 doesn't build for me; in build() the PKGBUILD calls
but no Makefiles are generated inside those directories, so the build fails almost immediately.
archibald869 commented on 2021-09-29 19:07 (UTC)
Thanks for the hint! I updated the PKGBUILD as suggested. Can you please check if it works now?
chn commented on 2021-09-14 16:59 (UTC)
Using the current PKGBUILD,
ClingTargets.cmake
will not be packaged, which makes other packages failed to build if they havefind_package(Cling REQUIRED)
in their cmake file (such as xeus-cling).Simply add
install lib/cmake/cling/ClingTargets.cmake "$pkgdir/opt/cling/lib/cmake/cling"
to the end ofpackage()
will resolve the problem.I am not familiar with cmake and I could not figure out why cling does not install this file automatically. Maybe it is just a little bug?
archibald869 commented on 2021-08-13 12:11 (UTC) (edited on 2021-08-13 12:12 (UTC) by archibald869)
I just tried to build and install it in a fresh Arch environment and it succeeded without any problems. How do you build the package?
DarioP commented on 2021-08-11 13:40 (UTC) (edited on 2021-08-11 13:43 (UTC) by DarioP)
With the unmodified PKGBBUILD, I am getting an error about some missing doc file. I do not really care about local documentation. Is anyone getting the same?
archibald869 commented on 2021-05-20 20:33 (UTC)
Thanks for the hint! I updated the PKGBUILD.
« First ‹ Previous 1 2 3 4 5 Next › Last »