Skip to content

Commit

Permalink
Preliminary LLVMFlang Support
Browse files Browse the repository at this point in the history
This PR adds preliminary support for the `LLVMFlang` compiler. At the moment,
there are still issues with testing, etc.
  • Loading branch information
mathomp4 committed May 7, 2024
1 parent 748107a commit 71ec8c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions cmake/LLVMFlang.cmake
Original file line number Diff line number Diff line change
@@ -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}")

0 comments on commit 71ec8c7

Please sign in to comment.