diff options
author | Ludovic Henry <luhenry@microsoft.com> | 2018-10-16 21:00:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 21:00:12 +0300 |
commit | 2a4cfddd9a780b0061336f561d0eeb7afabd5ff5 (patch) | |
tree | 13cefe983e59d9ef9435c9c341743c0bbafa1e6e /sdks/builds/ios.mk | |
parent | 36edb2f275502650defcb82d854aad0c2b617359 (diff) |
[sdks] Build tests for BCL targets (#11141)
* [sdks] Build BCL profiles without configure flags
* [sdks] Add BclTemplate to build BCL profiles
This is to avoid building all the profiles in a single `sdks/out/bcl` directory which will be shared between android, ios and wasm.
* [sdks] Simplify call to BclTemplate
* [mcs] Make directory dependency as order-only
We would otherwise always rebuild the target since the directory is updated whenever something is added to the directory. This is a common Makefile technique.
* [sdks] Build tests for BCL targets
Diffstat (limited to 'sdks/builds/ios.mk')
-rw-r--r-- | sdks/builds/ios.mk | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sdks/builds/ios.mk b/sdks/builds/ios.mk index 29b31beab73..4226fb20a1b 100644 --- a/sdks/builds/ios.mk +++ b/sdks/builds/ios.mk @@ -341,16 +341,11 @@ $(eval $(call iOSCrossTemplate,crosswatch,i386,armv7k-unknown,ios-targetwatch,ll # 64->arm32 cross compiler $(eval $(call iOSCrossTemplate,cross32-64,x86_64,arm,ios-target32,llvm-llvm64,arm-apple-darwin10)) -## -# Parameters -# $(1): build profiles -# $(2): test profile -define iOSBclTemplate - -$$(eval $$(call BclTemplate,ios,$(1),$(2))) - +$(eval $(call BclTemplate,ios-bcl,monotouch monotouch_tv monotouch_runtime monotouch_tv_runtime,monotouch)) ios_TARGETS += ios-bcl -endef +$(eval $(call BclTemplate,ios-watchbcl,monotouch_watch monotouch_watch_runtime,)) +ios_TARGETS += ios-watchbcl -$(eval $(call iOSBclTemplate,monotouch monotouch_tv monotouch_watch monotouch_runtime monotouch_tv_runtime monotouch_watch_runtime,monotouch)) +# Both BCL builds can't be run concurrently +build-ios-watchbcl: build-ios-bcl |