[PATCH] D67530: Fix bug in `darwin_test_archs()` when the cache variable is set but empty.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 10:33:49 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL371872: Fix bug in `darwin_test_archs()` when the cache variable is set but empty. (authored by delcypher, committed by ).

Repository:
  rL LLVM

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

https://reviews.llvm.org/D67530

Files:
  compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake


Index: compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
===================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
@@ -113,7 +113,7 @@
     endif()
   endforeach()
   set(${valid_archs} ${working_archs}
-    CACHE STRING "List of valid architectures for platform ${os}.")
+    CACHE STRING "List of valid architectures for platform ${os}." FORCE)
 endfunction()
 
 # This function checks the host cpusubtype to see if it is post-haswell. Haswell


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67530.220138.patch
Type: text/x-patch
Size: 594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190913/32c64046/attachment.bin>


More information about the llvm-commits mailing list