[PATCH] D47606: [compiler-rt] [builtins] Don't build __atomic_load etc. by default.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 16:27:26 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT334779: [compiler-rt] [builtins] Don't build __atomic_* by default. (authored by efriedma, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D47606?vs=149352&id=151436#toc

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47606

Files:
  lib/builtins/CMakeLists.txt


Index: lib/builtins/CMakeLists.txt
===================================================================
--- lib/builtins/CMakeLists.txt
+++ lib/builtins/CMakeLists.txt
@@ -173,8 +173,8 @@
   trunctfsf2.c)
 
 option(COMPILER_RT_EXCLUDE_ATOMIC_BUILTIN
-  "Skip the atomic builtin (this may be needed if system headers are unavailable)"
-  Off)
+  "Skip the atomic builtin (these should normally be provided by a shared library)"
+  On)
 
 if(NOT FUCHSIA AND NOT COMPILER_RT_BAREMETAL_BUILD)
   set(GENERIC_SOURCES


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47606.151436.patch
Type: text/x-patch
Size: 511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180614/64da98ab/attachment.bin>


More information about the llvm-commits mailing list