35841 Commits

Author SHA1 Message Date
Chuck Atkins
08fa2ba8d0 Clang: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
Chuck Atkins
0198502ff4 Intel: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
Chuck Atkins
d1aa2b3f60 GNU: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
Chuck Atkins
87b9d6d93f XL: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
Brad King
ccd7d98b38 Merge branch 'release' 2017-05-02 08:40:02 -04:00
Brad King
a9e48968bb Merge topic 'add-language-standards-to-more-compilers'
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
2017-05-02 08:24:06 -04:00
Brad King
4804c7f30f Merge topic 'doc-no-depend'
c273906f Utilities/Sphinx: Build documentation independently by default

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !786
2017-05-02 08:22:47 -04:00
Brad King
8fba1f4a03 Merge topic 'excludeFixtures'
c1b2b7c0 Add ctest options for limiting which tests fixtures add

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !778
2017-05-02 08:22:07 -04:00
Brad King
96a8b68d5a Merge topic 'sunpro-c++11-link'
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
2017-05-02 08:20:38 -04:00
Brad King
737d05b8f8 Merge topic 'update-kwsys'
750d58bf Merge branch 'upstream-KWSys' into update-kwsys
2dec4695 KWSys 2017-05-01 (3ec3252c)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !781
2017-05-02 08:19:39 -04:00
Brad King
96ad8fe608 Merge topic 'FindMatlab-2017a'
6f04dffb FindMatlab: Add support for Matlab 2017a

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !780
2017-05-02 08:18:52 -04:00
Kitware Robot
7a8068fccd CMake Nightly Date Stamp 2017-05-02 00:01:06 -04:00
Chuck Atkins
9b97cb5562 PGI: Add language standards for PGI 2017-05-01 15:15:30 -04:00
Chuck Atkins
daae564d87 Cray: Add language standards for the Cray compiler 2017-05-01 15:15:30 -04:00
Chuck Atkins
25e83ce580 CompileFeatures: Let STD compile options be a list 2017-05-01 15:15:29 -04:00
Chuck Atkins
1de7084501 Compilers: Add common macros to be used by various compilers
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.
2017-05-01 15:15:23 -04:00
Brad King
c273906f48 Utilities/Sphinx: Build documentation independently by default
Previously we made the `documentation` target depend on the executable
targets.  There is no real reason to do this other than serializing the
documentation build output in terminals.  Move this dependency behind an
undocumented option so that it is not on by default.
2017-05-01 13:18:25 -04:00
Craig Scott
c1b2b7c03c Add ctest options for limiting which tests fixtures add
The new options allow the user to restrict the setup and cleanup tests
automatically added for fixtures.
2017-05-02 01:54:13 +10:00
Brad King
e17b179184 Features: On SunPro link with language standard compiler flag
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.
2017-05-01 10:33:06 -04:00
Brad King
d037be122e cmLocalGenerator: Add a hook for compiler flags used at link time
When using a compiler to drive linking we add compiler flags from
`CMAKE_<LANG>_FLAGS` in case they affect the way the compiler invokes
the linker, but we don't add flags from other places that are meant only
for compiling sources.  Rather than calling the `AddLanguageFlags`
method (which is used to add flags for compiling sources) directly, add
an intermediate method that is used when adding the flags for linking.
This will give us a way to add language-specific compiler flags needed
when driving the linker in the same place on the command line as other
compiler flags go.
2017-05-01 10:33:05 -04:00
Brad King
b115bc49ff Features: Refactor <LANG>_STANDARD update
In order to support generator expressions in target COMPILE_FEATURES
we apply them at generate time.  Move this step to the beginning of
generation instead of doing it on demand while collecting flags.
This avoids repeating the process unnecessarily, and will then allow
`cmLocalGenerator::AddCompilerRequirementFlag` to be used any time
during generation.
2017-05-01 10:33:05 -04:00
Brad King
750d58bf61 Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2017-05-01 (3ec3252c)
2017-05-01 10:25:35 -04:00
KWSys Upstream
2dec4695b7 KWSys 2017-05-01 (3ec3252c)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 3ec3252c4829f929fff246d0d8757ed71f9850f3 (master).

Upstream Shortlog
-----------------

Chuck Atkins (1):
      51e95ba7 XL: Fix compatibility with newer clang-based XL on Linux

Daniel Pfeifer (1):
      2564822b Disable clang-tidy
2017-05-01 10:25:35 -04:00
Brad King
9a88708893 Merge branch 'FindMatlab-2017a' into release 2017-05-01 09:26:38 -04:00
Raffi Enficiaud
6f04dffb7d FindMatlab: Add support for Matlab 2017a 2017-05-01 09:26:32 -04:00
Brad King
e80e8eb609 Merge topic 'yacclex-clang-tidy'
7f4eaf23 LexerParser: disable clang-tidy checks
9bad0dfc LexerParser: move to custom directory
8927e913 CMakeLists: remove option to regenerate yacc/lex

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !775
2017-05-01 09:18:06 -04:00
Brad King
79f4a772dc Merge topic 'qt-clang-tidy'
b13bc865 Disable clang-tidy checks on files generated by Qt

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !777
2017-05-01 09:16:39 -04:00
Brad King
a2a13e8b48 Merge topic 'ipo-clang'
7d057b27 Clang IPO (LTO) support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !717
2017-05-01 09:15:46 -04:00
Brad King
6b7ec8ea1c Merge topic 'xl-enhancements'
6555286c XL: Add C and C++ language level flags
54a4d28d XL: Add additional regex for bogus compile options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !776
2017-05-01 09:15:07 -04:00
Kitware Robot
033d4f37a7 CMake Nightly Date Stamp 2017-05-01 00:01:03 -04:00
Kitware Robot
7382523f85 CMake Nightly Date Stamp 2017-04-30 00:01:03 -04:00
Kitware Robot
e3858dd50b CMake Nightly Date Stamp 2017-04-29 00:01:11 -04:00
Daniel Pfeifer
7f4eaf2348 LexerParser: disable clang-tidy checks 2017-04-28 23:10:39 +02:00
Daniel Pfeifer
9bad0dfcce LexerParser: move to custom directory 2017-04-28 23:10:39 +02:00
Daniel Pfeifer
8927e913f7 CMakeLists: remove option to regenerate yacc/lex 2017-04-28 20:42:30 +02:00
Chuck Atkins
6555286c55 XL: Add C and C++ language level flags 2017-04-28 11:48:32 -04:00
Chuck Atkins
54a4d28dcf XL: Add additional regex for bogus compile options 2017-04-28 11:08:41 -04:00
Ruslan Baratov
7d057b2738 Clang IPO (LTO) support 2017-04-28 17:13:56 +03:00
Brad King
d828d0eb08 Merge topic 'refactor-ipo-flags'
47990f9f Inline and remove AddFeatureFlags method
a8667467 Add IPO compiler flags more consistently in generators

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !772
2017-04-28 09:55:44 -04:00
Brad King
2911d47016 Merge topic 'fix-qhalt-for-xl'
f320907b XL: Fix the use of the -qhalt flag for varying OSs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !771
2017-04-28 09:53:50 -04:00
Brad King
b61e9f8382 Merge topic 'FindBoost-compile-features'
4c2ae38b Boost Fiber actually require at least C++11.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !749
2017-04-28 09:52:41 -04:00
Brad King
12512bdb51 Merge topic 'separgs-native'
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
2017-04-28 09:52:07 -04:00
Brad King
34a083a195 Merge topic 'bindexplib-consts'
afb21342 bindexplib: fix constants symbols export

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !763
2017-04-28 09:12:22 -04:00
Daniel Pfeifer
b13bc8659f Disable clang-tidy checks on files generated by Qt 2017-04-28 09:45:21 +02:00
Kitware Robot
02d1186882 CMake Nightly Date Stamp 2017-04-28 00:01:04 -04:00
Brad King
47990f9fef Inline and remove AddFeatureFlags method
The method implementation is now only one call of another method, so
inline it at call sites and remove it.
2017-04-27 16:21:59 -04:00
Brad King
a8667467ea Add IPO compiler flags more consistently in generators
Move addition of IPO flags into `cmLocalGenerator::AddLanguageFlags`
because all call sites of that need the IPO flags, but not all were
following the call with `AppendFeatureOptions`.
2017-04-27 16:15:07 -04:00
Chuck Atkins
f320907b3d XL: Fix the use of the -qhalt flag for varying OSs
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  |
2017-04-27 13:29:28 -04:00
Brad King
f0ae821681 Merge topic 'cpackifw-framework-version'
993ebdc7 CPackIFW: Framework version

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !761
2017-04-27 09:05:03 -04:00
Brad King
6887c1174f Merge topic 'elf-runpath-def'
370a6b1b cmELF: Remove now-redundant check for DT_RUNPATH's existence
7146a604 cmELF: Define DT_RUNPATH if it isn't already defined

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !764
2017-04-27 09:04:10 -04:00