Don't error on IREE_ENABLE_TSAN without IREE_BYTECODE_MODULE_ENABLE_TSAN when IREE_BUILD_COMPILER=OFF
stellaraccident opened this issue · comments
Stella Laurenzo commented
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.
Peyman Barazandeh commented
Hi,
I would like to create a PR for this issue. Can you assign it to me please?
Thank you,
Peyman
Stella Laurenzo commented
Done.