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.
This commit is contained in:
Martin Storsjö authored and Martin Storsjo committed 2017-10-07 00:12:59 +03:00
1 parent 1f848ff6d4
commit 2260db1904
1 file changed
+1
+1
View File
@@ -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 && \