workflows: Add workaround for lld failures on MacOS (#85021) (#85110)
authorTom Stellard <tstellar@redhat.com>
Fri, 15 Mar 2024 15:15:53 +0000 (08:15 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Mar 2024 15:15:53 +0000 (08:15 -0700)
See #81967

(cherry picked from commit 175b533720956017bb18d1280362f6890ee15b05)

.github/workflows/llvm-project-tests.yml

index 43b90193406fc96983e9a73675fc322f1280c70e..a52dd2db8035ddce07a606268f6472f552841f5c 100644 (file)
@@ -118,6 +118,11 @@ jobs:
           else
             builddir="$(pwd)"/build
           fi
+          if [ "${{ runner.os }}" == "macOS" ]; then
+            # Workaround test failure on some lld tests on MacOS
+            # https://github.com/llvm/llvm-project/issues/81967
+            extra_cmake_args="-DLLVM_DISABLE_ASSEMBLY_FILES=ON"
+          fi
           echo "llvm-builddir=$builddir" >> "$GITHUB_OUTPUT"
           cmake -G Ninja \
                 -B "$builddir" \