summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/CrayPrgEnv-C.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CrayPrgEnv/ParseImplicitIncludes: simplify for new implict include parserChuck Cranor2019-01-291-5/+1
| | | | | | | | | | | Remove now redundant implicit parser code from CrayPrgEnv.cmake, as this function is now supported in the general cmake code (e.g. Modules/CMakeParseImplicit{Include,Link}Info.cmake). This simplifies __CrayPrgEnv_setup() to take only one arg (${lang}) and allows us to remove a level of inclusion as CrayPrgEnv-${lang}.cmake is now compiler independent we do not need the CrayPrgEnv-${compiler}-${lang} files any more.
* Cray: Refactor the Cray platform files to use compiler wrapper checksChuck Atkins2015-12-091-0/+11
This is an extensive refactoring of the Cray compiler wrapper usage. Using the new compiler wrapper checks, the CrayPrgEnv info files have been moved from Platform/ to Compiler/. The adjusted naming convention allows the compiler-wrapper information files to be loaded for both the CrayLinuxEnvironment platform when cross-compiling and the Linux platform if building natively on the Cray compute nodes. It also creates a separation of common arguments for compiler id and language information used to perform the appropriate introspection of implicit arguments and libraries used by the compiler wrappers based on the loaded module environment.