Skip to content

fix: remove hardcoded AVM_TRANSPILER_LIB from debug CMake preset#21884

Merged
ludamad merged 1 commit intonextfrom
claudebox/fix-bb-debug-build
Mar 23, 2026
Merged

fix: remove hardcoded AVM_TRANSPILER_LIB from debug CMake preset#21884
ludamad merged 1 commit intonextfrom
claudebox/fix-bb-debug-build

Conversation

@AztecBot
Copy link
Collaborator

Summary

Fixes the nightly barretenberg debug build that has been failing since 2026-03-20.

The debug CMake preset hardcoded AVM_TRANSPILER_LIB pointing to libavm_transpiler.a, but the nightly debug CI job sets AVM_TRANSPILER=0 which skips building that library. When the build cache expired (due to code changes in PR #21835), the fresh build failed at link time because the .a file doesn't exist.

Removing AVM_TRANSPILER_LIB from the debug preset lets it inherit from default (which doesn't set it), matching the CI's AVM_TRANSPILER=0 intent.

Full analysis: https://gist.github.com/AztecBot/c76c930ef9446eda7a20616035b6e60a

Test plan

  • Debug build compiles (1108 targets)
  • commitment_schemes_tests pass (88/88)
  • ultra_honk_tests, sumcheck_tests, honk_tests, hypernova_tests, goblin_tests, flavor_tests all pass

ClaudeBox log: https://claudebox.work/s/5fc7d037bce53386?run=1

@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Mar 23, 2026
@ludamad ludamad marked this pull request as ready for review March 23, 2026 11:40
@ludamad ludamad enabled auto-merge March 23, 2026 11:40
@ludamad ludamad added this pull request to the merge queue Mar 23, 2026
Merged via the queue into next with commit d88635a Mar 23, 2026
40 of 48 checks passed
@ludamad ludamad deleted the claudebox/fix-bb-debug-build branch March 23, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants