Skip to content

Commit 4bb81b3

Browse files
committed
Build utilities as part of the release build
1 parent 2c677be commit 4bb81b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ llvm-shared: disable-docs ## Build LLVM with BUILD_SHARED_LIBS=ON
2828
--skip-dist
2929

3030
check-mlir:
31-
cd build/host && ninja check-mlir
31+
cd build/host/stage2/RelWithDebInfo/stage2-$(RELEASE).obj && ninja check-mlir
3232

3333
llvm-with-docs: enable-docs ## Build LLVM w/documentation
3434
CC=$(CC) CXX=$(CXX) lumen/utils/dist/build-dist.sh \

lumen/utils/dist/build-dist.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ function configure_core() {
398398
stage_projects="clang;clang-tools-extra;lld"
399399
stage_runtimes="compiler-rt;libcxx;libcxxabi"
400400
else
401+
extra_configure_flags="-DLLVM_BUILD_UTILS=ON -DLLVM_INSTALL_UTILS=ON"
401402
if [[ ! "$triple" =~ apple ]]; then
402403
extra_configure_flags="-DLLVM_ENABLE_LLD=ON $extra_configure_flags"
403404
fi

0 commit comments

Comments
 (0)