Skip to content

Commit

Permalink
Update build_test_cpp.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Sep 29, 2024
1 parent 34a30d9 commit d4555ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_tools/build_test_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ san="${san:-}"

if [ "$san" != "" ];then
sed -i 's/add_subdirectory(tests EXCLUDE_FROM_ALL)//g' CMakeLists.txt
CMAKE_ARGS="$CMAKE_ARGS -DIREE_ENABLE_$san=ON"
sed -i 's/NOT _IREE_COMPILER_TARGETING_THIS_ARCH/1/g' build_tools/cmake/iree_bitcode_library.cmake
sed -i 's/iree::tooling::testdata::npy//g' runtime/src/iree/tooling/CMakeLists.txt
sed -i 's/iree_add_all_subdirs()//g' runtime/src/iree/tooling/testdata/CMakeLists.txt
CMAKE_ARGS="$CMAKE_ARGS -DIREE_ENABLE_$san=ON -DHAVE_STD_REGEX=ON"
fi

if [ -d "${llvm_install_dir}" ]; then
Expand Down

0 comments on commit d4555ff

Please sign in to comment.