Hello,
I have built freestanding cling RPM packages from version 1.2, as mentioned in #559.
I had some issues with the build and I narrowed it down to this section of cmake code:
|
# If both LLVM and Clang are external, we need to define LLVM_PATH in order for |
|
# cling to use the correct (external) LLVM/Clang directories. |
|
if ((NOT builtin_llvm) AND (NOT builtin_clang)) |
|
target_compile_definitions(clingInterpreter PUBLIC "LLVM_PATH=\"${LLVM_BINARY_DIR}\"") |
|
endif() |
I don't understand in which cases this would apply, and what options I need to pass to cmake to avoid it. Right now I just patch lib/Interpreter/CMakeLists.txt at build-time to remove it, and cling stops producing error messages at runtime. Could you explain when this is needed? Maybe there is something wrong with my build that I haven't yet seen at runtime.
Hello,
I have built freestanding
clingRPM packages from version 1.2, as mentioned in #559.I had some issues with the build and I narrowed it down to this section of
cmakecode:cling/lib/Interpreter/CMakeLists.txt
Lines 401 to 405 in 2fdcb6d
I don't understand in which cases this would apply, and what options I need to pass to
cmaketo avoid it. Right now I just patchlib/Interpreter/CMakeLists.txtat build-time to remove it, andclingstops producing error messages at runtime. Could you explain when this is needed? Maybe there is something wrong with my build that I haven't yet seen at runtime.