Skip to content

Commit 262617b

Browse files
committed
Use compiler-rt as runtime
1 parent 0dd73b9 commit 262617b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

script/install-rocm/customize.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@ def preprocess(i):
4141
env['MLC_ROCM_INSTALL_PREFIX'] = build_install_prefix
4242

4343
targets = 'AMDGPU;X86'
44-
projects = 'clang;lld;clang-tools-extra;flang;compiler-rt'
44+
projects = 'clang;lld;clang-tools-extra;flang'
4545

4646
q = "'"
4747

4848
# Runtimes: libc++ and openmp if requested
4949
if env.get('MLC_ROCM_SRC_WITH_RUNTIMES', '') == 'yes':
50-
runtimes = 'libcxx;libcxxabi;openmp'
50+
runtimes = 'compiler-rt;libcxx;libcxxabi;openmp'
5151
runtime_flags = (
5252
f' -DLLVM_ENABLE_RUNTIMES={q}{runtimes}{q}'
5353
f' -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-linux-gnu'
5454
f' -DLIBCXXABI_USE_LLVM_UNWINDER=OFF'
5555
)
5656
else:
57-
runtime_flags = f' -DLLVM_ENABLE_RUNTIMES={q}{q}'
57+
runtime_flags = f' -DLLVM_ENABLE_RUNTIMES={q}compiler-rt{q}'
5858

5959
cmake_cmd = (
6060
f'cmake {os.path.join(src_path, "llvm")} -GNinja'

0 commit comments

Comments
 (0)