cling
cling copied to clipboard
The cling C++ interpreter
The officially supported way to build LLVM/Clang as a shared library is via the LLVM_BUILD_LLVM_DYLIB and LLVM_LINK_LLVM_DYLIB CMake options (see: https://llvm.org/docs/BuildingADistribution.html). When built this way, the whole of Clang API...
- [x] Checked for duplicates ### Describe the bug Running `cpt.py --current-dev=deb` results in several failures: ```c++ In file included from /root/ci/build/cling-src/utils/benchmark/src/benchmark_register.cc:15: /root/ci/build/cling-src/utils/benchmark/src/benchmark_register.h: In function 'void AddRange(std::vector*, T, T, int)':...
- [x] Use a `if __name__ == "__main__"` block as program execution starting point in `cpt.py` - [ ] No mutating global variables in `cpt.py` - [ ] Minimize use...
## Setup - OS: Mac OS X Big Sur (fresh installation - Python 3.9.13 - cling version 0.8~dev (installed from `cling_2020-11-05_mac1015.tar.bz2` 2020-11-05 14:20 179M) - kernel (installed following https://github.com/root-project/cling/tree/master/tools/Jupyter) ```...
### Explain what you would like to see improved The other day I had another attempt on fixing our ``-related compilation errors of ROOT (see e.g. https://github.com/root-project/root/issues/7881). I found that...
- [x] Checked for duplicates ### Describe the bug Upon launching `./cpt.py --last-stable deb` to get a Cling DEB package the script crashes ``` Cling Packaging Tool (CPT) Arguments vector:...
We get the following error on Fedora 35 ```bash cling-0.9/tools/packaging/cling-build/cling-src/tools/cling/lib/Interpreter/DynamicLibraryManagerSymbol.cpp:621:43: error: ‘DF_1_PIE’ is not a member of ‘llvm::ELF’ 621 | if (Dyn.d_un.d_val & llvm::ELF::DF_1_PIE) | ^~~~~~~~ At global scope: ```...
tried with both `msvc2019` and `mingw-w64 8` but I cannot compile it. * using msvc after about one or two minutes I got some errors I think with linking and...
- [x] Checked for duplicates ### Describe the bug In the cling source tree: ```console ❯ grep -R -n GetISysRoot include/cling/Utils/Platform.h:98: bool GetISysRoot(std::string& SysRoot, bool Verbose = false); ``` ###...
I'd love to use Cling, but I cannot use it because it gives too many errors due to the old version of LLVM being used. This old LLVM has various...