summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests: don't fail tests on broken E2K Java RVMmakise-homura2022-06-281-37/+50
| | | | | | | | Java RVM on E2K architecture is known to be broken prior to RVM version 3.5.2 (they crash with SIGILL in some circumstances). That disallows tests like Java.Javah, Java.Jar, and Java.NativeHeaders to pass. Now, if such RVM is detected, these test are not being run.
* Tests: check for shlibdeps symbols/shlibs before testing itmakise-homura2022-06-281-1/+5
| | | | | | | | OS Elbrus 6.x has totally broken dpkg-shlibdeps; 7.1 has a working one, but still no symbols/shdibdeps files, so generated dependencies are also empty. Since this commit, we're checking if these files exist, and if not, we skip the CPackComponentsDEB-components-depend2 test.
* Tests: enable Java tests if javac is a recurse symlinkmakise-homura2022-06-281-1/+2
| | | | | | | | | | There are distros (OS Elbrus 6.x, 7.x, Ubuntu 21.x) where javac is a recurse symlink, like /usr/bin/javac -> /etc/alternatives/javac -> /usr/lib/jvm/.../bin/javac. On these distros, Java tests were not run, because Tests/CMakeLists.txt was not able to handle this case correctly. Now an additional stage of resolving symlinks is added, and these distros have Java tests running.
* Tests: don't use broken makensismakise-homura2022-06-281-2/+5
| | | | | | Some distros (OS Elbrus less than 7.0) have unrunnable makensis. While performing tests, this condition is now checked, and NSIS CPack generator test is not performed.
* Source: Suppress some warnings on LCC 1.23.xmakise-homura2022-06-281-0/+4
| | | | | | | | | | | | | LCC 1.23.x (confirmed for 1.23.10, 1.23.19, maybe others) issues -Wunused-function warning on the following functions: Source/cmFileAPICodemodel.cxx:126, ValueEq() Source/cmFileAPICodemodel.cxx:130, ValueLess() Source/cmGeneratorExpressionNode.cxx:630, back() This fix makes it silent for compatibility. This is not a subject for newer LCC versions, like 1.25 and 1.26. On LCC 1.21 CMake is not buildable, and 1.22 and 1.24 are not tested, as they are internal development versions. Thus, the fix is only applied if LCC 1.23 is detected.
* curl: make libcmcurl buildable with old LibreSSLmakise-homura2022-06-281-7/+17
| | | | | | | | LibreSSL older than 2.6.0 is not supported correctly in upstream curl, and as a consequence, in libcmcurl. Such LibreSSL versions can be used in old distros, like OS Elbrus 4.x and 5.x, so until this fix, CMake wasn't buildable there either.
* Merge topic 'posix_c'Brad King2022-06-284-7/+18
|\ | | | | | | | | | | | | | | | | | | e1adddc74e RunCMake/CXXModules/NoCXX20: Force older standard 3f7ebf9354 RunCMake/CTestTimeout: Include sched.h for pid_t 8eb8d16c19 cmSystemTools: Fix unsetenv() fallback 324ca5b489 Tests/CTestTestFdSetSize: Support plain POSIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7408
| * RunCMake/CXXModules/NoCXX20: Force older standardRaul Tambre2022-06-281-3/+4
| | | | | | | | | | | | | | | | | | | | Compile features ensure a compiler is aware of a standard version, but the one actually used may be newer. The test relies on the standard chosen being pre-C++20, so force C++17 explicitly. This was exposed by a nightly bot that has a compiler defaulting to C++23. The test would've broken anyway in a few years once GCC or Clang upped their default.
| * RunCMake/CTestTimeout: Include sched.h for pid_tRaul Tambre2022-06-271-0/+1
| | | | | | | | | | ISO C modes in Clang don't enable modern POSIX standards. Include sched.h to define pid_t in such modes.
| * cmSystemTools: Fix unsetenv() fallbackRaul Tambre2022-06-261-2/+1
| | | | | | | | | | | | | | The fallback path boils down to putenv(). Calling that with a "=" sets the variable to an empty string. Use cmSystemTools::UnPutEnv() instead, which correctly handles unsetting variables on a variety of systems.
| * Tests/CTestTestFdSetSize: Support plain POSIXRaul Tambre2022-06-261-2/+12
| | | | | | | | | | | | When compiling in ISO C mode functions from newer POSIX standards such as usleep() and nanosleep() aren't available. Fortunately select() allows timing out with microsecond precision.
* | Merge topic 'glew'Brad King2022-06-281-2/+1
|\ \ | | | | | | | | | | | | | | | | | | 6c8789af75 FindGLEW: select_library_configuration might be used before it is defined Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7412
| * | FindGLEW: select_library_configuration might be used before it is definedMarkus Mützel2022-06-261-2/+1
| |/ | | | | | | Fixes a regression from a31b27078595fce911b2469937ac12934555644a
* | Merge branch 'release-3.24'Brad King2022-06-280-0/+0
|\ \
| * \ Merge topic 'FindPython-multiple-queries' into release-3.24Brad King2022-06-284-2/+26
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | ece3bedbf2 FindPython: fix error on multiple queries with different COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7410
* | \ \ Merge topic 'FindPython-multiple-queries'Brad King2022-06-284-2/+26
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | ece3bedbf2 FindPython: fix error on multiple queries with different COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7410
| * | | FindPython: fix error on multiple queries with different COMPONENTSMarc Chevrier2022-06-274-2/+26
| | | | | | | | | | | | | | | | | | | | Ensure that multiple queries with different COMPONENTS specified in different sub-directories are fully supported.
* | | | Merge branch 'release-3.24'Brad King2022-06-280-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'depguide-fetchcontent-versioning' into release-3.24Brad King2022-06-281-0/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d8d8ac772 Help: Mark features new to 3.24 in Using Dependencies Guide Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7411
* | \ \ \ Merge topic 'depguide-fetchcontent-versioning'Brad King2022-06-281-0/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 8d8d8ac772 Help: Mark features new to 3.24 in Using Dependencies Guide Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7411
| * | | | Help: Mark features new to 3.24 in Using Dependencies GuideFeRD (Frank Dana)2022-06-271-0/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | The sections on FetchContent's FIND_PACKAGE_ARGS and on Dependency Providers only apply to CMake 3.24+, so add versionadded markers at the start of both sections.
* | | | Merge branch 'release-3.24'Brad King2022-06-280-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'revert-FindHDF5-library' into release-3.24Brad King2022-06-281-4/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5bc72574e FindHDF5: Revert "Add explicit library location instead of guessed ..." Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7416
* | \ \ \ Merge topic 'revert-FindHDF5-library'Brad King2022-06-281-4/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | b5bc72574e FindHDF5: Revert "Add explicit library location instead of guessed ..." Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7416
| * | | | FindHDF5: Revert "Add explicit library location instead of guessed ..."Brad King2022-06-271-4/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit e4e309f165 (FindHDF5: Add explicit library location instead of guessed library name., 2022-03-22, v3.24.0-rc1~375^2). The old behavior was not a guessed library name, but the name of an imported target that can contain per-config locations and encode usage requirements. Although find modules do not normally return their imported target names in the `_LIBRARIES` variable, FindHDF5 has done so since commit 5201a3065b (FindHDF5: use the target rather than the path, 2017-01-04, v3.8.0-rc1~81^2). Fixes: #23667
* | | | Merge branch 'release-3.24'Brad King2022-06-280-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'doc-osx-cmp0126' into release-3.24Brad King2022-06-281-1/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3fac3d365d Help: Mention CMP0126 in CMAKE_OSX_* variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7414
* | \ \ \ Merge topic 'doc-osx-cmp0126'Brad King2022-06-281-1/+2
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 3fac3d365d Help: Mention CMP0126 in CMAKE_OSX_* variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7414
| * | | | Help: Mention CMP0126 in CMAKE_OSX_* variable documentationDa Quexian2022-06-271-1/+2
| | |/ / | |/| | | | | | | | | | Signed-off-by: Da Quexian <daquexian566@gmail.com>
* | | | Merge branch 'release-3.24'Brad King2022-06-280-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'release-3.23' into release-3.24Brad King2022-06-280-0/+0
| |\ \ \
* | \ \ \ Merge branch 'release-3.23'Brad King2022-06-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'lcc-liblfortran-renamed' into release-3.23Brad King2022-06-271-1/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !7407
* | \ \ \ \ Merge branch 'release-3.24'Brad King2022-06-280-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge topic 'lcc-liblfortran-renamed' into release-3.24Brad King2022-06-281-1/+5
| |\ \ \ \ \ | | | |/ / / | | |/| / / | | |_|/ / | |/| | | | | | | | | | | | | 57da7a4925 LCC: link with -lgfortran instead of -llfortran since 1.26.03 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7407
* | | | | Merge topic 'lcc-liblfortran-renamed'Brad King2022-06-281-1/+5
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 57da7a4925 LCC: link with -lgfortran instead of -llfortran since 1.26.03 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7407
| * | | | LCC: link with -lgfortran instead of -llfortran since 1.26.03Igor Molchanov2022-06-271-1/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since LCC 1.26.03, compiler developers decided to rename liblfortran to libgfortran (internal reference: mcstbug#131633), and despite it's stated that "-llfortran will be automatically treated as -lgfortran", it actually does not work (and there's even no symlinks like liblfortran.* -> libgfortran.*); so we have to explicitly choose which library we have to link in. Fixes: #23646
* | | | CMake Nightly Date StampKitware Robot2022-06-281-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-06-271-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2022-06-261-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-06-251-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-06-241-1/+1
| | |
* | | Merge branch 'release-3.24'Brad King2022-06-230-0/+0
|\ \ \ | | |/ | |/|
| * | CMake 3.24.0-rc2v3.24.0-rc2Brad King2022-06-231-1/+1
| | |
* | | Merge topic 'update-kwsys'Brad King2022-06-231-9/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db19b7a73f Merge branch 'upstream-KWSys' into update-kwsys 02dbf65dee KWSys 2022-06-21 (d427a180) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7403
| * \ \ Merge branch 'upstream-KWSys' into update-kwsysBrad King2022-06-221-9/+31
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2022-06-21 (d427a180)
| | * | | KWSys 2022-06-21 (d427a180)KWSys Upstream2022-06-221-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit d427a18072e2f37108aeeadf41ed4a21b4be3ab1 (master). Upstream Shortlog ----------------- Clemens Wasser (2): ab7c8f6f SystemTools: Factor out RemoveTrailingSlashes ca9646bd SystemTools: Optimize FileIsExecutable on Windows
* | | | | Merge topic 'gcc-modules-ci-missing-git'Brad King2022-06-232-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5db79b5cd3 gitlab-ci: update to an image with git installed 3e1ace7f46 ci: add git to the CI image Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7398
| * | | | | gitlab-ci: update to an image with git installedBen Boeckel2022-06-211-1/+1
| | | | | |
| * | | | | ci: add git to the CI imageBen Boeckel2022-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the CDash submission to know what commit is being submitted and show up in MR pipeline status links made by our workflow processes.