[PATCH] D69003: cmake/modules/AddLLVM.cmake: pass '-latomic' to the linker if necessary

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 12:31:15 PDT 2019


beanz added a comment.

I'm not sure this is the correct fix.

Probably a more correct fix would be to change line 29 of llvm/lib/Support/CMakeLists.txt to:

  if( LLVM_ENABLE_THREADS AND (HAVE_LIBATOMIC OR HAVE_CXX_LIBATOMICS64))


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69003





More information about the llvm-commits mailing list