Open LeStarch opened 2 months ago
Could it also work if in the 4 lines you linked, each value in the cmake_args
dictionary would be set to ON only if they are not in the cmake_args
dictionary already (so not passed in by the user)?
That could work too.
Problem Description
Generating with
-DENABLE_SANITIZER_ADDRESS=OFF
does not work. Only the--disable-sanitizer
to disable everything. The culprit is:https://github.com/fprime-community/fprime-tools/blob/c15253c98ffc816bcca24db43f24c4c070b7c5ff/src/fprime/fbuild/cli.py#L55-L59
The fix is in several stages:
BUILD_TESTING
(default "ON" when testing).This way the sanitizers are explicitly turned off, or left to defaults.