[Openmp-commits] [openmp] [OpenMP] Move KMP_CANCEL_THREADS control from preprocessor to CMake (PR #193681)

Mark Zhuang via Openmp-commits openmp-commits at lists.llvm.org
Wed Jun 17 07:11:04 PDT 2026


zqb-all wrote:

> The existing code doesn't do the header check. That's why ANDROID and WASM need to explicitly rule it out.

Would you advise removing 
```
if(ANDROID OR WASM)
  set(LIBOMP_USE_CANCEL_THREADS_DEFAULT FALSE)
```
completely and squashing it into this PR? 

Alternatively, would it be better to merge this patch first and address the removal of ANDROID/WASM in a standalone PR?

https://github.com/llvm/llvm-project/pull/193681


More information about the Openmp-commits mailing list