Skip to content

Commit d88635a

Browse files
authored
fix: remove hardcoded AVM_TRANSPILER_LIB from debug CMake preset (#21884)
## 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 - [x] Debug build compiles (1108 targets) - [x] commitment_schemes_tests pass (88/88) - [x] ultra_honk_tests, sumcheck_tests, honk_tests, hypernova_tests, goblin_tests, flavor_tests all pass ClaudeBox log: https://claudebox.work/s/5fc7d037bce53386?run=1
2 parents 2b1671a + 05d3c02 commit d88635a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

barretenberg/cpp/CMakePresets.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
"LDFLAGS": "-gdwarf-4"
9595
},
9696
"cacheVariables": {
97-
"AVM_TRANSPILER_LIB": "${sourceDir}/../../avm-transpiler/target/release/libavm_transpiler.a",
9897
"CMAKE_BUILD_TYPE": "Debug",
9998
"ENABLE_ASAN": "OFF",
10099
"DISABLE_ASM": "OFF",

0 commit comments

Comments
 (0)