[llvm-bugs] [Bug 33528] New: LLVM build on Chromium is broken after addition of LLVMTestingSupport

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 20 10:14:18 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33528

            Bug ID: 33528
           Summary: LLVM build on Chromium is broken after addition of
                    LLVMTestingSupport
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: zturner at google.com
          Reporter: manojgupta at google.com
                CC: george.burgess.iv at gmail.com, llozano at chromium.org,
                    llvm-bugs at lists.llvm.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170620/055e807d/attachment.html>


More information about the llvm-bugs mailing list