diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-01-24 21:57:31 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-01-24 21:57:31 (GMT) |
commit | 1e411d15c6ca9310d75d98c984163b9f435d50e4 (patch) | |
tree | 293eddb8a3e4a415271dab1101bf0256de999bd1 /config/toolchain | |
parent | 00f26bf973c234b806477bfe15378f276117bec4 (diff) | |
download | hdf5-1e411d15c6ca9310d75d98c984163b9f435d50e4.zip hdf5-1e411d15c6ca9310d75d98c984163b9f435d50e4.tar.gz hdf5-1e411d15c6ca9310d75d98c984163b9f435d50e4.tar.bz2 |
CMake updates
Diffstat (limited to 'config/toolchain')
-rw-r--r-- | config/toolchain/GCC.cmake | 3 | ||||
-rw-r--r-- | config/toolchain/PGI.cmake | 11 | ||||
-rw-r--r-- | config/toolchain/intel.cmake | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/config/toolchain/GCC.cmake b/config/toolchain/GCC.cmake index ddb1641..c41d0ca 100644 --- a/config/toolchain/GCC.cmake +++ b/config/toolchain/GCC.cmake @@ -1,5 +1,6 @@ -# Uncomment the following to use cross-compiling +# Uncomment the following line and the correct system name to use cross-compiling #set(CMAKE_SYSTEM_NAME Linux) + set(CMAKE_COMPILER_VENDOR "GCC") set(CMAKE_C_COMPILER cc) diff --git a/config/toolchain/PGI.cmake b/config/toolchain/PGI.cmake new file mode 100644 index 0000000..ec58cbb --- /dev/null +++ b/config/toolchain/PGI.cmake @@ -0,0 +1,11 @@ +# Uncomment the following to use cross-compiling +#set(CMAKE_SYSTEM_NAME Linux) + +set(CMAKE_COMPILER_VENDOR "PGI") + +set(CMAKE_C_COMPILER pgcc) +set(CMAKE_CXX_COMPILER pgc++) +set(CMAKE_Fortran_COMPILER pgf90) + +# the following is used if cross-compiling +set(CMAKE_CROSSCOMPILING_EMULATOR "") diff --git a/config/toolchain/intel.cmake b/config/toolchain/intel.cmake index f1a5734..97f6a64 100644 --- a/config/toolchain/intel.cmake +++ b/config/toolchain/intel.cmake @@ -1,5 +1,6 @@ # Uncomment the following to use cross-compiling #set(CMAKE_SYSTEM_NAME Linux) + set(CMAKE_COMPILER_VENDOR "intel") set(CMAKE_C_COMPILER icc) |