[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:09:48 PDT 2024


llvm-ci wrote:

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

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

<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)
...
 Test Rounding To Nearest...
 Test Rounding Downward...
 Test Rounding Upward...
 Test Rounding Toward Zero...
[       OK ] LlvmLibcSinTest.InDoubleRange (1144 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[119/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf16_test.__unit__.__build__.dir/crealf16_test.cpp.o
[120/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf128_test.__unit__.__build__.dir/cimagf128_test.cpp.o
[121/991] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.crealf16_test.__unit__.__build__
[122/991] Running unit test libc.test.src.complex.crealf16_test.__unit__
FAILED: projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf16_test.__unit__ 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/complex && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/complex/libc.test.src.complex.crealf16_test.__unit__.__build__
No tests run.
[123/991] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf16_test.__unit__.__build__
[124/991] Running unit test libc.test.src.math.tan_test.__unit__.__NO_ROUND_OPT
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcTanTest.TrickyInputs
[       OK ] LlvmLibcTanTest.TrickyInputs (3 ms)
[ RUN      ] LlvmLibcTanTest.InDoubleRange
 Test Rounding To Nearest...
 Test Rounding Downward...
 Test Rounding Upward...
 Test Rounding Toward Zero...
[       OK ] LlvmLibcTanTest.InDoubleRange (1217 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[125/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creal_test.__unit__.__build__.dir/creal_test.cpp.o
[126/991] Running unit test libc.test.src.math.fdivl_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcDivTest.SubnormalRange
[       OK ] LlvmLibcDivTest.SubnormalRange (779 ms)
[ RUN      ] LlvmLibcDivTest.NormalRange
[       OK ] LlvmLibcDivTest.NormalRange (733 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[127/991] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf128_test.__unit__.__build__
[128/991] Running unit test libc.test.src.math.cbrtf_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcCbrtfTest.InFloatRange
[       OK ] LlvmLibcCbrtfTest.InFloatRange (509 ms)
[ RUN      ] LlvmLibcCbrtfTest.SpecialValues
[       OK ] LlvmLibcCbrtfTest.SpecialValues (4 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[129/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf_test.__unit__.__build__.dir/crealf_test.cpp.o
[130/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf_test.__unit__.__build__.dir/cimagf_test.cpp.o
[131/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creall_test.__unit__.__build__.dir/creall_test.cpp.o
[132/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf128_test.__unit__.__build__.dir/crealf128_test.cpp.o
[133/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagl_test.__unit__.__build__.dir/cimagl_test.cpp.o
[134/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimag_test.__unit__.__build__.dir/cimag_test.cpp.o
[135/991] Running unit test libc.test.src.math.log_test.__unit__
[==========] Running 4 tests from 1 test suite.
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
 Test Rounding To Nearest...
 Test Rounding Downward...
 Test Rounding Upward...
 Test Rounding Toward Zero...
[       OK ] LlvmLibcSinTest.InDoubleRange (1144 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[119/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf16_test.__unit__.__build__.dir/crealf16_test.cpp.o
[120/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf128_test.__unit__.__build__.dir/cimagf128_test.cpp.o
[121/991] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.crealf16_test.__unit__.__build__
[122/991] Running unit test libc.test.src.complex.crealf16_test.__unit__
FAILED: projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf16_test.__unit__ 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/complex && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/complex/libc.test.src.complex.crealf16_test.__unit__.__build__
No tests run.
[123/991] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf16_test.__unit__.__build__
[124/991] Running unit test libc.test.src.math.tan_test.__unit__.__NO_ROUND_OPT
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcTanTest.TrickyInputs
[       OK ] LlvmLibcTanTest.TrickyInputs (3 ms)
[ RUN      ] LlvmLibcTanTest.InDoubleRange
 Test Rounding To Nearest...
 Test Rounding Downward...
 Test Rounding Upward...
 Test Rounding Toward Zero...
[       OK ] LlvmLibcTanTest.InDoubleRange (1217 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[125/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creal_test.__unit__.__build__.dir/creal_test.cpp.o
[126/991] Running unit test libc.test.src.math.fdivl_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcDivTest.SubnormalRange
[       OK ] LlvmLibcDivTest.SubnormalRange (779 ms)
[ RUN      ] LlvmLibcDivTest.NormalRange
[       OK ] LlvmLibcDivTest.NormalRange (733 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[127/991] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf128_test.__unit__.__build__
[128/991] Running unit test libc.test.src.math.cbrtf_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcCbrtfTest.InFloatRange
[       OK ] LlvmLibcCbrtfTest.InFloatRange (509 ms)
[ RUN      ] LlvmLibcCbrtfTest.SpecialValues
[       OK ] LlvmLibcCbrtfTest.SpecialValues (4 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[129/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf_test.__unit__.__build__.dir/crealf_test.cpp.o
[130/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf_test.__unit__.__build__.dir/cimagf_test.cpp.o
[131/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creall_test.__unit__.__build__.dir/creall_test.cpp.o
[132/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf128_test.__unit__.__build__.dir/crealf128_test.cpp.o
[133/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagl_test.__unit__.__build__.dir/cimagl_test.cpp.o
[134/991] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimag_test.__unit__.__build__.dir/cimag_test.cpp.o
[135/991] Running unit test libc.test.src.math.log_test.__unit__
[==========] Running 4 tests from 1 test suite.

```

</details>

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


More information about the libc-commits mailing list