Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add RelWithAssert build #4997

Merged
merged 3 commits into from
Mar 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions barretenberg/cpp/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@
"LDFLAGS": "-O2 -gdwarf-4"
}
},
{
"name": "clang16-assert",
"displayName": "Build with Clang-16 using RelWithAssert",
"description": "Build with globally installed Clang-16 in release with ASSERTs mode",
"inherits": "default",
"environment": {
"CMAKE_BUILD_TYPE": "RelWithAssert"
}
},
{
"name": "asan",
"displayName": "Debugging build with address sanitizer on Clang-16",
Expand Down Expand Up @@ -114,7 +123,8 @@
"CC": "gcc-13",
"CXX": "g++-13"
}
}, {
},
{
"name": "bench",
"displayName": "Build benchmarks",
"description": "Build default preset but with a special benchmark directory",
Expand Down Expand Up @@ -359,6 +369,11 @@
"inherits": "default",
"configurePreset": "clang16-dbg-fast"
},
{
"name": "clang16-assert",
"inherits": "default",
"configurePreset": "clang16-assert"
},
{
"name": "asan",
"inherits": "default",
Expand Down Expand Up @@ -389,7 +404,7 @@
"inherits": "clang16",
"configurePreset": "fuzzing"
},
{
{
"name": "fuzzing-asan",
"inherits": "clang16-dbg",
"configurePreset": "fuzzing-asan"
Expand Down Expand Up @@ -442,14 +457,18 @@
"configurePreset": "wasm-dbg",
"inheritConfigureEnvironment": true,
"jobs": 0,
"targets": ["barretenberg.wasm"]
"targets": [
"barretenberg.wasm"
]
},
{
"name": "wasm-threads",
"configurePreset": "wasm-threads",
"inheritConfigureEnvironment": true,
"jobs": 0,
"targets": ["barretenberg.wasm"]
"targets": [
"barretenberg.wasm"
]
},
{
"name": "xray",
Expand Down Expand Up @@ -518,7 +537,7 @@
"inherits": "default",
"configurePreset": "fuzzing"
},
{
{
"name": "fuzzing-asan",
"inherits": "clang16-dbg",
"configurePreset": "fuzzing-asan"
Expand Down
Loading