[compiler-rt] [compiler-rt] Adds builtins support for xros. (PR #83484)

David Tellenbach via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 12:46:39 PST 2024


================
@@ -162,6 +164,11 @@ if(APPLE)
       list(APPEND DARWIN_tvossim_BUILTIN_ALL_POSSIBLE_ARCHS arm64)
     endif()
   endif()
+  if(COMPILER_RT_ENABLE_XROS)
+    list(APPEND DARWIN_EMBEDDED_PLATFORMS xros)
+    set(DARWIN_xros_BUILTIN_ALL_POSSIBLE_ARCHS arm64)
----------------
dtellenbach wrote:

Please use `${ARM64} ${ARM32}` similar to what ios does. 

https://github.com/llvm/llvm-project/pull/83484


More information about the llvm-commits mailing list