aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2024-03-15 08:15:53 -0700
committerGitHub <noreply@github.com>2024-03-15 08:15:53 -0700
commit12a3bf35157543ef73f4110215304bef55e79316 (patch)
treef80aa0661e222be41308c524a72afa195c508094
parent9b3edb592debc00a5c3fbf7a71f63e07d6af44be (diff)
downloadllvm-12a3bf35157543ef73f4110215304bef55e79316.zip
llvm-12a3bf35157543ef73f4110215304bef55e79316.tar.gz
llvm-12a3bf35157543ef73f4110215304bef55e79316.tar.bz2
workflows: Add workaround for lld failures on MacOS (#85021) (#85110)
See #81967 (cherry picked from commit 175b533720956017bb18d1280362f6890ee15b05)
-rw-r--r--.github/workflows/llvm-project-tests.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index 43b9019..a52dd2d 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -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" \