[llvm] Depot runners arm (PR #120786)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 21 15:43:15 PST 2024


================
@@ -120,8 +124,21 @@ jobs:
 
         # Detect necessary CMake flags
         target="${{ runner.os }}-${{ runner.arch }}"
-        echo "enable-pgo=false" >> $GITHUB_OUTPUT
-        target_cmake_flags="-DLLVM_RELEASE_ENABLE_PGO=OFF"
+
+        # The hendrikmuhs/ccache-action action does not support installing sccache
+        # on arm64 Linux.
+        if [ "$target" = "Linux-ARM64" ]; then
+          echo ccache=ccache >> $GITHUB_OUTPUT
+        else
+          echo ccache=sccache >> $GITHUB_OUTPUT
+        fi
+
+        if [ "${{ runner.os }}" = "Linux" ]; then
----------------
tstellar wrote:

Here is a patch to clean up the file: https://github.com/llvm/llvm-project/pull/120860

I'll update this patch with your suggestions too.

https://github.com/llvm/llvm-project/pull/120786


More information about the llvm-commits mailing list