Commit Graph

42520 Commits

Author SHA1 Message Date
Brad King
6f5cf2d2c6 XL: Revert "Recognize compilers identified by __ibmxl__"
Revert commit eb1a9be4b6 (XL: Recognize compilers identified by
__ibmxl__, 2018-03-05, v3.11.0-rc3~4^2).  It is no longer needed because
we now use `__ibmxl__` to identify with compiler id `XLClang`.
2019-02-25 08:24:28 -05:00
Chuck Atkins
90c6156aa8 XLClang: Add a new compiler ID for the clang-based XL compiler 2019-02-25 08:24:28 -05:00
Brad King
e0231fe439 XL: Look for CreateExportList only on AIX
This tool comes with XL on AIX but not on Linux.  Move the
infrastructure to find and use it to the AIX-specific modules.
2019-02-25 08:24:27 -05:00
Chuck Atkins
13b1d2f9f8 XL: Record C compiler version that started using C99 by default 2019-02-25 08:24:27 -05:00
Brad King
f3b4a12c61 Merge topic 'return-explicit-conversion'
c7f3663b10 cmServerConnection: make return conversions explicit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3000
2019-02-25 08:14:21 -05:00
Brad King
40768761b6 Merge topic 'drop-MIPSpro'
214fcefa52 Remove now-unused code once used for MIPSpro on IRIX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3004
2019-02-25 08:13:44 -05:00
Brad King
a6cb73b97f Merge topic 'deprecate-policy-old'
02587d80cf Add deprecation warnings for policies CMP0066 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3003
2019-02-25 08:12:54 -05:00
Brad King
a4d99e4dec Merge topic 'cmrange-improvements'
b8031308f3 cmRange: Add unit tests
a8d51ef8b7 cmRange: Add functions filter and transform
da4773e8b8 cmRange: Add functions all_of, any_of, none_of
17a367e77f cmRange: Stylistic cleanup
9eb0e73f46 cmRange: Move to dedicated header file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Artur Ryt <artur.ryt@gmail.com>
Merge-request: !2972
2019-02-25 08:03:01 -05:00
Brad King
94970cd042 Merge topic 'error-consolidate'
9dd255548d cmSystemTools::Error: consolidate parameters into single std::string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2995
2019-02-25 08:02:07 -05:00
Brad King
ac419931ee Merge topic 'swift-partials'
001446126e Ninja: add final placeholders to merge Swift partials

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2998
2019-02-25 08:00:59 -05:00
Brad King
0476d16589 Merge topic 'systools-stdstring3'
4e315e9449 cmSystemTools: More functions accept `std::string` params

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2999
2019-02-25 07:59:59 -05:00
Brad King
ae309d757d Merge branch 'release-3.14' 2019-02-25 07:58:22 -05:00
Brad King
b583e43c26 Merge topic 'releasenotes_arch_independent'
47caf146c5 Help: Add release note for new ARCH_INDEPENDENT option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3012
2019-02-25 07:57:23 -05:00
Brad King
224a5c9b07 Merge topic 'docs_try_commands'
4d55c1f541 Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
861dbef4e7 Help: Consistency in try_compile() docs for target type
df8aa3c8ad Help: try_compile() readability and grammar improvements
7975edeac5 Help: User-provided variable names for try_* commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3013
2019-02-25 07:56:25 -05:00
Brad King
2cc6eedde4 Merge topic 'check_lang_source_runs_output'
92d9ec9bfb CheckLangSourceRuns: Capture run output to log files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3011
2019-02-25 07:55:20 -05:00
Brad King
af000abbba Merge branch 'releasenotes_arch_independent' into release-3.14
Merge-request: !3012
2019-02-25 07:54:25 -05:00
Brad King
0e8b0ae636 Merge branch 'docs_try_commands' into release-3.14
Merge-request: !3013
2019-02-25 07:54:04 -05:00
Brad King
b3b081ccec Merge branch 'check_lang_source_runs_output' into release-3.14
Merge-request: !3011
2019-02-25 07:53:49 -05:00
Brad King
c068236bb9 Merge topic 'link-options'
98a2d42301 PIE link options: No warning when policy CMP0083 is not set.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2996
2019-02-25 07:51:01 -05:00
Brad King
90323ff051 Merge topic 'remove-exclude-from-all-warning'
d3b765d451 EXCLUDE_FROM_ALL: Don't warn if installing target excluded from all

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3002
2019-02-25 07:49:53 -05:00
Brad King
283b8c2ae6 Merge topic 'fix-implicit-includes-fortran'
3dc81a48ff Fortran: Do not suppress explicit use of implicit include directories

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.co>
Merge-request: !2994
2019-02-25 07:48:35 -05:00
Kitware Robot
3fff09096a CMake Nightly Date Stamp 2019-02-25 00:01:05 -05:00
Craig Scott
47caf146c5 Help: Add release note for new ARCH_INDEPENDENT option 2019-02-24 20:05:49 +11:00
Craig Scott
4d55c1f541 Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLES 2019-02-24 17:23:58 +11:00
Craig Scott
861dbef4e7 Help: Consistency in try_compile() docs for target type 2019-02-24 17:22:53 +11:00
Craig Scott
df8aa3c8ad Help: try_compile() readability and grammar improvements 2019-02-24 17:19:45 +11:00
Craig Scott
7975edeac5 Help: User-provided variable names for try_* commands
All uppercase is typically used for command keywords. Non-keyword
arguments should generally be shown as `<something>` according
to the CMake documentation guide.
2019-02-24 17:16:07 +11:00
Kitware Robot
d930e8c043 CMake Nightly Date Stamp 2019-02-24 00:01:05 -05:00
Craig Scott
92d9ec9bfb CheckLangSourceRuns: Capture run output to log files
Fixes: #18973
2019-02-23 21:16:03 +11:00
Kitware Robot
e4ad054e49 CMake Nightly Date Stamp 2019-02-23 00:01:05 -05:00
Brad King
6ebe40c6ae Merge branch 'remove-exclude-from-all-warning' into release-3.14
Merge-request: !3002
2019-02-22 11:19:09 -05:00
Ben Boeckel
c7f3663b10 cmServerConnection: make return conversions explicit
GCC 9 warns that `std::move` is not necessary, but in fact it is
necessary to call the proper conversion constructor.  Make that call
explicit.
2019-02-22 11:02:13 -05:00
Kitware Robot
63928f0868 CMake Nightly Date Stamp 2019-02-22 00:01:05 -05:00
Craig Scott
d3b765d451 EXCLUDE_FROM_ALL: Don't warn if installing target excluded from all
The original warning pre-dates support for install components.
There are now legitimate scenarios where an install(TARGETS)
command may list a target that is excluded from all, e.g.
hierarchical projects that will never install the component such a
target belongs to.

Fixes: #18938
2019-02-22 07:55:56 +11:00
Brad King
214fcefa52 Remove now-unused code once used for MIPSpro on IRIX
In commit beb991110d (Remove now-unused code once used on IRIX,
2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support.
Also remove remnants of MIPSpro compiler support.
2019-02-21 11:12:51 -05:00
Brad King
02587d80cf Add deprecation warnings for policies CMP0066 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.7 and below to encourage projects to port away
from setting policies to OLD.
2019-02-21 11:02:46 -05:00
Regina Pfeifer
b8031308f3 cmRange: Add unit tests 2019-02-21 08:24:26 -05:00
Regina Pfeifer
a8d51ef8b7 cmRange: Add functions filter and transform 2019-02-21 08:24:26 -05:00
Regina Pfeifer
da4773e8b8 cmRange: Add functions all_of, any_of, none_of 2019-02-21 08:24:26 -05:00
Regina Pfeifer
17a367e77f cmRange: Stylistic cleanup 2019-02-21 08:24:25 -05:00
Regina Pfeifer
9eb0e73f46 cmRange: Move to dedicated header file 2019-02-21 08:24:25 -05:00
Kitware Robot
eb08e68b77 CMake Nightly Date Stamp 2019-02-21 00:01:07 -05:00
Craig Scott
0ffdcba178 Merge topic 'readme-build-out-of-source'
943a50da55 README: Suggest bootstrapping out-of-source for development

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Bartosz <gang65@poczta.onet.pl>
Merge-request: !2993
2019-02-20 16:39:22 -05:00
Vitaly Stakhovsky
4e315e9449 cmSystemTools: More functions accept std::string params 2019-02-20 14:53:39 -05:00
Brad King
c925166764 Merge branch 'link-options' into release-3.14
Merge-request: !2996
2019-02-20 14:32:37 -05:00
Marc Chevrier
98a2d42301 PIE link options: No warning when policy CMP0083 is not set.
Fixes: #18955
2019-02-20 14:30:57 -05:00
Saleem Abdulrasool
001446126e Ninja: add final placeholders to merge Swift partials
This adds the placeholders that are needed to merge the swift partial
modules.  It permits generating the rules necessary to actually merge
the partial modules emitted for a partial compilation.
2019-02-20 09:25:34 -08:00
Vitaly Stakhovsky
9dd255548d cmSystemTools::Error: consolidate parameters into single std::string 2019-02-20 11:18:11 -05:00
Brad King
b76b83efd3 Merge topic 'cray-cleanup'
d59159afdb Cray: clean up CrayPrgEnv and CrayLinuxEnvironment modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2945
2019-02-20 09:05:57 -05:00
Brad King
e0fbb7bf08 Merge topic 'list-prepend-and-pop-subcommands'
a84e509844 list: add sub-commands PREPEND, POP_BACK, POP_FRONT

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2980
2019-02-20 09:04:58 -05:00