New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 735506 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

LLVM-Next build on ChromiumOS is broken after addition of LLVMTestingSupport

Project Member Reported by manojgupta@chromium.org, Jun 21 2017

Issue description

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

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.
 
Cc: zturner@chromium.org
Labels: -Pri-2 Pri-1
zturner@ Can you fix this soon? This will block future Chrome OS LLVM updates.

Comment 3 by zturner@google.com, Jun 22 2017

I can take a look at this tomorrow.
Status: WontFix (was: Untriaged)
Root cause was an old gtest patch that is no longer applicable.

Sign in to add a comment