[llvm] workflows/release-binaries: Disable flang on macOS X64 (PR #101790)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 21:38:05 PDT 2024


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/101790

Build is failing due to #101789.

>From cec65ebe06c6484014ad2fdbb8193970c4ecfee7 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 2 Aug 2024 21:34:40 -0700
Subject: [PATCH] workflows/release-binaries: Disable flang on macOS X64

Build is failing due to #101789.
---
 .github/workflows/release-binaries.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index b1b046dbad5f8..5112544f18a04 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -126,10 +126,10 @@ jobs:
 
         # x86 macOS and x86 Windows have trouble building flang, so disable it.
         # Windows: https://github.com/llvm/llvm-project/issues/100202
-        # macOS: 'rebase opcodes terminated early at offset 1 of 80016' when building __fortran_builtins.mod
+        # macOS: https://github.com/llvm/llvm-project/issues/101789
         build_flang="true"
 
-        if [ "$target" = "Windows-X64" ]; then
+        if [ "$target" = "Windows-X64" -o "$target" = "macOS-X64" ]; then
           target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_PROJECTS=\"clang;lld;lldb;clang-tools-extra;bolt;polly;mlir\""
           build_flang="false"
         fi



More information about the llvm-commits mailing list