summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Windows-GNU: Support duplicate object names when linking shared librariesBrad King2021-05-031-1/+1
| | | | | | | | | Extend the change from commit 39d0ade07e (Windows-GNU: Support duplicate object names in large archives (#14874), 2014-04-14, v3.1.0-rc1~629^2~1) to apply to the temporary archive we create for linking shared libraries with MinGW tools. Issue: #21988
* Merge branch 'release-3.20'Brad King2021-05-030-0/+0
|\
| * Merge topic 'ninja-multi-long-command-line-config' into release-3.20Brad King2021-05-039-30/+66
| |\ | | | | | | | | | | | | | | | | | | ad08f93ee4 Ninja Multi-Config: Split long command lines by config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6067
* | \ Merge topic 'ninja-multi-long-command-line-config'Brad King2021-05-039-30/+66
|\ \ \ | | |/ | |/| | | | | | | | | | | | | ad08f93ee4 Ninja Multi-Config: Split long command lines by config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6067
| * | Ninja Multi-Config: Split long command lines by configKyle Edwards2021-04-309-30/+66
| |/ | | | | | | Fixes: #22123
* | Merge topic 'foreach-loop-variable'Brad King2021-05-0311-12/+182
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 46896d98bb foreach(): loop variables are only available in the loop scope Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6044
| * | foreach(): loop variables are only available in the loop scopeMarc Chevrier2021-04-2811-12/+182
| | | | | | | | | | | | Fixes: #20553
* | | Merge topic 'update-kwsys'Brad King2021-05-031-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11cadc3ef7 Merge branch 'upstream-KWSys' into update-kwsys 18513fa118 KWSys 2021-04-29 (5655d533) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6063
| * \ \ Merge branch 'upstream-KWSys' into update-kwsysBrad King2021-04-291-0/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2021-04-29 (5655d533)
| | * | | KWSys 2021-04-29 (5655d533)KWSys Upstream2021-04-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 5655d533a9a4fb59b87d364c896339f1d454d420 (master). Upstream Shortlog ----------------- Brad King (1): 6e59fd94 Process: Suppress NVHPC warning in FD_ZERO
* | | | | CMake Nightly Date StampKitware Robot2021-05-031-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2021-05-021-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2021-05-011-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2021-04-301-1/+1
| | | | |
* | | | | Merge branch 'release-3.20'Brad King2021-04-290-0/+0
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| |
| * | | CMake 3.20.2v3.20.2Brad King2021-04-291-1/+1
| | | |
* | | | Merge topic 'remove_bad_install_dir_schema_docs'Brad King2021-04-291-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 306db0fdb8 cmake-presets: Remove incorrect documentation for `installDir` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6051
| * | | | cmake-presets: Remove incorrect documentation for `installDir`Robert Maynard2021-04-271-1/+1
| | | | |
* | | | | Merge topic 'find-msys'Brad King2021-04-299-0/+55
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 990b370401 FindMsys: Add a module to find MSYS and some bundled packages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6057
| * | | | | FindMsys: Add a module to find MSYS and some bundled packagesOrgad Shaneh2021-04-289-0/+55
| | | | | |
* | | | | | Merge topic 'nvhpc-warnings'Brad King2021-04-2915-504/+576
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f881b4e4cc cmCPackDebGenerator: Remove unused local variable 5ad8862318 Source: Convince NVHPC that RAII variables are used 1898f9dd82 cmFileCommand: Remove unused local variable 6a003c6f35 cmSystemTools: Avoid unreachable code warning on NVHPC 16275c7f82 LexerParser: Suppress NVHPC warnings in generated code cefda16d35 LexerParser: Regenerate parsers with bison 3.7.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6049
| * | | | | | cmCPackDebGenerator: Remove unused local variableBrad King2021-04-281-1/+0
| | | | | | |
| * | | | | | Source: Convince NVHPC that RAII variables are usedBrad King2021-04-282-0/+15
| | | | | | |
| * | | | | | cmFileCommand: Remove unused local variableBrad King2021-04-281-3/+0
| | | | | | |
| * | | | | | cmSystemTools: Avoid unreachable code warning on NVHPCBrad King2021-04-281-1/+1
| | | | | | |
| * | | | | | LexerParser: Suppress NVHPC warnings in generated codeBrad King2021-04-283-52/+65
| | | | | | |
| * | | | | | LexerParser: Regenerate parsers with bison 3.7.5Brad King2021-04-288-471/+519
| | | | | | |
* | | | | | | Merge topic 'test-ifort-windows'Brad King2021-04-291-0/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82470e24ae Tests: Fix FortranOnly test with Intel compiler on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6058
| * | | | | | | Tests: Fix FortranOnly test with Intel compiler on WindowsBrad King2021-04-281-0/+5
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | The test regularly fails updating the `vc*.pdb` compiler-generated PDB file. Add the `/Z7` flag as the compiler suggests for this.
* | | | | | | Merge topic 'test-GEH-vs6'Brad King2021-04-291-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d59afbd92e Tests: Fix RunCMake.GenerateExportHeader use of size_t Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6059
| * | | | | | | Tests: Fix RunCMake.GenerateExportHeader use of size_tBrad King2021-04-281-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit ddcd1469e8 (MSYS: Add support for running under MSYS runtime environment, 2021-04-01) the test uses `std::size_t` without including `<cstddef>`. Also, the type does not exist under `std::` on VS 6. Use just `size_t` instead.
* | | | | | | Merge topic 'test_driver_tap13_support'Brad King2021-04-292-5/+74
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f6ff4b5db create_test_sourcelist: add test driver option to run all tests a3aa5596a1 Tests: Isolate TestDriver build directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3661
| * | | | | | | create_test_sourcelist: add test driver option to run all testsSergey Bronnikov2021-04-282-1/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New option `-A` passed to test binary allows to run all testcases at once and prints a report in a standard format - TestAnythingProtocol v.13 [1]. Execution of test whose names will be passed after an option will be skipped. Sample of output: TAP version 13 1..6 ok 1 TestCryptoHash # 0.030000 ok 2 TestCryptoRand # 0.008000 not ok 3 TestCryptoCipher # 0.005000 ok 4 TestCryptoProtectData # 0.000000 cbPlainText: 21 cbCipherText: 32 PlainText: MySecretPassword123! (cbPlainText = 21, cbCipherText = 32) Decrypted CipherText: MySecretPassword123! ok 5 TestCryptoProtectMemory # 0.014000 ok 6 TestCryptoCertEnumCertificatesInStore # 0.000000 1. https://testanything.org/ Fixes: #19367
| * | | | | | | Tests: Isolate TestDriver build directoriesBrad King2021-04-281-4/+6
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'vs-VCTargetsPath-Platform'Brad King2021-04-291-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3db61cf985 VS: Fix VCTargetsPath detection when cross-compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6053
| * | | | | | | VS: Fix VCTargetsPath detection when cross-compilingBrad King2021-04-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell `MSBuild` to use the same `Platform` that we generate into the `VCTargetsPath` detection project. Fixes: #22068
* | | | | | | | Merge branch 'release-3.20'Brad King2021-04-290-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| * | | | | | | Merge topic 'intel-2021' into release-3.20Brad King2021-04-293-17/+54
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c479c7c40 IntelLLVM: Add special case for ifx 2021.1 version extraction b7193ab18f Intel: Update Classic compiler version detection for 2021 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6052
* | \ \ \ \ \ \ \ Merge topic 'intel-2021'Brad King2021-04-293-17/+54
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c479c7c40 IntelLLVM: Add special case for ifx 2021.1 version extraction b7193ab18f Intel: Update Classic compiler version detection for 2021 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6052
| * | | | | | | | IntelLLVM: Add special case for ifx 2021.1 version extractionBrad King2021-04-282-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ifx beta versions forgot to define `__INTEL_LLVM_COMPILER`, and instead define `__INTEL_COMPILER == 201900`. Add a special case. Issue: #22120
| * | | | | | | | Intel: Update Classic compiler version detection for 2021Brad King2021-04-283-12/+38
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of the `__INTEL_COMPILER` macro changed convention starting in version 2021. Fixes: #22120
* | | | | | | | CMake Nightly Date StampKitware Robot2021-04-291-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | Merge topic 'ctest_test_measurements_docs'Brad King2021-04-285-2/+119
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b60789a758 Help: Document CTest custom test measurements 63b5ddcce2 Tests: Add cases for CTest extra measurements from tests 52eac4573d Help: Fix link to cdash.org from CTest manual Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !6029
| * | | | | | | Help: Document CTest custom test measurementsZack Galbreath2021-04-272-0/+82
| | | | | | | |
| * | | | | | | Tests: Add cases for CTest extra measurements from testsZack Galbreath2021-04-273-1/+36
| | | | | | | |
| * | | | | | | Help: Fix link to cdash.org from CTest manualZack Galbreath2021-04-271-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'cpack-nsis-uninstall-name'Brad King2021-04-281-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79f48da5c2 CPack/NSIS: Fix CPACK_NSIS_UNINSTALL_NAME when not Uninstall.exe Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6050
| * | | | | | | CPack/NSIS: Fix CPACK_NSIS_UNINSTALL_NAME when not Uninstall.exeMarkus Israelsson2021-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a previous installation was detected by the NSIS script the uninstaller was not correctly run unless it was still named `Uninstall.exe`. This meant that using `CPACK_NSIS_UNINSTALL_NAME` was simply broken. Fixes: #22103
* | | | | | | | Merge topic 'ARMClang-cpu-arch-flags'Brad King2021-04-286-27/+99
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4941b7e66 ARMClang: Do not automatically add cpu/arch compile or link options 0078db3888 ARMClang: Separate cpu/arch flags from preceding flags Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Merge-request: !6035
| * | | | | | | ARMClang: Do not automatically add cpu/arch compile or link optionsLingkai Dong2021-04-276-27/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compile options `--march=<arch>` and `--mcpu=<cpu>` and the link option `--cpu=<cpu>` are automatically added by CMake based on `CMAKE_SYSTEM_PROCESSOR` or `CMAKE_SYSTEM_ARCH`. But this is not sufficient, because armclang also supports enabling or disabling features using `+<feature>`: -mcpu=<name>[+[no]<feature>+...] For example: -mcpu=cortex-a57+nocrypto+nofp+nosimd+crc (Reference: https://developer.arm.com/documentation/dui0774/k/Compiler-Command-line-Options/-mcpu?lang=en) The problem is, even if a project adds a flag with features it needs, CMake still adds flags, resulting in code that is compiled with wrong CPU features and unable to run. Add policy `CMP0123` to not automatically add compile or link options, and let projects set them instead. Co-Author: Brad King <brad.king@kitware.com> Fixes: #21173