From 47a4730f09e73c6a89b4f3a30a850f055cf28447 Mon Sep 17 00:00:00 2001 From: Damian Rouson Date: Wed, 25 Feb 2026 18:54:06 -0800 Subject: [PATCH 1/2] chore: update to Julienne 3.6.2 to support LFortran --- fpm.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpm.toml b/fpm.toml index 8f41cc2..367b1b3 100644 --- a/fpm.toml +++ b/fpm.toml @@ -1,7 +1,7 @@ name = "formal" [dev-dependencies] -julienne = {git = "https://github.com/berkeleylab/julienne.git", tag = "3.6.0"} +julienne = {git = "https://github.com/berkeleylab/julienne.git", tag = "3.6.2"} [install] library = true From a9b02a233543eb191e36fa75df4b0287e686f16b Mon Sep 17 00:00:00 2001 From: Damian Rouson Date: Wed, 25 Feb 2026 19:03:52 -0800 Subject: [PATCH 2/2] doc(README): add LFortran to supported compilers --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 369a7b4..f1721b6 100644 --- a/README.md +++ b/README.md @@ -71,16 +71,17 @@ compiling [fpm-0.12.0.F90] and placing the resulting executable file in your Building and testing -------------------- - Vendor | Compiler | Version(s) Tested | Build/Test Command ---------|-------------|-------------------|------------------- - GCC | `gfortran` | 14-15 | fpm test --compiler gfortran --profile release - GCC | `gfortran` | 13 | fpm test --compiler gfortran --profile release --flag "-ffree-line-length-none" - Intel | `ifx` | 2025.1.2 | FOR_COARRAY_NUM_IMAGES=1 fpm test --compiler ifx --flag "-fpp -O3 -coarray" --profile release - LLVM | `flang-new` | 20-21 | fpm test --compiler flang-new --flag "-O3" - LLVM | `flang-new` | 19 | fpm test --compiler flang-new --flag "-O3 -mmlir -allow-assumed-rank" - NAG | `nagfor` | 7.2 Build 7242 | fpm test --compiler nagfor --flag "-O3 -fpp" - -With `fpm` versions _after_ 0.12.0, `flang-new` can be shortened to `flang` in the above `fpm` commands. + Vendor | Compiler | Version(s) Tested | Build/Test Command +----------|-------------|-----------------------|------------------- + GCC | `gfortran` | 14-15 | `fpm test --compiler gfortran --profile release` + GCC | `gfortran` | 13 | `fpm test --compiler gfortran --profile release --flag "-ffree-line-length-none"` + Intel | `ifx` | 2025.1.2 | `FOR_COARRAY_NUM_IMAGES=1 fpm test --compiler ifx --flag "-fpp -O3 -coarray" --profile release` + LFortran | `lfortran` | 0.60.0-421-ge2c448c79 | `fpm test --compiler lfortran --flag "--cpp --realloc-lhs-arrays"` + LLVM | `flang` | 20-21 | `fpm test --compiler flang --flag "-O3"` + LLVM | `flang` | 19 | `fpm test --compiler flang --flag "-O3 -mmlir -allow-assumed-rank"` + NAG | `nagfor` | 7.2 Build 7242 | `fpm test --compiler nagfor --flag "-O3 -fpp"` + +With `fpm` versions before 0.13.0, replace `flang` with `flang-new` above. Documentation -------------