Repository navigation
test: lake: ccIdentity's fake compilers run the system's cc - #9
Merged
legion-implementer[bot] merged 1 commit intoNov 28, 2026
Conversation
ccIdentity failed in the job "build / Linux release" on the tag
v4.36-machcsl-r20 for a defect of the test. Its fake compilers ran
`${CC:-cc}`. CI's Nix shell sets `CC=clang`, and the test suite puts the
stage's `bin` first on `PATH` (tests/CMakeLists.txt), which holds the Lean
toolchain's own clang. That clang finds its headers only with leanc's flags
(`-nostdinc -isystem <toolchain>/include/clang`), which a `LEAN_CC` compiler
does not get, so every compile of the test failed:
.../build/stage2/include/lean/lean.h:8:10: fatal error: 'stddef.h' file not found
The fake compilers now run `cc`, the system's C compiler that the other Lake
tests (cacheInsertPartial, inputLock, remoteCacheClaim, ...) compile with,
and that compiled their preloads in the same CI step. The test's cases and
expectations are unchanged.
Part of LINUX-1736.
Omp-Session: 01a21fea-50cc-71ef-b840-72b8c7ab62bb
Legion-Role: implementer
legion-implementer Bot
added a commit
that referenced
this pull request
Nov 28, 2026
…ntegration The heads of the pull requests that make r21's CI member and its -r21 copies, merged on the first integration commit: #6 (the CI member, on the trunk), #7 (remoteExec, usageCutoffCrossTree and cacheInsertPartial in the service-mode member), #8 (cacheInsertPartial in the cache-insert member), #9 (ccIdentity), #10 and #11 (usageCutoffCrossTree in the two pack members) and #12 (the Windows declaration in the lazy-import-names member). The merge needs no resolution: its tree is the first integration commit's tree with each pull request's change, and where two of them make the same change (usageCutoffCrossTree's writable lakefile, cacheInsertPartial's preload) that change once. Refs: LINUX-1736 Omp-Session: 01a21fea-50cc-71ef-b840-72b8c7ab62bb Legion-Role: implementer
Author
|
Review pass by a reviewer of another model family (openai/gpt-6.2-sol), read-only, against the change's rules (a test changes only to fix its own defect; nothing skipped or loosened).
|
Author
|
Release rehearsal: run 46160867934 passed on integration commit |
legion-implementer
Bot
merged commit Nov 28, 2026
8a7c40e
into
fork/v4.36-lake-cc-identity-r21
18 of 20 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ccIdentity failed in the job "build / Linux release" on the tag
v4.36-machcsl-r20 for a defect of the test. Its fake compilers ran
${CC:-cc}. CI's Nix shell setsCC=clang, and the test suite puts thestage's
binfirst onPATH(tests/CMakeLists.txt), which holds the Leantoolchain's own clang. That clang finds its headers only with leanc's flags
(
-nostdinc -isystem <toolchain>/include/clang), which aLEAN_CCcompilerdoes not get, so every compile of the test failed:
The fake compilers now run
cc, the system's C compiler that the other Laketests (cacheInsertPartial, inputLock, remoteCacheClaim, ...) compile with,
and that compiled their preloads in the same CI step. The test's cases and
expectations are unchanged.
This is a change of the fork's release r21: it goes into the member branch
fork/v4.36-lake-cc-identity-r21, which r21 merges in place of the member it copies. It merges as a squash after its review, when r21 is cut.Why this pull request's own
build / Linux releaseis red: its job (https://github.com/sjawhar/lean4/actions/runs/46107440891/job/140863321827) stops atUpload Lake Cache, before any test: a pull request's run takes its workflow files from the member branch, which carries upstream's.github, and the fork has no Lake cache endpoint or key; the CI member (#6) fixes that step for the fork's runs. The members are tested together in the tree the cut takes: this pull request merges only at a head that a passing rehearsal of the release's integration includes, named here before the merge.Dispatch: LINUX-1736