File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ if (WIN32 )
2+ tfel_enable_cxx_compiler_flag (VISIBILITY_FLAGS "EHsc" )
3+ endif (WIN32 )
4+
15tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Weverything" )
6+ tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-c++98-compat-pedantic" )
27tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-padded" )
38tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-documentation" )
49tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-documentation-unknown-command" )
510tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-exit-time-destructors" )
611tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-global-constructors" )
712tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-missing-braces" )
13+ tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wno-unsafe-buffer-usage" )
814tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wrange-loop-analysis" )
915tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Wmove" )
1016tfel_enable_cxx_compiler_flag (COMPILER_WARNINGS "Winfinite-recursion" )
@@ -57,7 +63,9 @@ endif(enable-glibcxx-debug)
5763
5864if (HAVE_FORTRAN)
5965 # we associate clang with the gnu fortran compiler
60- if ("${CMAKE_Fortran_COMPILER_ID} " STREQUAL "IntelLLVM" )
66+ if ("${CMAKE_Fortran_COMPILER_ID} " STREQUAL "LLVMFlang" )
67+ set (LLVM_FORTRAN_COMPILER ON )
68+ elseif ("${CMAKE_Fortran_COMPILER_ID} " STREQUAL "IntelLLVM" )
6169 set (INTEL_FORTRAN_COMPILER ON )
6270 else ()
6371 include (cmake/modules/gnu-fortran-compiler.cmake )
You can’t perform that action at this time.
0 commit comments