Commit Graph

42899 Commits

Author SHA1 Message Date
Zack Galbreath
ba7e44eb7a ctest_submit: Add option BUILD_ID
Fixes: #18968
2019-03-22 09:37:08 -04:00
Brad King
89abbdd8c8 Merge topic 'ghs-linux'
2c43fb5be3 FindThreads: Fix pthread library check in GHS Multi Generator
0404efe786 GHS: Add support for GHS Multi Generator in Linux
2060a1445c Tests: Fix file name case in GHS object library test
ddad70c8a4 Tests: Run GHS tests in a separate ctest process
f7dca1fc97 GHS: Fix include-what-you-use and clang-tidy diagnostics

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3006
2019-03-22 09:22:44 -04:00
Brad King
4e47e9967a Merge topic 'cmTarget_non_copyable'
204c5ccb43 cmMakefile: Use std::unordered_map::emplace to add cmTargets to the list

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3134
2019-03-22 09:19:55 -04:00
Brad King
fb05b6a8f5 Merge topic 'cmTarget_micro_fixes'
965da8d787 cmTarget: Acquire data only when needed
03d17a35b5 cmTarget: Use helper function to append to lists

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3135
2019-03-22 09:19:09 -04:00
Brad King
6d8f0627a3 Merge topic 'update-kwsys'
d79fa9dd55 Merge branch 'upstream-KWSys' into update-kwsys
868dc1a121 KWSys 2019-03-21 (fd41ac36)
775c8b21da update-third-party: update from upstream

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3136
2019-03-22 09:16:56 -04:00
Brad King
3744bd0a0a Merge topic 'xcodescheme2'
413b71485a Xcode: Create Xcode schemes per target

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3098
2019-03-22 09:16:02 -04:00
Kitware Robot
94be5f9344 CMake Nightly Date Stamp 2019-03-22 00:01:09 -04:00
Sebastian Holtermann
204c5ccb43 cmMakefile: Use std::unordered_map::emplace to add cmTargets to the list
When adding cmTargets to a cmMakefile, use std::unordered_map::emplace instead
of std::unordered_map::insert.
2019-03-21 20:43:48 +01:00
Naren Manimohan
2c43fb5be3 FindThreads: Fix pthread library check in GHS Multi Generator 2019-03-21 12:57:44 -04:00
Naren Manimohan
0404efe786 GHS: Add support for GHS Multi Generator in Linux 2019-03-21 12:57:40 -04:00
Naren Manimohan
2060a1445c Tests: Fix file name case in GHS object library test 2019-03-21 12:57:38 -04:00
Brad King
ddad70c8a4 Tests: Run GHS tests in a separate ctest process
These tests use a different compiler than the rest of the test suite.
Isolate the rest of our tests from their environment.
2019-03-21 12:57:38 -04:00
Harry Mallon
413b71485a Xcode: Create Xcode schemes per target 2019-03-21 16:50:41 +00:00
Brad King
d79fa9dd55 Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2019-03-21 (fd41ac36)
2019-03-21 12:38:42 -04:00
KWSys Upstream
868dc1a121 KWSys 2019-03-21 (fd41ac36)
Code extracted from:

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

at commit fd41ac36adc088e1b175185ef8a8347df569a836 (master).

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

Brad King (1):
      db462838 SystemTools: Revert "Use copyfile(3) to clone files on macOS"

Gregor Jasny (1):
      7c71e879 SystemTools: Use copyfile(3) to clone files on macOS

Sebastian Holtermann (10):
      6fed6364 SystemTools: Add SystemToolsStatic class skeleton
      a8195f76 SystemTools: Move SystemTools::Cyg2Win32Map to SystemToolsStatic
      7c273c83 SystemTools: Move SystemTools::EnvMap to SystemToolsStatic
      706919be SystemTools: Move SystemTools::PathCaseMap to SystemToolsStatic
      67eb2674 SystemTools: Move SystemTools::TranslationMap to SystemToolsStatic
      9e32eecd SystemTools: Move private type definitions to SystemToolsStatic
      d9db985f SystemTools: Move private GetEnvImpl method to SystemToolsStatic
      a1271fea SystemTools: Move private FindName method to SystemToolsStatic
      7512ab8c SystemTools: Move private FindIsFullPath method to SystemToolsStatic class
      8b58389c SystemTools: Move private ReplaceString method to SystemToolsStatic class
2019-03-21 12:38:41 -04:00
Brad King
775c8b21da update-third-party: update from upstream
Update to `update-common.sh` from commit 958a2cd1b9 in

    https://gitlab.kitware.com/utils/git-import-third-party
2019-03-21 12:37:25 -04:00
Sebastian Holtermann
965da8d787 cmTarget: Acquire data only when needed 2019-03-21 16:58:29 +01:00
Sebastian Holtermann
03d17a35b5 cmTarget: Use helper function to append to lists 2019-03-21 16:57:27 +01:00
Kyle Edwards
fac093802a Merge topic 'tar-improve-error-handling'
ea9a2c1759 cmake: tar: Parse 'cmake -E tar' arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3081
2019-03-21 10:50:38 -04:00
Brad King
e09c606eb4 Merge topic 'dont_do_compiler_feature_checks_for_version_with_no_features'
85415afbdc CompileFeatures: Don't try_compile for language levels with no features
616282a5ce CMake: Provide language level compile features lists

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3128
2019-03-21 10:03:10 -04:00
Brad King
1e9cb46c8a Merge topic 'timeout'
0295b153f4 Help: describe the command pipeline of execute_process more explicitly
33efdfc0b5 Help: improve source formatting
cd524c1c33 Help: describe what happens if command execute_process reaches timeout.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3129
2019-03-21 09:47:20 -04:00
Brad King
58b83f24c7 Merge topic 'fix-range-tests'
35e09c7aef testRange: Make sure tests can actually fail

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3124
2019-03-21 09:46:36 -04:00
Brad King
b54517bf75 Merge topic 'Find-prefix-paths'
eea9eda834 remove some platform specific search paths from Find modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3122
2019-03-21 09:45:50 -04:00
Brad King
732b7b9dd0 Merge topic 'ctest-devirtualize-handlers'
5a72dbd40c cmCTest: Remove dead code
a5eeb0310d cmCTest: Cleanup typedefs
71a3391b5f cmCTest: Use default member initialization
b172a81d55 cmCTest: Use concrete accessor functions for TestingHandlers
46090c2337 cmCTest: Store TestingHandlers by value
da5ee509b2 cmCTest: Move all data members to private implementation struct
670d27da64 cmCTest: Remove friend declarations
9406844616 cmCTest: De-inline all member functions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
Merge-request: !3114
2019-03-21 09:44:13 -04:00
Brad King
b581cd0174 Merge branch 'release-3.14' 2019-03-21 09:41:52 -04:00
Brad King
12cf0a8e48 Merge topic 'armcc-compiler-id'
8f8d056051 ARMCC: Fix identification of ARM compiler when it defines GNU macros

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3127
2019-03-21 09:40:09 -04:00
Brad King
c63bd7e06c Merge topic 'doc-cmp0082'
ce730e9c22 Help: Clarify policy CMP0082 documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3133
2019-03-21 09:39:07 -04:00
Brad King
fbc0f355ea Merge topic 'eclipse-interface-lib'
d3dcf8d774 Eclipse: Fix extra generator to not crash on interface libraries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3125
2019-03-21 09:37:59 -04:00
Brad King
b743058003 Merge branch 'doc-cmp0082' into release-3.14
Merge-request: !3133
2019-03-21 08:56:39 -04:00
Brad King
ce730e9c22 Help: Clarify policy CMP0082 documentation
The policy documentation added by commit fc8955e889 (add_subdirectory:
Run subdirectory install rules in correct order, 2018-10-02,
v3.14.0-rc1~565^2~1) left out our usual sentence about the policy
providing compatibility.
2019-03-21 08:55:28 -04:00
Kitware Robot
be9a133cbf CMake Nightly Date Stamp 2019-03-21 00:01:07 -04:00
Joachim Wuttke (l)
0295b153f4 Help: describe the command pipeline of execute_process more explicitly
When reading the doc page on execute_process, I was mislead by the
words "in parallel". They convinced at once that the processes
are run independently of each other, so that I did not even bother
to read further. The rewording, and not least the insertion of a
paragraph break, should prevent such oversight.
2019-03-20 18:25:52 +01:00
Joachim Wuttke (l)
33efdfc0b5 Help: improve source formatting 2019-03-20 18:19:10 +01:00
Joachim Wuttke (l)
cd524c1c33 Help: describe what happens if command execute_process reaches timeout. 2019-03-20 18:17:29 +01:00
Robert Maynard
85415afbdc CompileFeatures: Don't try_compile for language levels with no features
Previously Compilers always had to run a try_compile to determine what
language level each feature mapped to. Now we can skip the try_compile
when a language level has no features.
2019-03-20 09:10:10 -07:00
Robert Maynard
616282a5ce CMake: Provide language level compile features lists
Now CMake stores what compile features are associated with each
language level and exposes them as global properties.
2019-03-20 09:10:07 -07:00
Regina Pfeifer
5a72dbd40c cmCTest: Remove dead code 2019-03-20 11:41:29 -04:00
Regina Pfeifer
a5eeb0310d cmCTest: Cleanup typedefs 2019-03-20 11:41:29 -04:00
Regina Pfeifer
71a3391b5f cmCTest: Use default member initialization 2019-03-20 11:41:29 -04:00
Regina Pfeifer
b172a81d55 cmCTest: Use concrete accessor functions for TestingHandlers 2019-03-20 11:39:14 -04:00
Brad King
f2d3e233cd Merge topic 'ExternalProject-optimize-vcs'
8f723e48b8 ExternalProject: Optimize Mercurial commands
bca0c16223 ExternalProject: Optimize git commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3116
2019-03-20 11:33:01 -04:00
Brad King
23a84ac990 Merge topic 'dedup-path-normalization'
b52d9d6960 cmSystemTools: Drop unused CollapseCombinedPath method
a13a5c948e Replace use of CollapseCombinedPath with CollapseFullPath

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sebastian Holtermann <sebholt@xwmw.org>
Merge-request: !3117
2019-03-20 11:32:12 -04:00
Brad King
8cc16c9420 Merge branch 'armcc-compiler-id' into release-3.14
Merge-request: !3127
2019-03-20 11:22:02 -04:00
Brad King
8f8d056051 ARMCC: Fix identification of ARM compiler when it defines GNU macros
According to ARMCC 5.06 documentation:

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472m/chr1359125007083.html

the compiler may define `__GNUC__` in addition to `__ARMCC_VERSION`.
Re-order our preprocessor checks to consider the ARM-specific macro
first so that the ARM compiler is not mistaken for a GNU compiler.

Fixes: #19065
2019-03-20 11:20:39 -04:00
Brad King
9603e418e5 Merge branch 'eclipse-interface-lib' into release-3.14
Merge-request: !3125
2019-03-20 10:54:24 -04:00
Brad King
d3dcf8d774 Eclipse: Fix extra generator to not crash on interface libraries
Do not process interface libraries in ways that expect build information
to be present internally.  This filtering was left out of the extra
generator accidentally when interface libraries were introduced, but it
worked by accident until commit 76ad2ecb50 (Order SYSTEM include
directories after non-system directories, 2018-04-13, v3.12.0-rc1~179^2)
added a code path that was not tolerated.

Fixes: #18363
2019-03-20 10:52:31 -04:00
Brad King
f7dca1fc97 GHS: Fix include-what-you-use and clang-tidy diagnostics
We will soon build GHS sources on Linux where we run these lints.
2019-03-20 09:48:29 -04:00
Bartosz Kosiorek
ea9a2c1759 cmake: tar: Parse 'cmake -E tar' arguments 2019-03-20 09:28:49 -04:00
Regina Pfeifer
35e09c7aef testRange: Make sure tests can actually fail 2019-03-20 06:16:58 +01:00
Kitware Robot
51f3a76ab2 CMake Nightly Date Stamp 2019-03-20 00:01:06 -04:00