From 6cd97b8f4a2ae037d91adf756083835c353d36a0 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Sun, 25 Oct 2026 09:18:49 -0700 Subject: [PATCH 1/4] CI: Retire macos-14 coverage GitHub is retiring the macos-14 hosted runner --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed971576..5ed121b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ macos-14, macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04 ] + os: [ macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04 ] compiler: [ gfortran ] version: [ 13, 14, 15, 16 ] network: [ smp ] From 4ef4c8e27ae03623c44a063ebf160d6609f41d23 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Sun, 25 Oct 2026 09:22:28 -0700 Subject: [PATCH 2/4] CI: Add LFortran 0.68 and UDP coverage --- .github/workflows/build.yml | 19 +++++++++++++++---- app/print-native-flags.F90 | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ed121b9..cb0474ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -152,10 +152,10 @@ jobs: # https://github.com/fortran-lang/homebrew-fortran - os: macos-15 compiler: lfortran - version: 0.67.0 + version: 0.68.0 - os: macos-26 compiler: lfortran - version: 0.67.0 + version: 0.68.0 # https://github.com/lfortran/lfortran/pkgs/container/lfortran - os: ubuntu-22.04 @@ -163,6 +163,11 @@ jobs: version: latest container: ghcr.io/lfortran/lfortran:latest + - os: ubuntu-22.04 + compiler: lfortran + version: 0.68 + container: ghcr.io/lfortran/lfortran:v0.68.0 + - os: ubuntu-22.04 compiler: lfortran version: 0.67 @@ -197,10 +202,10 @@ jobs: container: phhargrove/llvm-flang:23.1.0-latest - os: ubuntu-22.04 compiler: lfortran - version: 0.67 + version: 0.68 label: OPT CONFIGURE_ARGS: --disable-debug - container: ghcr.io/lfortran/lfortran:v0.67.0 + container: ghcr.io/lfortran/lfortran:v0.68.0 # --- PRIF-old coverage --- # - os: ubuntu-24.04 @@ -229,6 +234,12 @@ jobs: version: 14 network: udp + - os: ubuntu-22.04 + compiler: lfortran + version: 0.68 + network: udp + container: ghcr.io/lfortran/lfortran:v0.68.0 + # No Homebrew bottle for Intel, use MacPorts instead - os: macos-15-intel compiler: flang diff --git a/app/print-native-flags.F90 b/app/print-native-flags.F90 index 1c80db54..bbd57eb2 100644 --- a/app/print-native-flags.F90 +++ b/app/print-native-flags.F90 @@ -100,7 +100,7 @@ subroutine write_flags # else if (INDEX(COMPILER_VERSION(), 'version 0.6') /= 0 .and. & INDEX(COMPILER_VERSION(), '-g') == 0) then - ! LFortran release 0.66 .. 0.67 + ! LFortran release 0.66 .. 0.68 call no("GET_TEAM") call no("NUM_IMAGES_TEAM") call no("THIS_IMAGE_TEAM") From 873af49868e50c0ed13b0a64c0d8b4ac1f5d3c13 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Mon, 26 Oct 2026 14:31:07 -0700 Subject: [PATCH 3/4] CI: Force macPorts binary installation --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb0474ce..b4685da2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -420,7 +420,7 @@ jobs: run: | #sudo port -v selfupdate if [[ ${{ matrix.compiler }} == 'gfortran' && ${COMPILER_VERSION} -gt 15 ]] ; then - retry sudo port -v install gcc${COMPILER_VERSION} + retry sudo port -v -b install gcc${COMPILER_VERSION} fi # Append Macports dynamic library directory echo "DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/libgcc/:$DYLD_FALLBACK_LIBRARY_PATH" >> "$GITHUB_ENV" @@ -436,7 +436,7 @@ jobs: - name: Install LLVM flang on macOS (Macports) if: ${{ matrix.compiler == 'flang' && matrix.macports }} run: | - retry sudo port -v install flang-${COMPILER_VERSION} + retry sudo port -v -b install flang-${COMPILER_VERSION} sudo ln -sf /opt/local/bin/flang-mp-${COMPILER_VERSION} /opt/local/bin/flang sudo ln -sf /opt/local/bin/flang-mp-${COMPILER_VERSION} /opt/local/bin/flang-new sudo ln -sf /opt/local/bin/clang-mp-${COMPILER_VERSION} /opt/local/bin/clang From addc79534b757eb343185224b6925e7abcef0a2e Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Tue, 27 Oct 2026 13:56:13 -0700 Subject: [PATCH 4/4] CI: Disable MacPorts flang, which is currently broken Fails to download a port binary dependency on llvm or mlir --- .github/workflows/build.yml | 38 +++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4685da2..6a930acc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,14 +94,15 @@ jobs: compiler: flang brew_via_install: 1 # No Homebrew bottle for Intel, use MacPorts instead - - os: macos-15-intel - compiler: flang - version: 23 - macports: 1 - - os: macos-26-intel - compiler: flang - version: 23 - macports: 1 + # Currently broken + #- os: macos-15-intel + # compiler: flang + # version: 23 + # macports: 1 + #- os: macos-26-intel + # compiler: flang + # version: 23 + # macports: 1 - os: ubuntu-24.04 compiler: flang @@ -241,16 +242,17 @@ jobs: container: ghcr.io/lfortran/lfortran:v0.68.0 # No Homebrew bottle for Intel, use MacPorts instead - - os: macos-15-intel - compiler: flang - version: 23 - macports: 1 - network: udp - - os: macos-26-intel - compiler: flang - version: 23 - macports: 1 - network: udp + # Currently broken + #- os: macos-15-intel + # compiler: flang + # version: 23 + # macports: 1 + # network: udp + #- os: macos-26-intel + # compiler: flang + # version: 23 + # macports: 1 + # network: udp - os: macos-15 compiler: flang