iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.

Home Page:http://iree.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't error on IREE_ENABLE_TSAN without IREE_BYTECODE_MODULE_ENABLE_TSAN when IREE_BUILD_COMPILER=OFF

stellaraccident opened this issue · comments

Currently an error like this is printed:

CMake Error at CMakeLists.txt:474 (message):
  When IREE_BYTECODE_MODULE_ENABLE_ASAN or IREE_BYTECODE_MODULE_ENABLE_TSAN
  is ON, IREE_BYTECODE_MODULE_FORCE_LLVM_SYSTEM_LINKER must also be ON.
  ASAN/TSAN instrumentation is not currently supported in embedded modules.

This should be suppressed when only building the runtime.

Hi,

I would like to create a PR for this issue. Can you assign it to me please?

Thank you,
Peyman