[flang-commits] [PATCH] D80377: [flang] Google test infrastructure support for unittests

sameeran joshi via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri May 22 11:47:49 PDT 2020


sameeranjoshi added a comment.

In D80377#2051051 <https://reviews.llvm.org/D80377#2051051>, @tskeith wrote:

> When I try to build I get this error:
>
>   ld: library not found for -lgtest_main
>
>
> Please update the README to indicate how to do the correct setup. A link to elsewhere in LLVM is fine.


I tried twice building the compiler in-tree on 2 different m/c. I couldn't reproduce the issue, here's how my cmake looks like:

  cmake -G "Ninja"  -DCMAKE_INSTALL_PREFIX=../install/  -DCMAKE_BUILD_TYPE="Release"  -DLLVM_TARGETS_TO_BUILD=host -DLLVM_ENABLE_PROJECTS="mlir;flang" -DCMAKE_CXX_STANDARD=17 -DFLANG_INCLUDE_TESTS=ON ../llvm-project/llvm/


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80377/new/

https://reviews.llvm.org/D80377





More information about the flang-commits mailing list