[libc-commits] [libc] [llvm] [libc][math] Refactor log to header-only shared math (PR #175395)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Sun Jan 11 15:23:47 PST 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `libc,utils` at step 5 "compile-openmp".

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

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

```
Step 5 (compile-openmp) failure: build (failure)
...
CMake Error at /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/benchmarks/gpu/CMakeLists.txt:33 (add_dependencies):
  The dependency target "libc.benchmarks.gpu.src.math.log_benchmark" of
  target "gpu-benchmark" does not exist.
Call Stack (most recent call first):
  /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/libc/benchmarks/gpu/src/math/CMakeLists.txt:107 (add_benchmark)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
33.882 [11/2/4802] Creating library symlink lib/libclang-cpp.so
FAILED: runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure 
cd /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins && /usr/bin/cmake --no-warn-unused-cli -DCMAKE_C_COMPILER=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/clang -DCMAKE_CXX_COMPILER=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/clang++ -DCMAKE_ASM_COMPILER=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/clang -DCMAKE_LINKER=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/ld.lld -DCMAKE_AR=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/llvm-ar -DCMAKE_RANLIB=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/llvm-ranlib -DCMAKE_NM=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/llvm-nm -DCMAKE_OBJDUMP=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/llvm-objdump -DCMAKE_OBJCOPY=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/llvm-objcopy -DCMAKE_STRIP=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/llvm-strip -DCMAKE_READELF=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/llvm-readelf -DCMAKE_C_COMPILER_TARGET=amdgcn-amd-amdhsa -DCMAKE_CXX_COMPILER_TARGET=amdgcn-amd-amdhsa -DCMAKE_Fortran_COMPILER_TARGET=amdgcn-amd-amdhsa -DCMAKE_ASM_COMPILER_TARGET=amdgcn-amd-amdhsa -DCMAKE_INSTALL_PREFIX=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.inst -DLLVM_BINARY_DIR=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build -DLLVM_CONFIG_PATH=/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/llvm-config -DLLVM_ENABLE_WERROR=OFF -DLLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu -DLLVM_HAVE_LINK_VERSION_SCRIPT=1 -DLLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO=OFF -DLLVM_USE_RELATIVE_PATHS_IN_FILES=OFF "-DLLVM_LIT_ARGS=-vv --show-unsupported --show-xfail -j 64 --time-tests --timeout 100" -DLLVM_SOURCE_PREFIX= -DPACKAGE_VERSION=22.0.0git -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCOMPILER_RT_BUILD_BUILTINS=OFF -DLLVM_INCLUDE_TESTS=ON -DLLVM_ENABLE_PROJECTS_USED=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON -DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=ON -DCMAKE_Fortran_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_RUNTIMES_TARGET=amdgcn-amd-amdhsa -DHAVE_LLVM_LIT=ON -DCLANG_RESOURCE_DIR= -DLLVM_DEFAULT_TARGET_TRIPLE=amdgcn-amd-amdhsa -DLLVM_LIBC_GPU_BUILD=ON "-DLLVM_ENABLE_RUNTIMES=libcxx;openmp;libunwind;compiler-rt;libc;offload;libcxxabi" -DLLVM_USE_LINKER= -DLIBC_GPU_TEST_JOBS=4 -DLLVM_ENABLE_RUNTIMES=libc -GNinja -C/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/projects/runtimes-amdgcn-amd-amdhsa/tmp/runtimes-amdgcn-amd-amdhsa-cache-Release.cmake /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/runtimes/../../runtimes && /usr/bin/cmake -E touch /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps//runtimes-amdgcn-amd-amdhsa-configure
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the libc-commits mailing list