summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | FindOpenMP: Refine list of flags to tryChristian Pfeiffer2017-05-081-5/+10
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'f2c-int-fix'Brad King2017-05-084-6/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93f119ed FortranCInterface: Add support for PGI on Windows 2cfea104 FortranCInt: Pass CONFIG flags to try_compile Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !802
| * | | | | | FortranCInterface: Add support for PGI on WindowsChristian Pfeiffer2017-05-063-3/+9
| | | | | | |
| * | | | | | FortranCInt: Pass CONFIG flags to try_compileChristian Pfeiffer2017-05-062-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change ensures that Intel Fortran's /libs: in CMAKE_Fortran_FLAGS and Visual C++'s /MT or /MD in the CMAKE_C_FLAGS_RELEASE do not conflict with each other.
* | | | | | | Merge topic 'nag-fortran-version'Brad King2017-05-082-1/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d47190ba NAG: Detect compiler version of NAG Fortran d52a4256 NAG: Extend compiler tool selection with NAG Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: Tom <tom.clune@nasa.gov> Merge-request: !809
| * | | | | | | NAG: Detect compiler version of NAG FortranTom Clune2017-05-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #16817
| * | | | | | | NAG: Extend compiler tool selection with NAG FortranTom Clune2017-05-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `nag` and `nagfor`.
* | | | | | | | Merge topic 'pgi-rdynamic-fix'Brad King2017-05-081-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb31229e Linux-PGI: Prevent -rdynamic ending up in flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !808
| * | | | | | | | Linux-PGI: Prevent -rdynamic ending up in flagsChristian Pfeiffer2017-05-051-0/+1
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that PGI on Linux keeps its CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS empty, especially of -rdynamic. In CMakeFortranInformation a lot of flags will be copied from their C equivalents if they're not defined. By using a combination of GCC and PGFortran, this will lead to -rdynamic ending up in the PGI flags and none of the PGI compilers understand that flag, crashing with a fatal error.
* | | | | | | | Merge topic 'pgi-fix-linux'Brad King2017-05-081-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d59e3509 Do not assume GCC libs are linked by all compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !800
| * | | | | | | | Do not assume GCC libs are linked by all compilersChristian Pfeiffer2017-05-051-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all compilers link libgcc and libgcc_s causing trouble when linking C++ code with instance PGI Fortran and C compilers.
* | | | | | | | Merge topic 'FindOpenCL-AMDAPPSDKROOT'Brad King2017-05-081-0/+1
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b259fe84 FindOpenCL: Add missing PATHS keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !807
| * | | | | | | FindOpenCL: Add missing PATHS keywordKirill Mavreshko2017-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit b888104e44 (FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL library, 2017-05-03) accidentally left out the `PATHS` keyword. Without it properly installed AMD APP SDK (OpenCL) cannot be detected. Tested on Ubuntu 16.04.
* | | | | | | | Merge topic 'add-more-sunpro-c-flags'Brad King2017-05-051-4/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1a09a7d9 SunPro: Add more flags for C language standards Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !803
| * | | | | | | | SunPro: Add more flags for C language standardsChuck Atkins2017-05-041-4/+11
| | | | | | | | |
* | | | | | | | | Merge topic 'findjava-openjdk9'Brad King2017-05-051-0/+3
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5a3ec4d FindJava: Add support for OpenJDK early access builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !797
| * | | | | | | | FindJava: Add support for OpenJDK early access buildsBryan Donlan2017-05-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenJDK 9 early access builds use a version string of "9-ea", and locally built installations use "9-internal", neither of which is currently accepted by the FindJava macro. Map those versions to "1.9". If the final released version is "9.0" the version interpretation could be changed to match at that time.
* | | | | | | | | Merge topic 'sunpro-5.14'Brad King2017-05-042-0/+18
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f15f905b Features: Record standards and features for SunPro 5.14 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !795
| * | | | | | | | Features: Record standards and features for SunPro 5.14Brad King2017-05-032-0/+18
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Oracle Studio 12.5 adds support for C 11 and associated standard flags. It also adds a few more C++ 11 features.
* | | | | | | | Merge topic 'FindOpenCL-AMDAPPSDKROOT'Brad King2017-05-041-1/+5
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| / / / / / / | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | b888104e FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !792
| * | | | | | FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL libraryJeremy Tellaa2017-05-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This path was only looked up for windows. The AMD SDK also exists for Linux, and we may want to use the OpenCL library for there.
* | | | | | | Merge topic 'ipo-xcode'Brad King2017-05-031-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e75568b Xcode: Support IPO (LTO) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !785
| * | | | | | | Xcode: Support IPO (LTO)Ruslan Baratov2017-05-021-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'port-language-default-to-common-macro'Brad King2017-05-0316-174/+69
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9089876 AppleClang: Use common compiler macros for language standard default 174c02e1 SunPro: Use common compiler macros for language standard default 08fa2ba8 Clang: Use common compiler macros for language standard default 0198502f Intel: Use common compiler macros for language standard default d1aa2b3f GNU: Use common compiler macros for language standard default 87b9d6d9 XL: Use common compiler macros for language standard default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !787
| * | | | | | | | AppleClang: Use common compiler macros for language standard defaultChuck Atkins2017-05-022-23/+2
| | | | | | | | |
| * | | | | | | | SunPro: Use common compiler macros for language standard defaultChuck Atkins2017-05-022-11/+16
| | | | | | | | |
| * | | | | | | | Clang: Use common compiler macros for language standard defaultChuck Atkins2017-05-023-26/+4
| | | | | | | | |
| * | | | | | | | Intel: Use common compiler macros for language standard defaultChuck Atkins2017-05-023-29/+6
| | | | | | | | |
| * | | | | | | | GNU: Use common compiler macros for language standard defaultChuck Atkins2017-05-023-26/+4
| | | | | | | | |
| * | | | | | | | XL: Use common compiler macros for language standard defaultChuck Atkins2017-05-023-59/+37
| | |/ / / / / / | |/| | | | | |
* | | | | | | | PGI: Fix typo in logic for C standard flagsChuck Atkins2017-05-021-1/+1
|/ / / / / / /
* | | | | | | Merge topic 'add-language-standards-to-more-compilers'Brad King2017-05-027-0/+146
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9b97cb55 PGI: Add language standards for PGI daae564d Cray: Add language standards for the Cray compiler 25e83ce5 CompileFeatures: Let STD compile options be a list 1de70845 Compilers: Add common macros to be used by various compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !784
| * | | | | | | PGI: Add language standards for PGIChuck Atkins2017-05-013-0/+34
| | | | | | | |
| * | | | | | | Cray: Add language standards for the Cray compilerChuck Atkins2017-05-013-0/+50
| | | | | | | |
| * | | | | | | Compilers: Add common macros to be used by various compilersChuck Atkins2017-05-011-0/+62
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With numerous compilers now supporting multiple language standards in CMake, some common design patterns have begun to emerge. This is intended to be a collection of macros implementing many of those common design patterns that can be factored out and leveraged by many compilers. Currently this only contains the code to set the default language standard of not preset. More functionality will be added in the future as appropriate.
* | | | | | | Merge topic 'sunpro-c++11-link'Brad King2017-05-021-0/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e17b1791 Features: On SunPro link with language standard compiler flag d037be12 cmLocalGenerator: Add a hook for compiler flags used at link time b115bc49 Features: Refactor <LANG>_STANDARD update Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !783
| * | | | | | Features: On SunPro link with language standard compiler flagBrad King2017-05-011-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When C++ feature requirements or `CXX_STANDARD` cause us to compile on SunPro with the `-std=c++11` option, link with the option too. This is needed to make the compiler use the matching standard library.
* | | | | | Merge topic 'FindMatlab-2017a'Brad King2017-05-021-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | 6f04dffb FindMatlab: Add support for Matlab 2017a Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !780
| * | | | FindMatlab: Add support for Matlab 2017aRaffi Enficiaud2017-05-011-0/+1
| | | | |
* | | | | Merge topic 'ipo-clang'Brad King2017-05-012-6/+73
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d057b27 Clang IPO (LTO) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !717
| * | | | | Clang IPO (LTO) supportRuslan Baratov2017-04-282-6/+73
| | | | | |
* | | | | | XL: Add C and C++ language level flagsChuck Atkins2017-04-282-2/+99
| | | | | |
* | | | | | XL: Add additional regex for bogus compile optionsChuck Atkins2017-04-281-0/+1
|/ / / / /
* | | | | Merge topic 'fix-qhalt-for-xl'Brad King2017-04-2814-4/+38
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f320907b XL: Fix the use of the -qhalt flag for varying OSs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !771
| * | | | | XL: Fix the use of the -qhalt flag for varying OSsChuck Atkins2017-04-2714-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The valid settings to pass to the IBM XL compiler for the -qhalt flag vary widely by language and platform. Based on existing documentation, the following table shows which error levels are valid to pass to -qhalt= since -qhalt=e is not always available. OS | xlc | xlC | xlf | ---------|-------|------------------ AIX | iwes | iw s | ilwesu | BlueGene | iwes | iwes | ilwesu | OS X | iwesu | iwesu | ilwesu | Linux | w | w | ilwesu |
* | | | | | Merge topic 'FindBoost-compile-features'Brad King2017-04-281-0/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c2ae38b Boost Fiber actually require at least C++11. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !749
| * | | | | | Boost Fiber actually require at least C++11.Alex Turbov2017-04-231-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some boost libraries may require particular set of compler features. The very first one was `boost::fiber` introduced in Boost 1.62. One can check required compiler features of it in `${Boost_ROOT}/libs/fiber/build/Jamfile.v2`.
* | | | | | | Merge topic 'separgs-native'Brad King2017-04-284-17/+4
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28d83837 separgs: Use NATIVE_COMMAND where appropriate 2a207aac separgs: Add a NATIVE_COMMAND mode 81841426 separgs: Migrate tests to RunCMake tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !753
| * | | | | | separgs: Use NATIVE_COMMAND where appropriateChristian Pfeiffer2017-04-264-17/+4
| | | | | | |
* | | | | | | Merge topic 'cpackifw-framework-version'Brad King2017-04-271-13/+50
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 993ebdc7 CPackIFW: Framework version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !761