Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nod-ai/iree-amd-aie
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bb5c5726c733df3fc862d67817b49097f73f65f7
Choose a base ref
..
head repository: nod-ai/iree-amd-aie
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4d8b9e45e3abaa6f32acc72b94aff0b5a73a1cb7
Choose a head ref
Showing with 7 additions and 5 deletions.
  1. +7 −5 build_tools/build_test_cpp.sh
12 changes: 7 additions & 5 deletions build_tools/build_test_cpp.sh
Original file line number Diff line number Diff line change
@@ -87,8 +87,9 @@ san="${san:-}"
if [ "$san" != "" ];then
CMAKE_ARGS="$CMAKE_ARGS -DIREE_ENABLE_$san=ON -DHAVE_STD_REGEX=ON"
export ASAN_OPTIONS=detect_leaks=0
export LSAN_OPTIONS=detect_leaks=0
export UBSAN_OPTIONS=detect_leaks=0
export MSAN_OPTIONS=halt_on_error=0
export TSAN_OPTIONS=halt_on_error=0
export UBSAN_OPTIONS=halt_on_error=0
fi

if [ -d "${llvm_install_dir}" ]; then
@@ -128,9 +129,10 @@ echo "Install to: $install_dir"
cmake --build "$build_dir" --target iree-install-dist

if [ "$san" != "" ];then
export ASAN_OPTIONS=detect_leaks=1
export LSAN_OPTIONS=detect_leaks=1
export UBSAN_OPTIONS=detect_leaks=1
export ASAN_OPTIONS=detect_leaks=1:verbosity=1:log_threads=1:print_stacktrace=1
export MSAN_OPTIONS=halt_on_error=1:verbosity=1:log_threads=1:print_stacktrace=1
export TSAN_OPTIONS=halt_on_error=1:verbosity=1:log_threads=1:print_stacktrace=1
export UBSAN_OPTIONS=halt_on_error=1:verbosity=1:log_threads=1:print_stacktrace=1
fi

echo "CTest"