<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 - LLVM build on Chromium is broken after addition of LLVMTestingSupport"
href="https://bugs.llvm.org/show_bug.cgi?id=33528">33528</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM build on Chromium is broken after addition of LLVMTestingSupport
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>zturner@google.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>manojgupta@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>george.burgess.iv@gmail.com, llozano@chromium.org, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>When trying to Build LLVM using the following cmake options:
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_LIBDIR_SUFFIX=64
-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
-DLLVM_ENABLE_TIMESTAMPS=OFF -DLLVM_TARGETS_TO_BUILD=all -DLLVM_BUILD_TESTS=no
-DLLVM_ENABLE_FFI=yes -DLLVM_ENABLE_TERMINFO=yes -DLLVM_ENABLE_ASSERTIONS=yes
-DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DWITH_POLLY=OFF
-DLLVM_HOST_TRIPLE=x86_64-pc-linux-gnu
-DFFI_INCLUDE_DIR=/usr/lib64/libffi-3.1/include -DFFI_LIBRARY_DIR=
-DLLVM_BINUTILS_INCDIR=/usr/include -DHAVE_HISTEDIT_H=no
-DENABLE_LINKER_BUILD_ID=ON -DCLANG_VENDOR=Chromium -DCLANG_DEFAULT_CXX_STDLIB=
-DCLANG_DEFAULT_RTLIB= -DOCAMLFIND=NO -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
-DLLVM_BUILD_DOCS=no -DLLVM_ENABLE_SPHINX=no -DLLVM_ENABLE_DOXYGEN=OFF
-DLLVM_INSTALL_HTML=/usr/share/doc/llvm-5.0_pre300080-r10/html
-DSPHINX_WARNINGS_AS_ERRORS=OFF -DLLVM_INSTALL_UTILS=ON
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DO_STRIP=OFF llvm_source_dir
CMake errors out:
CMake Error in cmake/modules/CMakeLists.txt:
export called with target "LLVMTestingSupport" which requires target
"gtest" that is not in the export set.
If the required target is not easy to reference in this call, consider
using the APPEND option with multiple separate calls.</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>