Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci_linux_x64_clang_ubsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

name: CI - Linux x64 clang UBSan
name: CI - Linux x64 clang UBSan and Reverse Iteration

on:
workflow_call:
Expand All @@ -29,6 +29,9 @@ jobs:
# Use a modern clang explicitly.
CC: clang-19
CXX: clang++-19
# Enable reverse iteration of unordered LLVM containers. This helps
# catch non-determinism bugs.
IREE_REVERSE_ITERATE: "ON"
SCCACHE_AZURE_CONNECTION_STRING: "${{ secrets.AZURE_CCACHE_CONNECTION_STRING }}"
SCCACHE_AZURE_BLOB_CONTAINER: ccache-container
SCCACHE_CACHE_ZSTD_LEVEL: 10
Expand Down
2 changes: 2 additions & 0 deletions build_tools/cmake/build_and_test_ubsan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ set -xeuo pipefail

BUILD_DIR="${1:-${IREE_UBSAN_BUILD_DIR:-build-ubsan}}"
IREE_ENABLE_ASSERTIONS="${IREE_ENABLE_ASSERTIONS:-ON}"
IREE_REVERSE_ITERATE="${IREE_REVERSE_ITERATE:-OFF}"
# Enable CUDA and HIP/ROCM compiler and runtime by default if not on Darwin.
OFF_IF_DARWIN="$(uname | awk '{print ($1 == "Darwin") ? "OFF" : "ON"}')"
IREE_HAL_DRIVER_CUDA="${IREE_HAL_DRIVER_CUDA:-${OFF_IF_DARWIN}}"
Expand All @@ -45,6 +46,7 @@ CMAKE_ARGS=(
"-DIREE_BUILD_PYTHON_BINDINGS=OFF"

"-DIREE_ENABLE_ASSERTIONS=${IREE_ENABLE_ASSERTIONS}"
"-DIREE_REVERSE_ITERATE=${IREE_REVERSE_ITERATE}"
"-DIREE_ENABLE_LLD=ON"
"-DIREE_ENABLE_SPLIT_DWARF=ON"
"-DIREE_ENABLE_THIN_ARCHIVES=ON"
Expand Down
Loading