[PATCH] D141552: test-release.sh: Only build clang for stage1 and stage2

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 18:11:10 PST 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG19f100e89ad5: test-release.sh: Only build clang for stage1 and stage2 (authored by tstellar).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141552

Files:
  llvm/utils/release/test-release.sh


Index: llvm/utils/release/test-release.sh
===================================================================
--- llvm/utils/release/test-release.sh
+++ llvm/utils/release/test-release.sh
@@ -404,12 +404,17 @@
             ;;
     esac
 
-    project_list=${projects// /;}
-    # Leading spaces will result in ";<runtime name>". This causes a CMake
-    # error because the empty string before the first ';' is treated as an
-    # unknown runtime name.
-    runtimes=$(echo $runtimes | sed -e 's/^\s*//')
-    runtime_list=${runtimes// /;}
+    if [ "$Phase" -eq "3" ]; then
+      project_list=${projects// /;}
+      # Leading spaces will result in ";<runtime name>". This causes a CMake
+      # error because the empty string before the first ';' is treated as an
+      # unknown runtime name.
+      runtimes=$(echo $runtimes | sed -e 's/^\s*//')
+      runtime_list=${runtimes// /;}
+    else
+      project_list="clang"
+      runtime_list=""
+    fi
     echo "# Using C compiler: $c_compiler"
     echo "# Using C++ compiler: $cxx_compiler"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141552.491977.patch
Type: text/x-patch
Size: 1054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230125/ed06ecca/attachment.bin>


More information about the llvm-commits mailing list