[libcxx-commits] [PATCH] D84426: [runtimes] Build static libraries in try_compile

Saleem Abdulrasool via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 28 08:45:32 PDT 2020


compnerd added a comment.

For many tests, it makes sense to just do the static library test - that is if they are limited to something that is compile time only.  For link time tests, this doesn't work (e.g. testing if `librt` is needed).  Perhaps we should make this conditional on `NOT BUILD_SHARED_LIBS`?  This would be the default behaviour with LLVM, but still would let you opt out were you to build a shared library.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84426



More information about the libcxx-commits mailing list