[PATCH] D107868: [HIP] use bootstrap to build libc++

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 11 13:09:50 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rZORGb1505407c8f6: [HIP] use bootstrap to build libc++ (authored by yaxunl).

Changed prior to commit:
  https://reviews.llvm.org/D107868?vs=365603&id=365833#toc

Repository:
  rZORG LLVM Github Zorg

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107868/new/

https://reviews.llvm.org/D107868

Files:
  zorg/buildbot/builders/annotated/hip-build.sh


Index: zorg/buildbot/builders/annotated/hip-build.sh
===================================================================
--- zorg/buildbot/builders/annotated/hip-build.sh
+++ zorg/buildbot/builders/annotated/hip-build.sh
@@ -62,7 +62,8 @@
   -DCMAKE_BUILD_TYPE="Release" \
   -DCMAKE_VERBOSE_MAKEFILE=1 \
   -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" \
-  -DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra;compiler-rt;libcxx;libcxxabi" \
+  -DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra;compiler-rt" \
+  -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
   -DLIBCXX_ENABLE_SHARED=OFF \
   -DLIBCXX_ENABLE_STATIC=ON \
   -DLIBCXX_INSTALL_LIBRARY=OFF \
@@ -78,10 +79,12 @@
   ${LLVM_ROOT}/llvm
 
 build_step "Building LLVM"
+ninja runtimes
 ninja
 
 build_step "Install LLVM"
 rm -rf "${DESTDIR}"
+ninja install-runtimes
 ninja install
 
 # Start building llvm-test-suite's hip tests


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107868.365833.patch
Type: text/x-patch
Size: 879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210811/850560ac/attachment.bin>


More information about the llvm-commits mailing list