From d47d9773227bc291d606e90499da7c550a16e3b8 Mon Sep 17 00:00:00 2001 From: Jeremy Dubreil Date: Fri, 9 Dec 2016 14:49:00 -0800 Subject: [PATCH] [infer][java] Do not use multicore when creating the models Summary: Using multicore introduces some flakiness when building the models. This leads to summries for the models that are not always the same after rebuidling from scratch. Reviewed By: jberdine Differential Revision: D4306468 fbshipit-source-id: 96933d6 --- infer/models/java/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/models/java/Makefile b/infer/models/java/Makefile index 726330319..7f2202003 100644 --- a/infer/models/java/Makefile +++ b/infer/models/java/Makefile @@ -33,7 +33,7 @@ $(INFER_REPORT): $(ANDROID_JAR) $(JACKSON_JAR) $(JAVA_DEPS) $(INFER_ANNOTATIONS_ @rm -fr $(MODELS_OUT) mkdir -p $(MODELS_OUT) @rm -f $(DEPLOYED_MODELS_JAR) - $(INFER_BIN) --buck --models-mode -- javac -bootclasspath $(ANDROID_JAR) -d $(MODELS_OUT) -classpath $(JACKSON_JAR):$(INFER_ANNOTATIONS_JAR) $(JAVA_SOURCES) + $(INFER_BIN) --jobs 1 --buck --models-mode -- javac -bootclasspath $(ANDROID_JAR) -d $(MODELS_OUT) -classpath $(JACKSON_JAR):$(INFER_ANNOTATIONS_JAR) $(JAVA_SOURCES) $(MODELS_JAR): $(INFER_REPORT) cd $(MODELS_OUT); jar cf ../$(MODELS_JAR) *