From 5ea53b0df6da6b5bf12ff5dc03cd43686f8db48e Mon Sep 17 00:00:00 2001 From: Stephane Sezer Date: Thu, 29 Sep 2016 19:34:57 -0700 Subject: [PATCH] Enable builds with asan on Travis This should prevent checking in some code with memory errors. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8f30ad86d..2f0e8106f 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,10 @@ project := project cmake := cmake cmake_flags := -DCMAKE_INSTALL_PREFIX= +ifeq ($(CI),true) +cmake_flags += -DSANITIZER=asan +endif + ninja := $(if $(shell which llbuild),llbuild ninja build,ninja) ninja_flags := $(if $(shell echo "$$NINJA_JOBS"),-j$(shell echo "$$NINJA_JOBS"),)