Open eyonland opened 1 month ago
we can help add the workflow for this @tt-rkim @ttmchiou
Is the work for this:
build_metal.sh
and a -D
option in cmakeCMakeLists.txt
, add ubsan / asan (-f
options) to compile options?Is the work for this:
- add option in
build_metal.sh
and a-D
option in cmake- if option is detected in top level
CMakeLists.txt
, add ubsan / asan (-f
options) to compile options?- create scheduled job to call this build? Maybe add to build artifacts options?
This is part of it, yes, and getting some input / help adding jobs to CI would be awesome, but I anticipate the bulk of the work will actually be getting the existing tests to run to completion and pass with these configurations enabled. Once we get to that point, making ASAN/UBSAN-enabled tests passing should ideally become a precondition for merging new pull requests.
Is the work for this:
- add option in
build_metal.sh
and a-D
option in cmake- if option is detected in top level
CMakeLists.txt
, add ubsan / asan (-f
options) to compile options?- create scheduled job to call this build? Maybe add to build artifacts options?
This is part of it, yes, and getting some input / help adding jobs to CI would be awesome, but I anticipate the bulk of the work will actually be getting the existing tests to run to completion and pass with these configurations enabled. Once we get to that point, making ASAN/UBSAN-enabled tests passing should ideally become a precondition for merging new pull requests.
Post-commit has 65k tests currently, hopefully we can craft a representable subset for ASAN/UBSAN
We have a lot of host bugs being reported that really sound like they have nothing to do with our devices. The sooner we get that setup on CI the better.