[llvm] workflows: Add workaround for lld failures on MacOS (PR #85021)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 22:04:47 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

<details>
<summary>Changes</summary>

See #<!-- -->81967

---
Full diff: https://github.com/llvm/llvm-project/pull/85021.diff


1 Files Affected:

- (modified) .github/workflows/llvm-project-tests.yml (+5) 


``````````diff
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index 43b90193406fc9..a52dd2db8035dd 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" \

``````````

</details>


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


More information about the llvm-commits mailing list