[cmake stuff] why KMP_ASM_INTRINS is not exposed to cmake?


I¹ve noticed that KMP_ASM_INTRINS defined in
runtime/src/kmp_config.h.cmake is defined as literal value 1 by simple
#define directive, not #cmakedefine01 (as in case of
LIBOMP_ENABLE_ASSERTIONS) and it is not exposed by any CMakeList.txt file.
As a result, atomics assembly code in runtime/src/z_Linux_asm.s (guarded
by #if !KMP_ASM_INTRINS) is never compiled (without manual intervention to
kmp_config.h.cmake). Is there any special reason for that?

Best regards,
Paul Osmialowski

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.