diff --git a/CMakeLists.txt b/CMakeLists.txt index 218feaa..0851776 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.12) project (YAFYAML - VERSION 1.0.7 + VERSION 1.1.0 LANGUAGES Fortran) # Most users of this software do not (should not?) have permissions to @@ -21,11 +21,11 @@ endif() set(CMAKE_POSITION_INDEPENDENT_CODE ON) if (NOT TARGET GFTL::gftl) - find_package (GFTL REQUIRED VERSION 1.7.2) + find_package (GFTL REQUIRED VERSION 1.10.0) endif () if (NOT TARGET GFTL_SHARED::gftl-shared) - find_package (GFTL_SHARED REQUIRED VERSION 1.4.1) + find_package (GFTL_SHARED REQUIRED VERSION 1.6.0) endif () find_package (PFUNIT 4.2 QUIET) diff --git a/ChangeLog.md b/ChangeLog.md index 056b58a..9c8a7b7 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,6 +5,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.1.0] - 2023-04-17 + +### Added + +- Added `IntelLLVM.cmake` file as a copy of `Intel.cmake` to support the LLVM Intel compiler frontends + +### Changed + +- Updated required gFTL version to v1.10.0 +- Updated required gFTL-shared version to v1.6.0 + ## [1.0.7] - 2023-02-07 ### Fixed diff --git a/cmake/IntelLLVM.cmake b/cmake/IntelLLVM.cmake new file mode 100644 index 0000000..327fbdf --- /dev/null +++ b/cmake/IntelLLVM.cmake @@ -0,0 +1,23 @@ +# Compiler specific flags for Intel Fortran compiler + +if(WIN32) + set(no_optimize "-Od") + set(check_all "-check:all") +else() + set(no_optimize "-O0") + set(check_all "-check all") +endif() + + +set(disable_warning_for_long_names "-diag-disable 5462") +set(traceback "-traceback") +set(cpp "-cpp") + + +set(CMAKE_Fortran_FLAGS_DEBUG "${no_optimize}") +set(CMAKE_Fortran_FLAGS_RELEASE "-O3") +set(CMAKE_Fortran_FLAGS "-g ${cpp} ${traceback} ${check_all} ${disable_warning_for_long_names} -save-temps") +#set(CMAKE_Fortran_FLAGS "-g ${cpp} ${traceback} ${check_all} ${disable_warning_for_long_names}") + +add_definitions(-D_INTEL) +add_definitions(-D__ifort_18)