[make][dev] install gnu-sed on osx

Summary: Used by `make deadcode`.

Reviewed By: mbouaziz, dulmarod

Differential Revision: D6845536

fbshipit-source-id: 79dda5b
master
Jules Villard 7 years ago committed by Facebook Github Bot
parent 4fdaf257ae
commit 5d1e889916

@ -623,6 +623,10 @@ devsetup: Makefile.autoconf
$(QUIET)OPAMSWITCH=$(OPAMSWITCH); $(OPAM) config --yes setup -a
$(QUIET)echo '$(TERM_INFO)*** Running `opam user-setup`$(TERM_RESET)' >&2
$(QUIET)OPAMSWITCH=$(OPAMSWITCH); OPAMYES=1; $(OPAM) user-setup install
$(QUIET)if [ "$(PLATFORM)" = "Darwin" ] && [ x"$(GNU_SED)" = x"no" ]; then \
echo '$(TERM_INFO)*** Installing GNU sed$(TERM_RESET)' >&2; \
brew install gnu-sed; \
fi
$(QUIET)if [ "$(PLATFORM)" = "Darwin" ] && ! $$(parallel -h | grep -q GNU); then \
echo '$(TERM_INFO)*** Installing GNU parallel$(TERM_RESET)' >&2; \
brew install parallel; \

Loading…
Cancel
Save