[compiler-rt] [llvm] [CI] check libc freestanding in compiler-rt (PR #217972)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 09:54:14 PDT 2026


================
@@ -52,3 +52,62 @@ jobs:
             --build build \
             --parallel \
             --target check-builtins
+
+  # Build the libc-backed builtins against only the extracted shared subset, so
+  # the build fails if they ever reach into the rest of libc.
+  isolation:
+    name: builtins isolation (subset-only build)
+    if: github.repository_owner == 'llvm'
+    runs-on: ubuntu-24.04
+    container:
+      image: ghcr.io/llvm/libc-ubuntu-24.04
+
+    steps:
+      - uses: actions/checkout at de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        with:
+          persist-credentials: false
+
+      - name: Manifest matches the live header closure
+        shell: bash
+        run: |
+          d="compiler-rt/lib/builtins/libc-isolation"
----------------
boomanaiden154 wrote:

More descriptive variable name?

https://github.com/llvm/llvm-project/pull/217972


More information about the llvm-commits mailing list