From 6a7f8ca5077a765c638af179d9d147ee087a7983 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Sat, 29 Aug 2026 10:34:42 -0700 Subject: [PATCH 1/4] CI: Add LFortran 0.65 --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d923514..2ecd8dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -140,6 +140,10 @@ jobs: compiler: lfortran version: 0.64.0 container: ghcr.io/lfortran/lfortran:v0.64.0 + - os: ubuntu-22.04 + compiler: lfortran + version: 0.65.0 + container: ghcr.io/lfortran/lfortran:v0.65.0 - os: ubuntu-22.04 compiler: lfortran version: latest From 31c61b82dd7f82f1f40f21e45f9c0d1e923ca4c2 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Sat, 29 Aug 2026 10:40:01 -0700 Subject: [PATCH 2/4] CI: Bump to flang 23 release --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ecd8dc..311d159 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,19 +47,19 @@ jobs: - os: macos-14 compiler: flang - version: 22 + version: 23 - os: macos-15 compiler: flang - version: 22 - - os: macos-15-intel - compiler: flang - version: 22 + version: 23 - os: macos-26 compiler: flang - version: 22 + version: 23 + - os: macos-15-intel + compiler: flang + version: 23 - os: macos-26-intel compiler: flang - version: 22 + version: 23 # https://hub.docker.com/r/snowstep/llvm/tags - os: ubuntu-24.04 @@ -75,7 +75,7 @@ jobs: - os: ubuntu-24.04 compiler: flang version: 23 - container: phhargrove/llvm-flang:23.1.0_rc2-latest + container: phhargrove/llvm-flang:23.1.0-latest - os: ubuntu-24.04 compiler: flang version: 22 From bba7df5439139568715f33f133a9acbb7a67e666 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Sat, 29 Aug 2026 10:43:19 -0700 Subject: [PATCH 3/4] CI: Disable Homebrew flang for macOS + x86_64 Homebrew flang is missing a bottle for this combination since flang 23 --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 311d159..d968dc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,12 +54,12 @@ jobs: - os: macos-26 compiler: flang version: 23 - - os: macos-15-intel - compiler: flang - version: 23 - - os: macos-26-intel - compiler: flang - version: 23 +# - os: macos-15-intel +# compiler: flang +# version: 23 +# - os: macos-26-intel +# compiler: flang +# version: 23 # https://hub.docker.com/r/snowstep/llvm/tags - os: ubuntu-24.04 From b6160af04b46ce4eb329db390340e8999f44c83e Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Sat, 29 Aug 2026 10:57:11 -0700 Subject: [PATCH 4/4] CI: set some Homebrew knobs to accelerate installation on macOS --- .github/workflows/build.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d968dc9..a9d5492 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -198,11 +198,23 @@ jobs: ls -alh /app/share/lfortran/lib/ fi - - name: Install macOS Dependencies - if: contains(matrix.os, 'macos') + - name: Fix macOS Homebrew Configuration + if: ${{ contains(matrix.os, 'macos') }} run: | # silence Homebrew tap trust warnings: (set +e ; brew untap -f aws/tap hashicorp/tap 2>&1 | perl -pe 's/#*.warning./warn: /' ; brew trust azure/bicep ) + # set some Homebrew knobs to accelerate installation + # but only when we are not simulating the user environment brew-via-install workflow + if [[ -z "${{ matrix.brew_via_install }}" ]] ; then + echo HOMEBREW_NO_ANALYTICS=1 >> "$GITHUB_ENV" + echo HOMEBREW_NO_AUTO_UPDATE=1 >> "$GITHUB_ENV" + echo HOMEBREW_NO_GITHUB_API=1 >> "$GITHUB_ENV" + echo HOMEBREW_NO_INSTALL_CLEANUP=1 >> "$GITHUB_ENV" + fi + + - name: Install macOS Dependencies + if: contains(matrix.os, 'macos') + run: | brew update # fpm binary distribution for macOS requires gfortran shared libraries from gcc@12 brew install gcc@12