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:
1 parent
1f848ff6d4
commit
2260db1904
1 file changed
+1
@@ -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 && \
|
||||
|
||||
Reference in new issue
Block a user