File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments