Do not rebuild facebook-clang-plugin when in release

Summary:
public
libtooling/build and clang-ocaml/build are already part of releases, don't rebuild them
closes #276

Reviewed By: jvillard

Differential Revision: D2921669

fb-gh-sync-id: bf88f8e
shipit-source-id: bf88f8e
master
Andrzej Kotulski 9 years ago committed by facebook-github-bot-7
parent 479ce841bc
commit 173bc5e996

@ -57,6 +57,7 @@ clang_setup:
$(FCP_DIR)/clang/setup.sh $(FCP_DIR)/clang/setup.sh
clang_plugin: clang_setup clang_plugin: clang_setup
ifeq (@INFER_IS_RELEASE@,no)
$(MAKE) -C $(FCP_DIR)/libtooling all \ $(MAKE) -C $(FCP_DIR)/libtooling all \
CC=@CC@ CXX=@CXX@ \ CC=@CC@ CXX=@CXX@ \
CXX="@CXX@" CXXFLAGS="@CXXFLAGS@" \ CXX="@CXX@" CXXFLAGS="@CXXFLAGS@" \
@ -72,6 +73,7 @@ clang_plugin: clang_setup
LOCAL_CLANG=@CLANG_PREFIX@/bin/clang \ LOCAL_CLANG=@CLANG_PREFIX@/bin/clang \
CLANG_PREFIX=@CLANG_PREFIX@ \ CLANG_PREFIX=@CLANG_PREFIX@ \
CLANG_INCLUDES=@CLANG_INCLUDES@ CLANG_INCLUDES=@CLANG_INCLUDES@
endif
clang: clang_plugin clang: clang_plugin
endif endif

Loading…
Cancel
Save