Skip to content

Commit

Permalink
240501.222431.HKT add comments to CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed May 1, 2024
1 parent 6ff2644 commit bc9ede5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (PRIMA_HEAP_ARRAYS)
elseif (CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang") # flang-new
# See https://github.com/llvm/llvm-project/issues/88344
set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-stack-arrays -mmlir -fdynamic-heap-array")
elseif (CMAKE_Fortran_COMPILER_ID MATCHES "Flang") # Classic Flang
elseif (CMAKE_Fortran_COMPILER_ID MATCHES "Flang") # Classic Flang and AOCC Flang
set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Mrecursive")
elseif (CMAKE_Fortran_COMPILER_ID MATCHES "ARMClang") # ARM Flang
set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-stack-arrays -Mrecursive")
Expand Down

0 comments on commit bc9ede5

Please sign in to comment.