r251953 - Revert "Support watchOS and tvOS in compiler-rt builds"

Tim Northover via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 10:14:42 PST 2015


Author: tnorthover
Date: Tue Nov  3 12:14:42 2015
New Revision: 251953

URL: http://llvm.org/viewvc/llvm-project?rev=251953&view=rev
Log:
Revert "Support watchOS and tvOS in compiler-rt builds"

The required compiler-rt changes aren't present yet so attempting to
build with compiler-rt breaks. And since we're trying to deprecate
autotools we actually want to fix this in CMake primarily anyway.

This reverts r251712.

Modified:
    cfe/trunk/runtime/compiler-rt/Makefile

Modified: cfe/trunk/runtime/compiler-rt/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/compiler-rt/Makefile?rev=251953&r1=251952&r2=251953&view=diff
==============================================================================
--- cfe/trunk/runtime/compiler-rt/Makefile (original)
+++ cfe/trunk/runtime/compiler-rt/Makefile Tue Nov  3 12:14:42 2015
@@ -83,25 +83,6 @@ RuntimeLibrary.darwin.Configs := \
 
 IOS_SDK := $(shell xcrun --show-sdk-path -sdk iphoneos 2> /dev/null)
 IOSSIM_SDK := $(shell xcrun --show-sdk-path -sdk iphonesimulator 2> /dev/null)
-TVOS_SDK := $(shell xcrun --show-sdk-path -sdk appletvos 2> /dev/null)
-TVOSSIM_SDK := $(shell xcrun --show-sdk-path -sdk appletvsimulator 2> /dev/null)
-WATCHOS_SDK := $(shell xcrun --show-sdk-path -sdk watchos 2> /dev/null)
-WATCHOSSIM_SDK := $(shell xcrun --show-sdk-path -sdk watchsimulator 2> /dev/null)
-
-LinkerSupportedArches = \
-  $(shell \
-    result=""; \
-    for arch in $1; do \
-      if $(LD) -v 2>&1 | grep "configured to support" | tr ' ' '\n' | grep "^$$arch$$" >/dev/null 2>/dev/null; then \
-        result="$$result$$arch "; \
-      fi; \
-    done; \
-    echo $$result)
-
-
-RuntimeLibrary.macho_embedded.Configs := \
-	hard_static.a hard_pic.a
-ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
 
 ifneq ($(IOS_SDK)$(IOSSIM_SDK),)
 RuntimeLibrary.darwin.Configs += ios.a profile_ios.a
@@ -118,23 +99,9 @@ RuntimeLibrary.darwin.Configs += asan_io
                                  ubsan_iossim_dynamic.dylib
 endif
 
-
-ifneq ($(TVOS_SDK)$(TVOSSIM_SDK),)
-RuntimeLibrary.darwin.Configs += tvos.a profile_tvos.a
-endif
-
-ifneq ($(TVOS_SDK),)
-RuntimeLibrary.darwin.Configs += cc_kext_tvos.a
-endif
-
-ifneq ($(WATCHOS_SDK)$(WATCHOSSIM_SDK),)
-RuntimeLibrary.darwin.Configs += watchos.a profile_watchos.a
-endif
-
-ifneq ($(WATCHOS_SDK),)
-RuntimeLibrary.darwin.Configs += cc_kext_watchos.a
-endif
-
+RuntimeLibrary.macho_embedded.Configs := \
+	hard_static.a hard_pic.a
+ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
 RuntimeLibrary.macho_embedded.Configs += \
 	soft_static.a soft_pic.a
 endif




More information about the cfe-commits mailing list