Skip to content

Commit

Permalink
Add intel llvm to compilers (#338)
Browse files Browse the repository at this point in the history
* Increment version

* Add intel llvm to compilers

---------

Co-authored-by: dzalkind <65573423+dzalkind@users.noreply.github.com>
Co-authored-by: dzalkind <dzalkind@nrel.gov>
  • Loading branch information
3 people authored May 3, 2024
1 parent 0516123 commit c760f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosco/controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ endif()
message(STATUS "CMAKE_Fortran_COMPILER_ID = ${CMAKE_Fortran_COMPILER_ID}")
if(APPLE OR UNIX)
# Enable .dll export
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
if (CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -DIMPLICIT_DLLEXPORT -r8 -double-size 64 -cpp -no-wrap-margin")
else()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -DIMPLICIT_DLLEXPORT -ffree-line-length-0 -fdefault-real-8 -fdefault-double-8 -cpp")
Expand Down

0 comments on commit c760f88

Please sign in to comment.