From 2260db1904e4353a902954f5078e55a483cab166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 6 Oct 2017 22:47:41 +0300 Subject: [PATCH] Build llvm with assertions This makes sure none of the tested codepaths do anything unexpected; it's enabled by default in debug builds, but we still want an optimized build. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9e8ffe3..a90c783 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,7 @@ RUN mkdir /build/prefix RUN cd llvm && mkdir build && cd build && cmake \ -DCMAKE_INSTALL_PREFIX="/build/prefix" \ -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_TARGETS_TO_BUILD="ARM;AArch64;X86" \ ../ && \ make -j4 && \