Tin Huynh
4de28ba4e6
Tests: Update tests for NVHPC compiler
...
Treat it just like PGI.
2021-01-27 09:53:02 -05:00
Tin Huynh
90502d76b7
FindOpenMP: Add support for NVHPC compiler
2021-01-27 09:53:02 -05:00
Tin Huynh
76dee5831b
FindOpenACC: Add support for NVHPC compiler
2021-01-27 09:53:02 -05:00
Brad King
ff7bab83c2
GenerateExportHeader: Add support for NVHPC compiler
...
Treat it just like PGI.
2021-01-27 09:53:02 -05:00
Tin Huynh
83ea49818f
NVHPC: Add support for NVIDIA HPC SDK compilers based on PGI
...
Identify the compilers as `NVHPC` to distinguish it from the older PGI
compilers from which they evolved, and from other `NVIDIA` compilers.
Fixes : #20887
2021-01-27 09:53:02 -05:00
Brad King
9b96fbc358
Merge topic 'clang-tidy-fixes'
...
ef935b17ab clang-tidy: fix `readability-use-anyofallof` warnings
9ac8dbbb94 clang-tidy: fix `readability-simplify-boolean-expr` warnings
ca505718f4 clang-tidy: fix `readability-redundant-string-init` warnings
b3b6ede6a1 clang-tidy: fix `readability-redundant-access-specifiers` warnings
cdfc4e3195 clang-tidy: fix `readability-qualified-auto` warnings
808b17b120 clang-tidy: fix `readability-make-member-function-const` warnings
4470eb5179 clang-tidy: fix `performance-trivially-destructible` warnings
4f396e6528 clang-tidy: fix `performance-no-automatic-move` warnings
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5731
2021-01-27 09:52:18 -05:00
Brad King
a0e44fc16b
Merge topic 'rel-package-names'
...
2186f8988f Utilities/Release: Rename Windows packages to 'windows-$arch'
dc9340dbc4 Utilities/Release: Rename Linux packages to 'linux-$arch'
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5738
2021-01-27 09:07:09 -05:00
Brad King
6153bd3a0c
Merge topic 'update-bison-parser'
...
7c6192472b LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser
6f64300a01 LexerParser: Clean up includes following include-what-you-use
699d50e376 LexerParser: Regenerate parser files with GNU Bison 3.7.4
c95442b9b1 LexerParser: Manual removing code from Bison is no longer needed
5a8a61a798 LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5730
2021-01-27 09:05:43 -05:00
Brad King
f39fb0b90d
Merge topic 'outdir-target-genex'
...
64c3857780 OUTPUT_DIRECTORY: Support tgt genex in output artifact vars
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5690
2021-01-27 09:04:29 -05:00
Brad King
977811a8ff
Merge topic 'doc-system-processor'
...
5a6379f1fd Help: Clarify meaning of CMAKE_SYSTEM_PROCESSOR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5744
2021-01-27 09:03:37 -05:00
Brad King
7ab6d1e831
Merge topic 'cpack-compression-threads'
...
bdf30bdad8 CPack: add CPACK_THREADS variable to control compression threads
bcdb5b52a0 libarchive: Fix lzma_stream_encoder_mt detection
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5716
2021-01-27 09:02:35 -05:00
Brad King
eff0f75bd2
Merge topic 'ExternalProject-vcs-tests'
...
195809914f Tests: Generate simpler ExternalProject sample Git repositories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !5741
2021-01-27 09:00:50 -05:00
Brad King
801ea881b3
Merge topic 'doc-if'
...
e63e83d2b8 Help: Document that if(EXISTS) does not expand ~
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5742
2021-01-27 08:59:16 -05:00
Ben Boeckel
ef935b17ab
clang-tidy: fix readability-use-anyofallof warnings
2021-01-27 08:54:18 -05:00
Ben Boeckel
9ac8dbbb94
clang-tidy: fix readability-simplify-boolean-expr warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
ca505718f4
clang-tidy: fix readability-redundant-string-init warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
b3b6ede6a1
clang-tidy: fix readability-redundant-access-specifiers warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
cdfc4e3195
clang-tidy: fix readability-qualified-auto warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
808b17b120
clang-tidy: fix readability-make-member-function-const warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
4470eb5179
clang-tidy: fix performance-trivially-destructible warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
4f396e6528
clang-tidy: fix performance-no-automatic-move warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
3a0d40bf8c
clang-tidy: fix bugprone-suspicious-include warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
a0610cf9e9
clang-tidy: fix bugprone-signed-char-misuse warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
c826461d9c
clang-tidy: fix bugprone-reserved-identifier warnings
2021-01-27 08:45:44 -05:00
Kitware Robot
675d81be6c
CMake Nightly Date Stamp
2021-01-27 00:01:18 -05:00
Brad King
7c6192472b
LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser
2021-01-26 14:33:52 -05:00
Asit Dhal
64c3857780
OUTPUT_DIRECTORY: Support tgt genex in output artifact vars
...
Following variables now support target dependent generator expressions.
- CMAKE_RUNTIME_OUTPUT_DIRECTORY
- CMAKE_LIBRARY_OUTPUT_DIRECTORY
- CMAKE_ARCHIVE_OUTPUT_DIRECTORY
Fixes : #18055
2021-01-26 12:13:15 -05:00
Brad King
5a6379f1fd
Help: Clarify meaning of CMAKE_SYSTEM_PROCESSOR
...
On Windows the value may not match the compiler's target architecture.
Update the documentation to state this explicitly.
Issue: #15170
2021-01-26 11:04:22 -05:00
Rodolfo Lima
bdf30bdad8
CPack: add CPACK_THREADS variable to control compression threads
...
This allows setting how many threads the compressor will use.
Currently only implemented for XZ when using system's lzma library.
Fixes : #21715
2021-01-26 16:23:37 +01:00
Rodolfo Lima
bcdb5b52a0
libarchive: Fix lzma_stream_encoder_mt detection
...
The test for lzma_stream_encoder_mt was always failing
because the lzma libraries weren't being used by linker.
2021-01-26 16:23:37 +01:00
Michael Hirsch, Ph.D
e63e83d2b8
Help: Document that if(EXISTS) does not expand ~
...
Fixes : #21729
2021-01-26 09:50:01 -05:00
Brad King
2186f8988f
Utilities/Release: Rename Windows packages to 'windows-$arch'
2021-01-26 09:11:14 -05:00
Brad King
1380e611e1
Merge topic 'nmc-cache-targets'
...
ccbedb80e4 Ninja Multi-Config: Restore rebuild_cache and edit_cache targets
6fdbe9201f cmNinjaUtilityTargetGenerator: Remove leftover development comment
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5740
2021-01-26 09:09:18 -05:00
Brad King
bd29de1a91
Merge topic 'cm-optional-warning'
...
b7d4ee23d8 cm::optional: Fix `-Wunused-parameter` warnings in comparison operators
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !5739
2021-01-26 09:08:39 -05:00
Brad King
9792c7df4e
Merge topic 'irsl-msvc-arm64'
...
9c5cf0c1af IRSL: Add support for non-x86/x64 architectures such as arm64
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5733
2021-01-26 09:03:13 -05:00
Brad King
5d31e7a25d
Merge topic 'csharp-vs-v142-flags'
...
ee78391c09 CSharp: Add 'warnaserror:...' to v142 flag table for VS
e38997d85a CSharp: Add 'debug:portable' to v142 flag table for VS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5735
2021-01-26 09:02:25 -05:00
Brad King
cad804e2c4
Merge topic 'update-kwsys'
...
1bd1f96f3f Merge branch 'upstream-KWSys' into update-kwsys
4faaa079e3 KWSys 2021-01-25 (10e36d47)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Martin Storsjö <martin@martin.st >
Merge-request: !5736
2021-01-26 09:01:28 -05:00
Brad King
a5124f6bad
Merge topic 'reproducible-unity-id'
...
ee9da76972 Unity: Generate reproducible unity IDs for anonymous namespaces
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5727
2021-01-26 09:00:28 -05:00
Kitware Robot
6b50138ae6
CMake Nightly Date Stamp
2021-01-26 00:01:10 -05:00
Brad King
195809914f
Tests: Generate simpler ExternalProject sample Git repositories
...
The `gitrepo.tgz` repository contains a project that enables both
C and CXX languages and builds source code. This take a long time
to repeat over and over, particularly on Visual Studio and Xcode
generators. Add and use a script to generate a new test repository
that has a much simpler project.
Issue: #20733
2021-01-25 17:31:21 -05:00
Brad King
ccbedb80e4
Ninja Multi-Config: Restore rebuild_cache and edit_cache targets
...
Since commit dcf9f4d2f7 (Ninja Multi-Config: Add support for
cross-config custom commands, 2020-12-09) we were not generating these
targets. Restore them and add a test.
Fixes : #21722
2021-01-25 15:22:53 -05:00
Brad King
6fdbe9201f
cmNinjaUtilityTargetGenerator: Remove leftover development comment
2021-01-25 15:11:48 -05:00
Brad King
b7d4ee23d8
cm::optional: Fix -Wunused-parameter warnings in comparison operators
2021-01-25 14:44:09 -05:00
Brad King
dc9340dbc4
Utilities/Release: Rename Linux packages to 'linux-$arch'
2021-01-25 13:53:40 -05:00
Francois Keith
ee78391c09
CSharp: Add 'warnaserror:...' to v142 flag table for VS
...
This allows listing the warnings that must be flagged as errors.
For example:
target_compile_options(proj PRIVATE "/warnaserror:1998,4014")
2021-01-25 12:32:30 -05:00
Francois Keith
e38997d85a
CSharp: Add 'debug:portable' to v142 flag table for VS
2021-01-25 12:32:21 -05:00
pastdue
9c5cf0c1af
IRSL: Add support for non-x86/x64 architectures such as arm64
...
Implement `CMAKE_MSVC_ARCH` determination for more architectures.
Fixes : #16734
2021-01-25 12:15:43 -05:00
Christoph Grüninger
6f64300a01
LexerParser: Clean up includes following include-what-you-use
2021-01-25 12:06:28 -05:00
Christoph Grüninger
699d50e376
LexerParser: Regenerate parser files with GNU Bison 3.7.4
...
Adjust expected test output.
2021-01-25 12:06:17 -05:00
Christoph Grüninger
c95442b9b1
LexerParser: Manual removing code from Bison is no longer needed
...
This was needed to avoid warnings while compiling the sources generated
by older versions of GNU Bison, but is not with GNU Bison 3.7.4.
2021-01-25 12:05:36 -05:00