[Mlir-commits] [llvm] [mlir] [CMake] Do not set CMP0116 explicitly to old (PR #90385)

LLVM Continuous Integration llvmlistbot at llvm.org
Fri Apr 25 22:54:53 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-shared` running on `bolt-worker` while building `cmake,llvm,mlir` at step 5 "build-bolt".

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

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

```
Step 5 (build-bolt) failure: build (failure)
...
0.209 [1897/7/259] Creating library symlink lib/libLLVMDebugInfoMSF.so
0.210 [1897/6/260] Creating library symlink lib/libLLVMBitstreamReader.so
0.211 [1897/5/261] Linking CXX shared library lib/libLLVMDebugInfoCodeView.so.21.0git
0.212 [1896/5/262] No update step for 'bolt_rt'
0.212 [1895/5/263] Building CXX object tools/bolt/lib/Utils/CMakeFiles/LLVMBOLTUtils.dir/Utils.cpp.o
0.213 [1895/4/264] Creating library symlink lib/libLLVMTableGen.so
0.216 [1894/4/265] Creating library symlink lib/libLLVMDebugInfoCodeView.so
0.222 [1894/3/266] No patch step for 'bolt_rt'
0.237 [1893/3/267] Linking CXX executable bin/llvm-min-tblgen
0.250 [1877/18/268] Building GenVT.inc...
FAILED: include/llvm/CodeGen/GenVT.inc /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/CodeGen/GenVT.inc 
cd /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/CodeGen && /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-min-tblgen -gen-vt -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include/llvm/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include/llvm/CodeGen/ValueTypes.td --write-if-changed -o GenVT.inc -d GenVT.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include/llvm/CodeGen /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/CodeGen /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/CodeGen/GenVT.inc.d /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/CMakeFiles/d/dbcdcc4c7dd2e9a6b697a9b14fbb84f2e397a48645ae9887a0683128398821a4.d
0.261 [1877/17/269] Building Attributes.inc...
FAILED: include/llvm/IR/Attributes.inc /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/IR/Attributes.inc 
cd /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/IR && /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-min-tblgen -gen-attrs -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include/llvm/IR -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include/llvm/IR/Attributes.td --write-if-changed -o Attributes.inc -d Attributes.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include/llvm/IR /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/IR /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include/llvm/IR/Attributes.inc.d /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/CMakeFiles/d/5eac682e5a0ef8e526e5f0706edd0b47eb7abd532ac22a824c4249fd258e81f2.d
0.595 [1877/16/270] Performing configure step for 'bolt_rt'
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/GNUInstallDirs.cmake:239 (message):
  Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
  target architecture is known.  Please enable at least one language before
  including GNUInstallDirs.
Call Stack (most recent call first):
  CMakeLists.txt:4 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file elf.h
-- Looking for include file elf.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins
0.665 [1877/15/271] Building IntrinsicsLoongArch.h...
0.686 [1877/14/272] Building IntrinsicsAArch64.h...
0.696 [1877/13/273] Building IntrinsicsHexagon.h...
0.698 [1877/12/274] Building IntrinsicsAMDGPU.h...
0.700 [1877/11/275] Building IntrinsicEnums.inc...
0.701 [1877/10/276] Building IntrinsicsARM.h...
0.701 [1877/9/277] Building IntrinsicsNVPTX.h...
0.702 [1877/8/278] Building IntrinsicsPowerPC.h...

```

</details>

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


More information about the Mlir-commits mailing list