From 71ec8c793a03f8bd4f41e341bf50c69c2de40fbc Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Tue, 7 May 2024 11:25:36 -0400 Subject: [PATCH 1/3] Preliminary LLVMFlang Support This PR adds preliminary support for the `LLVMFlang` compiler. At the moment, there are still issues with testing, etc. --- ChangeLog.md | 4 ++++ cmake/LLVMFlang.cmake | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 cmake/LLVMFlang.cmake diff --git a/ChangeLog.md b/ChangeLog.md index 1aa024b..f01ed43 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added `-quiet` flag for NAG Fortran +### Added + +- LLVMFlang compiler support + ## [1.8.0] - 2024-03-03 ### Added diff --git a/cmake/LLVMFlang.cmake b/cmake/LLVMFlang.cmake new file mode 100644 index 0000000..471c421 --- /dev/null +++ b/cmake/LLVMFlang.cmake @@ -0,0 +1,7 @@ +# Compiler specific flags for LLVM Flang + +set(cpp "-cpp") + +set(common_flags "${cpp}") +set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g ${common_flags}") +set(CMAKE_Fortran_FLAGS_RELEASE "-O3 ${common_flags}") From 389a6e398def7205754f7874c3faf434538a42d5 Mon Sep 17 00:00:00 2001 From: Tom Clune Date: Fri, 12 Jul 2024 12:32:44 -0400 Subject: [PATCH 2/3] Update changelog --- ChangeLog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index fa66887..dd03b30 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- support for llvm flang + ## [1.9.0] - 2024-07-09 ### Changed From c0595e1774256328784c3e62eca9d263a99d3991 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 12 Jul 2024 13:37:35 -0400 Subject: [PATCH 3/3] Fix up changelog --- ChangeLog.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index dd03b30..35b7753 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- support for llvm flang +- LLVMFlang compiler support ## [1.9.0] - 2024-07-09 @@ -20,11 +20,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add Ubuntu 24 to CI that has `gfortran-13`. Remove `gfortran-13` test from ubuntu 22, add `gfortran-14` - Up `cmake_minimum_required` - -### Added - -- LLVMFlang compiler support - ## [1.8.0] - 2024-03-03 ### Added