[llvm] [libc][bazel] Add hypotf16 bazel targets. (PR #149761)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 12:46:20 PDT 2025


================
@@ -17,6 +17,8 @@ def libc_common_copts():
         "-I" + libc_include_path,
         "-I" + paths.join(libc_include_path, "include"),
         "-DLIBC_NAMESPACE=" + LIBC_NAMESPACE,
+        # For complex floating point literals.
+        "-fext-numeric-literals",
----------------
lntue wrote:

Actually I should move this flag to `libc_test` definition.  It is also presented in our cmake test compile options.  I wonder how can we build our current complex tests?   When I tried with `bazel test @llvm-project//libc/...`, complex tests are failed to build due to `-fi` complex literals.

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


More information about the llvm-commits mailing list