diff options
author | Ludovic Henry <luhenry@microsoft.com> | 2018-10-02 00:43:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 00:43:46 +0300 |
commit | 0aebe90cac85a171735629a779f44ca04bc90377 (patch) | |
tree | 14cb84a7d88a4d58762624fce3122a64d800fdc5 /runtime | |
parent | 9182bcccc3ded3ea3b00e10771ea81b0ed3fcc8f (diff) |
[sdks] Create archive targets for pre-building on CI (#10882)
* [sdks] Remove redundant --enable-cxx
* [sdks] Shorten `-m32`/`-m64` parameters detection for runtimes
* [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] Create archive targets for pre-building on CI
* [sdks] Use archive-{android,ios,wasm} on CI
* [sdks] Run archive-llvm-llvm{,win}{32,64} on CI
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 7806290222a..eab8ed3118a 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -1,3 +1,4 @@ + tmpinst = _tmpinst noinst_SCRIPTS = mono-wrapper monodis-wrapper @@ -81,34 +82,49 @@ endif test_profiles = $(filter-out binary_reference_assemblies monodroid_tools,$(build_profiles)) -if BUILD_MCS - MAKE_FLAGS=$(if $(V),,--no-print-directory -s) # The write check is to foil 'make distcheck' -all-local: $(SUPPORT_FILES) $(TEST_SUPPORT_FILES) +all-mcs: $(SUPPORT_FILES) $(TEST_SUPPORT_FILES) if test -w $(mcs_topdir); then :; else chmod -R +w $(mcs_topdir); fi cd $(mcs_topdir) && $(MAKE) $(MAKE_FLAGS) NO_DIR_CHECK=1 PROFILES='$(build_profiles)' CC='$(CC)' all-profiles -# override automake -install: install-exec install-data +install-mcs: install-mcs-exec install-mcs-data # override automake -install-exec: $(SUPPORT_FILES) $(TEST_SUPPORT_FILES) +install-mcs-exec: $(SUPPORT_FILES) $(TEST_SUPPORT_FILES) cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(build_profiles)' RUNTIME_HAS_CONSISTENT_GACDIR=yes prefix=$(prefix) install-profiles # override automake -install-data: +install-mcs-data: @: # override automake -uninstall: +uninstall-mcs: cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(build_profiles)' RUNTIME_HAS_CONSISTENT_GACDIR=yes prefix=$(prefix) uninstall-profiles -clean-local: +clean-mcs: cd $(mcs_topdir) && $(MAKE) NO_DIR_CHECK=1 PROFILES='$(build_profiles)' clean-profiles -rm -fr $(etctmp) $(tmpinst) +if BUILD_MCS + +all-local: all-mcs + +# override automake +install: install-mcs + +# override automake +install-exec: install-mcs-exec + +# override automake +install-data: install-mcs-data + +# override automake +uninstall: uninstall-mcs + +clean-local: clean-mcs + endif BUILD_MCS TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/ilasm $(tmpinst)/bin/csc $(tmpinst)/bin/mcs $(tmpinst)/bin/al |