am 4978c144: Use -O1 for jemalloc unit tests
* commit '4978c144e101dc0e6c5a84a79321a123298a2fac':
Use -O1 for jemalloc unit tests
diff --git a/Android.mk b/Android.mk
index 60d0ae3..4d7eb5a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -223,10 +223,13 @@
test/unit/util.c \
test/unit/zero.c \
+# The latest clang update trips over test/unit/atomic.c and never finishes
+# compiling for aarch64 with -O3 (or -O2). Drop back to -O1 while we investigate
+# to stop punishing the build server.
$(foreach test,$(jemalloc_unit_tests), \
$(eval test_name := $(basename $(notdir $(test)))); \
$(eval test_src := $(test)); \
- $(eval test_cflags := -DJEMALLOC_UNIT_TEST); \
+ $(eval test_cflags := -DJEMALLOC_UNIT_TEST -O1); \
$(eval test_libs := libjemalloc_unittest); \
$(eval test_path := jemalloc_unittests); \
$(eval include $(LOCAL_PATH)/Android.test.mk) \