Revision 73cfacb7b2c20546956e1c461b0b8f1863bff521 authored by Stefan Karpinski on 14 October 2019, 20:32:30 UTC, committed by GitHub on 14 October 2019, 20:32:30 UTC
1 parent 06cdb91
objconv.mk
## objconv ##
ifneq ($(USE_BINARYBUILDER_OBJCONV),1)
$(SRCCACHE)/objconv.zip: | $(SRCCACHE)
$(JLDOWNLOAD) $@ http://www.agner.org/optimize/objconv.zip
$(BUILDDIR)/objconv/source-extracted: $(SRCCACHE)/objconv.zip
-rm -r $(dir $@)
mkdir -p $(BUILDDIR)
unzip -d $(dir $@) $<
cd $(dir $@) && unzip source.zip
echo 1 > $@
$(BUILDDIR)/objconv/build-compiled: $(BUILDDIR)/objconv/source-extracted
cd $(dir $<) && $(CXX) -o objconv -O2 *.cpp
echo 1 > $@
$(eval $(call staged-install, \
objconv,objconv, \
BINFILE_INSTALL,$$(BUILDDIR)/objconv/objconv,,))
clean-objconv:
-rm $(BUILDDIR)/objconv/build-compiled $(build_depsbindir)/objconv
distclean-objconv:
-rm -rf $(SRCCACHE)/objconv.zip $(BUILDDIR)/objconv
get-objconv: $(SRCCACHE)/objconv.zip
extract-objconv: $(BUILDDIR)/objconv/source-extracted
configure-objconv: extract-objconv
compile-objconv: $(BUILDDIR)/objconv/build-compiled
fastcheck-objconv: check-objconv
check-objconv: compile-objconv
else
OBJCONV_BB_URL_BASE := https://github.com/JuliaPackaging/Yggdrasil/releases/download/Objconv-v$(OBJCONV_VER)-$(OBJCONV_BB_REL)
OBJCONV_BB_NAME := Objconv.v$(OBJCONV_VER)
$(eval $(call bb-install,objconv,OBJCONV,false))
endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...