[libcxx-commits] [libcxx] [libc++] Define all CMake configuration features in the same location (PR #115361)

LLVM Continuous Integration via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 14 08:20:32 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-armv7l` running on `as-builder-1` while building `libcxx` at step 15 "test-check-cxx-armv7-unknown-linux-gnueabihf".

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

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

```
Step 15 (test-check-cxx-armv7-unknown-linux-gnueabihf) failure: Test just built components: check-cxx-armv7-unknown-linux-gnueabihf completed (failure)
...
-- Installing: C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test-suite-install/lib/armv7-unknown-linux-gnueabihf/libunwind.a
0.154 [6/3/4]cmd.exe /C "cd /D C:\buildbot\as-builder-1\x-armv7l\build\runtimes\runtimes-armv7-unknown-linux-gnueabihf-bins\libcxx\test && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test-suite-install && "C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_INSTALL_COMPONENT=cxxabi-headers -DCMAKE_INSTALL_PREFIX="C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test-suite-install" -P C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/cmake_install.cmake && "C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_INSTALL_COMPONENT=cxxabi -DCMAKE_INSTALL_PREFIX="C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test-suite-install" -P C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/cmake_install.cmake"
-- Install configuration: "Release"
-- Installing: C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test-suite-install/include/c++/v1/__cxxabi_config.h
-- Installing: C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test-suite-install/include/c++/v1/cxxabi.h
-- Install configuration: "Release"
-- Installing: C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test-suite-install/lib/armv7-unknown-linux-gnueabihf/libc++abi.a
0.176 [6/2/5]No update step for 'google-benchmark'
0.226 [5/2/6]No patch step for 'google-benchmark'
0.997 [4/2/7]Performing configure step for 'google-benchmark'
FAILED: libcxx/test/benchmarks/google-benchmark/src/google-benchmark-stamp/google-benchmark-configure C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-stamp/google-benchmark-configure 
cmd.exe /C "cd /D C:\buildbot\as-builder-1\x-armv7l\build\runtimes\runtimes-armv7-unknown-linux-gnueabihf-bins\libcxx\test\benchmarks\google-benchmark\src\google-benchmark-build && "C:\Program Files\CMake\bin\cmake.exe" -GNinja -CC:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/tmp/google-benchmark-cache-Release.cmake C:/buildbot/as-builder-1/x-armv7l/llvm-project/runtimes/../third-party/benchmark && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-stamp/google-benchmark-configure"
loading initial cache file C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/tmp/google-benchmark-cache-Release.cmake
CMake Warning (dev) at C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/tmp/google-benchmark-cache-Release.cmake:9:
  Syntax Warning in cmake code at column 31

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is Clang 20.0.0
-- Detecting CXX compiler ABI info
CMake Warning in C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-build/CMakeFiles/CMakeScratch/TryCompile-ah7uu3/CMakeLists.txt:
  The object file directory

    C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-build/CMakeFiles/CMakeScratch/TryCompile-ah7uu3/CMakeFiles/cmTC_a8bbe.dir/./

  has 230 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    CMakeCXXCompilerABI.cpp.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: C:/buildbot/as-builder-1/x-armv7l/build/./bin/clang++.exe
CMake Warning in C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-build/CMakeFiles/CMakeScratch/TryCompile-ye5213/CMakeLists.txt:
  The object file directory

    C:/buildbot/as-builder-1/x-armv7l/build/runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test/benchmarks/google-benchmark/src/google-benchmark-build/CMakeFiles/CMakeScratch/TryCompile-ye5213/CMakeFiles/cmTC_ab05b.dir/./

  has 230 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    testCXXCompiler.cxx.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.

```

</details>

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


More information about the libcxx-commits mailing list