Skip to content

Commit a836b77

Browse files
committed
build target
1 parent 8507a62 commit a836b77

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/root.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,23 @@ jobs:
103103
cling
104104
key: ${{ steps.cache.outputs.cache-primary-key }}
105105

106+
- name: Build clangInterpreter for ROOT's bundled cling
107+
shell: bash
108+
run: |
109+
# Build_LLVM's cling-case ninja line builds `clang LLVMOrcDebugging
110+
# clingInterpreter` -- it does not produce `libclangInterpreter.a`
111+
# (upstream clang's Interpreter / clang-repl library). The cling
112+
# version we cache (v1.3) doesn't depend on it, but ROOT's bundled
113+
# `interpreter/cling/` is newer and links against it, so the ROOT
114+
# build fails with `libclangInterpreter.a ... missing and no known
115+
# rule to make it`. Build it incrementally here -- on a cache hit
116+
# this is a no-op once the lib is present; on a cache miss the
117+
# lib is small relative to the rest of LLVM. Build_LLVM preserves
118+
# `build/build.ninja` for the cling branch and the source-tree
119+
# trim keeps `clang/lib/`, so the incremental build has what it
120+
# needs.
121+
ninja -C "$GITHUB_WORKSPACE/llvm-project/build" clangInterpreter
122+
106123
- name: Verify cached LLVM/Clang layout
107124
shell: bash
108125
run: |

0 commit comments

Comments
 (0)