Skip to content

Commit

Permalink
Enable address sanitizer in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Chu <justinchu@microsoft.com>
  • Loading branch information
justinchuby committed Mar 28, 2023
1 parent 0653648 commit c7e33fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure-pipelines/Linux-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
export CMAKE_ARGS="-DONNX_WERROR=ON -DONNX_USE_PROTOBUF_SHARED_LIBS=ON"
export ONNX_NAMESPACE=ONNX_NAMESPACE_FOO_BAR_FOR_CI
# enable more sanitizer
export CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_CXX_FLAGS='-fsanitize=undefined -fno-sanitize-recover=all '"
export CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_CXX_FLAGS='-g -fsanitize=undefined,address -fno-sanitize-recover=all -fno-omit-frame-pointer -fno-optimize-sibling-calls '"
python setup.py install
displayName: 'Install ONNX and dependencies'
Expand Down

0 comments on commit c7e33fc

Please sign in to comment.