source:
PSPA/madxPSPA/cmake/compilers/setupPathScale.cmake
@
430
Last change on this file since 430 was 430, checked in by , 11 years ago | |
---|---|
File size: 383 bytes |
Line | |
---|---|
1 | |
2 | |
3 | ### |
4 | # |
5 | # This file sets up specific flags for the PathScale compiler |
6 | # |
7 | ### |
8 | |
9 | if(CMAKE_Fortran_COMPILER_ID MATCHES "PathScale") |
10 | set(CMAKE_Fortran_FLAGS_RELEASE " -funroll-loops -O3 ") |
11 | if ( MADX_STATIC ) |
12 | set(CMAKE_Fortran_LINK_FLAGS "${CMAKE_Fortran_LINK_FLAGS} -static ") |
13 | endif() |
14 | else() |
15 | message("You used setupPathScale.cmake but it had no effect") |
16 | endif() |
17 |
Note: See TracBrowser
for help on using the repository browser.