<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Recent change broke cmake with CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):"
href="https://bugs.llvm.org/show_bug.cgi?id=45571">45571</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Recent change broke cmake with CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sylvestre@debian.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
CMake Error: The inter-target dependency graph contains the following strongly
connected component (cycle):
"LLVMLTO" of type STATIC_LIBRARY
depends on "Polly" (weak)
depends on "LLVM" (weak)
"LLVM" of type SHARED_LIBRARY
depends on "LLVMLTO" (weak)
depends on "Polly" (weak)
"Polly" of type STATIC_LIBRARY
depends on "LLVM" (weak)
At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are
allowed only among static libraries.
CMake Generate step failed. Build files cannot be regenerated correctly.
with this (long) list:
$CMAKE_BIN ../llvm/ \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;libcxx;libcxxabi;compiler-rt;lld;debuginfo-tests;polly;openmp;lldb"
\
-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-11 \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -DNDEBUG -g1" \
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_VERSION_SUFFIX= \
-DLLVM_ENABLE_SPHINX=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_FFI=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="AVR" \
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
-DLIBCLANG_LIBRARY_VERSION=1 \
-DCLANG_LINK_CLANG_DYLIB=ON \
-DCLANG_VENDOR=Debian \
-DCLANG_ENABLE_BOOTSTRAP=ON \
-DCLANG_BUILD_EXAMPLES=OFF \
-DCOMPILER_RT_USE_LIBCXX=NO \
-DENABLE_LINKER_BUILD_ID=ON \
-DPOLLY_BUNDLED_JSONCPP=OFF \
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
-DBOOTSTRAP_CMAKE_CXX_FLAGS=' -fuse-ld=gold -fPIC
-Wno-unused-command-line-argument -Wno-unknown-warning-option ' \
-DBOOTSTRAP_CMAKE_C_FLAGS=' -fuse-ld=gold -fPIC
-Wno-unused-command-line-argument -Wno-unknown-warning-option ' \
-DLLVM_ENABLE_Z3_SOLVER=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python3 -DLLVM_BINUTILS_INCDIR=/usr/include/
-DLLVM_USE_PERF=yes -DLLVM_ENABLE_LIBPFM=ON
This change seems to be the offender:
<a href="https://reviews.llvm.org/D76866">https://reviews.llvm.org/D76866</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>