[build] Build JNI and benchmarks as release by default (#8257)

It doesn't make sense to benchmark debug binaries. Also, wpimath JNI
performance in unit tests is drastically impacted by debug vs release.
This commit is contained in:
Tyler Veness
2025-09-29 17:47:17 -07:00
committed by GitHub
parent 0277759d44
commit bb5ee73e46
4 changed files with 21 additions and 4 deletions

View File

@@ -31,6 +31,9 @@ def main():
# Replace GCC warning argument with one Clang recognizes
elif arg == "-Wno-maybe-uninitialized":
out_args.append("-Wno-uninitialized")
# Skip GCC-specific warning argument
elif arg == "-Wno-error=restrict":
pass
else:
out_args.append(arg)