File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 echo "LLVM_ROOT=$LLVM_ROOT" >> "$GITHUB_ENV"
6565 echo "CXX=$LLVM_ROOT/bin/clang++" >> "$GITHUB_ENV"
6666
67+ - name : Configure dev mcpp sandbox to reuse xlings LLVM
68+ run : |
69+ LLVM_PKG="$HOME/.xlings/data/xpkgs/xim-x-llvm/20.1.7"
70+ test -d "$LLVM_PKG"
71+ printf '1\n' > "$LLVM_PKG/.mcpp_ok"
72+
73+ mkdir -p "$HOME/.mcpp"
74+ cat > "$HOME/.mcpp/config.toml" <<EOF
75+ # mcpp global config for CI. Dev binaries under target/.../bin/mcpp
76+ # fall back to ~/.mcpp; point that sandbox at the xlings home already
77+ # populated by the explicit `xlings install llvm` step above.
78+ [xlings]
79+ binary = "$HOME/.xlings/subos/default/bin/xlings"
80+ home = "$HOME/.xlings"
81+
82+ [index]
83+ default = "mcpplibs"
84+
85+ [index.repos."mcpplibs"]
86+ url = "https://github.com/mcpp-community/mcpp-index.git"
87+
88+ [cache]
89+ search_ttl_seconds = 3600
90+
91+ [build]
92+ default_jobs = 0
93+ default_backend = "ninja"
94+ EOF
95+
96+ cat "$HOME/.mcpp/config.toml"
97+ ls "$LLVM_PKG/bin/clang++"
98+
6799 - name : Inspect LLVM package structure
68100 run : |
69101 echo "=== bin/ ==="
You can’t perform that action at this time.
0 commit comments