[libc-commits] [libc] [libc][complex] implement different flavors of `creal` and `cimag` functions (PR #113300)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Sat Nov 2 21:10:33 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-aarch64-ubuntu-fullbuild-dbg` running on `libc-aarch64-ubuntu` while building `libc` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/71/builds/9710

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
Ran 4 tests.  PASS: 4  FAIL: 0
[1417/3867] Running unit test libc.test.src.complex.crealf128_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcCRealTest.SpecialNumbers
[       OK ] LlvmLibcCRealTest.SpecialNumbers (7 us)
[ RUN      ] LlvmLibcCRealTest.RoundedNumbers
[       OK ] LlvmLibcCRealTest.RoundedNumbers (3 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[1418/3867] Linking CXX executable projects/libc/test/src/__support/CPP/libc.test.src.__support.CPP.type_traits_test.__unit__.__build__
[1419/3867] Running unit test libc.test.src.complex.cimagf16_test.__unit__
FAILED: projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf16_test.__unit__ 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/build/projects/libc/test/src/complex && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/build/projects/libc/test/src/complex/libc.test.src.complex.cimagf16_test.__unit__.__build__
No tests run.
[1420/3867] Running unit test libc.test.src.__support.CPP.type_traits_test.__unit__
[==========] Running 63 tests from 1 test suite.
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = float]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = float] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = int]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = int] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference_void
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference_void (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Struct]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Struct] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Union]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Union] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Class]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Class] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = float]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = float] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = int]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = int] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer_void
[       OK ] LlvmLibcTypeTraitsTest.add_pointer_void (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = float]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = float] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = int]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = int] (1 us)
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
Ran 4 tests.  PASS: 4  FAIL: 0
[1417/3867] Running unit test libc.test.src.complex.crealf128_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcCRealTest.SpecialNumbers
[       OK ] LlvmLibcCRealTest.SpecialNumbers (7 us)
[ RUN      ] LlvmLibcCRealTest.RoundedNumbers
[       OK ] LlvmLibcCRealTest.RoundedNumbers (3 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[1418/3867] Linking CXX executable projects/libc/test/src/__support/CPP/libc.test.src.__support.CPP.type_traits_test.__unit__.__build__
[1419/3867] Running unit test libc.test.src.complex.cimagf16_test.__unit__
FAILED: projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf16_test.__unit__ 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/build/projects/libc/test/src/complex && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/build/projects/libc/test/src/complex/libc.test.src.complex.cimagf16_test.__unit__.__build__
No tests run.
[1420/3867] Running unit test libc.test.src.__support.CPP.type_traits_test.__unit__
[==========] Running 63 tests from 1 test suite.
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = float]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = float] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = int]
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference [ParamType = int] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_lvalue_reference_void
[       OK ] LlvmLibcTypeTraitsTest.add_lvalue_reference_void (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Struct]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Struct] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Union]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Union] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Class]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = __llvm_libc_19_0_0_git::cpp::Class] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = float]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = float] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = int]
[       OK ] LlvmLibcTypeTraitsTest.add_pointer [ParamType = int] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_pointer_void
[       OK ] LlvmLibcTypeTraitsTest.add_pointer_void (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Struct] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Union] (2 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = __llvm_libc_19_0_0_git::cpp::Class] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = float]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = float] (1 us)
[ RUN      ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = int]
[       OK ] LlvmLibcTypeTraitsTest.add_rvalue_reference [ParamType = int] (1 us)

```

</details>

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


More information about the libc-commits mailing list