[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:53:20 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-dylib` 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/119/builds/5370

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

```
Step 5 (build-bolt) failure: build (failure)
...
0.291 [1830/2/252] Linking CXX static library lib/libLLVMSupport.a
0.315 [1824/7/253] Generating VCSVersion.inc
0.325 [1822/8/254] Linking CXX static library lib/libLLVMBitstreamReader.a
0.326 [1822/7/255] Linking CXX static library lib/libLLVMOption.a
0.326 [1822/6/256] Linking CXX static library lib/libLLVMDebugInfoMSF.a
0.332 [1822/5/257] Building CXX object tools/bolt/lib/Utils/CMakeFiles/LLVMBOLTUtils.dir/Utils.cpp.o
0.336 [1822/4/258] Linking CXX static library lib/libLLVMTableGen.a
0.345 [1821/4/259] Linking CXX static library lib/libLLVMDebugInfoCodeView.a
0.380 [1821/3/260] Linking CXX executable bin/llvm-min-tblgen
0.393 [1805/18/261] Building Attributes.inc...
FAILED: include/llvm/IR/Attributes.inc /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/IR/Attributes.inc 
cd /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/IR && /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/bin/llvm-min-tblgen -gen-attrs -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/IR -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/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-dylib/llvm-project/llvm /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/IR /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/IR /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/IR/Attributes.inc.d /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/CMakeFiles/d/19082af66ada0eaecee19ba01c593e11c7ee687a8ed210b2b66562e5f1917541.d
0.400 [1805/17/262] Building GenVT.inc...
FAILED: include/llvm/CodeGen/GenVT.inc /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/CodeGen/GenVT.inc 
cd /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/CodeGen && /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/bin/llvm-min-tblgen -gen-vt -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/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-dylib/llvm-project/llvm /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/CodeGen /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/CodeGen/GenVT.inc.d /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/CMakeFiles/d/fa6e9cd9b227a0cfaec2321239a9a30bd22358353a76c0e4e4e1a08f95c00523.d
0.568 [1805/16/263] 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-dylib/build/tools/bolt/bolt_rt-bins
0.751 [1805/15/264] Building IntrinsicsAMDGPU.h...
0.836 [1805/14/265] Building IntrinsicsARM.h...
0.841 [1805/13/266] Building IntrinsicsAArch64.h...
0.843 [1805/12/267] Building IntrinsicsHexagon.h...
0.843 [1805/11/268] Building IntrinsicsMips.h...
0.845 [1805/10/269] Building IntrinsicsRISCV.h...
0.845 [1805/9/270] Building IntrinsicEnums.inc...
0.845 [1805/8/271] Building IntrinsicsLoongArch.h...

```

</details>

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


More information about the Mlir-commits mailing list