[libc-commits] [libc] [libc] rework mutex (PR #92168)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Fri May 24 10:33:46 PDT 2024
================
@@ -22,12 +22,35 @@ add_header_library(
libc.src.__support.time.linux.abs_timeout
)
+set(raw_mutex_additional_flags)
+if (LIBC_CONF_TIMEOUT_ENSURE_MONOTONICITY)
+ set(raw_mutex_additional_flags -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY)
----------------
nickdesaulniers wrote:
Is there a way to change the defaults such that if I don't set `-DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY` manually, we get monotonicity?
I ask because I'm getting llvm-libc to build for Android, and I can't use cmake there. So I need to rediscover all of the `-D` flags I need to set for sane defaults, which is annoying.
https://github.com/llvm/llvm-project/pull/92168
More information about the libc-commits
mailing list