From 38b6d696eb70271620c8f041487b8d0ccd759c2d Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Thu, 25 Sep 2025 11:13:07 -0700 Subject: [PATCH 1/5] CI: Remove issue #228 workaround for brew-installed flang --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95fe715b..1d0acdc8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -255,9 +255,6 @@ jobs: run: | set -x brew install llvm@${COMPILER_VERSION} flang - # workaround issue #228: clang cannot find homebrew flang's C header - for p in /opt/homebrew /usr/local $(brew --prefix) ; do find $p/Cellar/flang -name ISO_Fortran_binding.h 2>/dev/null || true ; done - echo "CFLAGS=-I$(dirname $(find $(brew --prefix)/Cellar/flang -name ISO_Fortran_binding.h | head -1)) ${CFLAGS}" >> "$GITHUB_ENV" # Prepend homebrew clang to PATH: echo "PATH=$(brew --prefix)/opt/llvm/bin:${PATH}" >> "$GITHUB_ENV" From b2eefa1cbf7c10630b72c8efe953e62246620f76 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Wed, 4 Mar 2026 13:19:02 -0800 Subject: [PATCH 2/5] fpm.toml.template: Bump Assert and Julienne to latest releases This notably adds support for LFortran in those dependencies --- manifest/fpm.toml.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest/fpm.toml.template b/manifest/fpm.toml.template index a76794a8..9d24d932 100644 --- a/manifest/fpm.toml.template +++ b/manifest/fpm.toml.template @@ -6,8 +6,8 @@ maintainer = "fortran@lbl.gov" copyright = "2021-2025 The Regents of the University of California, through Lawrence Berkeley National Laboratory" [dev-dependencies] -assert = {git = "https://github.com/berkeleylab/assert.git", tag = "3.0.0"} -julienne = {git = "https://github.com/berkeleylab/julienne.git", tag = "3.6.0"} +assert = {git = "https://github.com/berkeleylab/assert.git", tag = "3.1.0"} +julienne = {git = "https://github.com/berkeleylab/julienne.git", tag = "3.6.2"} [install] library = true From 77d93b2054946f03224e06c6295e3e60d6ba6815 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Wed, 4 Mar 2026 13:52:02 -0800 Subject: [PATCH 3/5] implementation-status.md: Add a note about PRIF constants --- docs/implementation-status.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/implementation-status.md b/docs/implementation-status.md index 0a8dcc39..ee20552a 100644 --- a/docs/implementation-status.md +++ b/docs/implementation-status.md @@ -28,8 +28,10 @@ the labels in the Caffeine [issue tracker](https://github.com/BerkeleyLab/caffei ## Named Constants -Caffeine contains definitions for all of the PRIF-relevant constants from ISO_FORTRAN_ENV and for +Caffeine contains definitions for all of the PRIF-relevant constants from `ISO_FORTRAN_ENV` and for all of the PRIF-specific constants. +Configuration settings (`CAF_IMPORT_*` preprocessor defines) can optionally be used to import +selected constant values from `ISO_FORTRAN_ENV` of the hosting compiler. ## Program Startup and Shutdown From e52608bdeb62f372eed519b0e3a64dc02d995249 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Wed, 4 Mar 2026 13:17:02 -0800 Subject: [PATCH 4/5] Update copyright year, package version Also fix a broken link and poor-quality description in fpm.toml --- install.sh | 6 +++--- manifest/fpm.toml.template | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 0105639f..95cef359 100755 --- a/install.sh +++ b/install.sh @@ -492,9 +492,9 @@ CAFFEINE_FPM_FC=$FPM_FC CAFFEINE_FPM_CC=$GASNET_CC CAFFEINE_FPM_CFLAGS=$GASNET_CFLAGS $GASNET_CPPFLAGS $APPEND_CFLAGS Name: caffeine -Description: Coarray Fortran parallel runtime library -URL: https://gitlab.lbl.gov/berkeleylab/caffeine -Version: 0.7.1 +Description: The CoArray Fortran Framework of Efficient Interfaces to Network Environments (Caffeine) implements the Parallel Runtime Interface for Fortran (PRIF), providing runtime support for multi-image features in modern Fortran compilers. +URL: https://go.lbl.gov/caffeine +Version: 0.7.2 EOF exit_if_pkg_config_pc_file_missing "caffeine" diff --git a/manifest/fpm.toml.template b/manifest/fpm.toml.template index 9d24d932..8571f7e6 100644 --- a/manifest/fpm.toml.template +++ b/manifest/fpm.toml.template @@ -1,9 +1,9 @@ name = "caffeine" -version = "0.7.1" +version = "0.7.2" license = "BSD-3-Clause-LBNL" author = ["Damian Rouson", "Brad Richardson", "Katherine Rasmussen", "Dan Bonachea"] maintainer = "fortran@lbl.gov" -copyright = "2021-2025 The Regents of the University of California, through Lawrence Berkeley National Laboratory" +copyright = "2021-2026 The Regents of the University of California, through Lawrence Berkeley National Laboratory" [dev-dependencies] assert = {git = "https://github.com/berkeleylab/assert.git", tag = "3.1.0"} From 484ed39b182d5750308c98773a16004391ad276a Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Wed, 4 Mar 2026 14:17:25 -0800 Subject: [PATCH 5/5] Pin GASNet release to 2025.8.0 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 95cef359..f601594f 100755 --- a/install.sh +++ b/install.sh @@ -45,7 +45,7 @@ Report bugs to fortran@lbl.gov or at https://go.lbl.gov/caffeine EOF } -GASNET_VERSION="stable" +GASNET_VERSION="2025.8.0" VERBOSE="" GASNET_CONDUIT="${GASNET_CONDUIT:-smp}" YES=false