From 173bc5e99654357b42da65056d1a194b513fba16 Mon Sep 17 00:00:00 2001 From: Andrzej Kotulski Date: Wed, 10 Feb 2016 08:08:11 -0800 Subject: [PATCH] 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 --- Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 3e1faf4fb..66e1c7d41 100644 --- a/Makefile.in +++ b/Makefile.in @@ -57,6 +57,7 @@ clang_setup: $(FCP_DIR)/clang/setup.sh clang_plugin: clang_setup +ifeq (@INFER_IS_RELEASE@,no) $(MAKE) -C $(FCP_DIR)/libtooling all \ CC=@CC@ CXX=@CXX@ \ CXX="@CXX@" CXXFLAGS="@CXXFLAGS@" \ @@ -72,6 +73,7 @@ clang_plugin: clang_setup LOCAL_CLANG=@CLANG_PREFIX@/bin/clang \ CLANG_PREFIX=@CLANG_PREFIX@ \ CLANG_INCLUDES=@CLANG_INCLUDES@ +endif clang: clang_plugin endif