Reverted asd branch merge.

This commit is contained in:
Eric Winter
2023-07-24 09:17:33 -04:00
parent 907d811f85
commit e837f12996
2 changed files with 4 additions and 33 deletions

View File

@@ -57,11 +57,10 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
elseif( (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 17.0) AND (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 18.0) )
message(WARNING "Compiler has incomplete F2008 features, Git hash/compiler information won't be saved to H5 files")
add_compile_definitions(__INTEL_COMPILER_OLD)
elseif( (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 20.0) )
#message(WARNING "Setting default optimization to O2 to avoid certain Intel compiler bugs")
message(WARNING "You only live once so let's see what happens")
#set(CMAKE_DEFOPT "-O2")
endif()
elseif( (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 20.0) )
message(WARNING "Setting default optimization to O2 to avoid certain Intel compiler bugs")
set(CMAKE_DEFOPT "-O2")
endif()
elseif(CMAKE_Fortran_COMPILER_ID MATCHES GNU)
if(CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8.0)
message("Fortran compiler too old! What, were you gonna use punch cards?")