Skip to content

Commit 1456993

Browse files
Copilotrolfbjarne
andcommitted
Skip native registrar builds in mmp/mtouch on Linux (require Xcode)
Co-authored-by: rolfbjarne <249268+rolfbjarne@users.noreply.github.com>
1 parent 8e7d97a commit 1456993

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/mmp/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,13 @@ Microsoft.macOS.registrar.coreclr.arm64.m: $(TOP)/src/build/dotnet/macos/64/Micr
7474
%.arm64.a: %.arm64.m
7575
$(Q_CC) $(CLANG) -isysroot $(macos_SDK) -DDEBUG -g -gdwarf-2 -x objective-c++ -std=c++14 -o $@ -c -arch arm64 $< -Wall -Wno-unguarded-availability-new -I$(TOP)/runtime -mmacosx-version-min=$(DOTNET_MIN_MACOS_SDK_VERSION) -fobjc-runtime=macosx $(EXTRA_DEFINES)
7676

77+
ifndef IS_LINUX
7778
dotnet: $(MMP_TARGETS_DOTNET)
7879
ifdef INCLUDE_MAC
7980
install-local:: $(MMP_TARGETS_DOTNET)
8081
all-local:: $(MMP_TARGETS_DOTNET)
8182
endif
83+
endif
8284

8385
clean-local::
8486
rm -rf bin obj

tools/mtouch/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,11 @@ endef
8585

8686
$(foreach platform,$(DOTNET_PLATFORMS_MTOUCH),$(foreach rid,$(DOTNET_$(platform)_RUNTIME_IDENTIFIERS),$(eval $(call InstallRegistrar,$(platform),$(rid)))))
8787

88+
ifndef IS_LINUX
8889
dotnet: $(TARGETS_DOTNET)
8990
install-local:: $(TARGETS_DOTNET)
9091
all-local:: $(TARGETS_DOTNET)
92+
endif
9193

9294
clean-local::
9395
rm -Rf bin obj

0 commit comments

Comments
 (0)