CMake merge requestshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests2024-01-08T12:29:04-05:00https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9005CPack/RPM: Quote paths in rpm spec only if they have whitespace2024-01-08T12:29:04-05:00Ben BoeckelCPack/RPM: Quote paths in rpm spec only if they have whitespaceRPM supports either whitespace with quoting or globbing without quoting.
Prior to RPM 4.19 it accepted globbing in quotes, but it only globbed
correctly without whitespace, where quoting was not necessary anyway.
Starting in RPM 4.19, gl...RPM supports either whitespace with quoting or globbing without quoting.
Prior to RPM 4.19 it accepted globbing in quotes, but it only globbed
correctly without whitespace, where quoting was not necessary anyway.
Starting in RPM 4.19, glob characters in quotes are considered literal.
Fixes: #25421
See: https://github.com/rpm-software-management/rpm/commit/d44114f007f54f205ffa13d22724199fe50a137a
---
Backport: release3.28.0https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4185CPack/PkgBuild: Add generator for Arch Linux packages2023-09-21T03:03:51-04:00Thijs WithaarCPack/PkgBuild: Add generator for Arch Linux packagesAdd a CPack generator for [Arch Linux](https://www.archlinux.org/) packages.
It can package CMake, at least a simple package installs via Arch's package manager (pacman).Add a CPack generator for [Arch Linux](https://www.archlinux.org/) packages.
It can package CMake, at least a simple package installs via Arch's package manager (pacman).https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8756Source: Link libatomic when needed on any Linux architecture2023-09-05T12:23:48-04:00Brad KingSource: Link libatomic when needed on any Linux architectureExtend !8663 to check for libatomic on more architectures.
Fixes: #25204
Backport: releaseExtend !8663 to check for libatomic on more architectures.
Fixes: #25204
Backport: release3.27.5Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7980Tests: Enable RunCMake.file-GET_RUNTIME_DEPENDENCIES linux cases on XL2022-12-05T12:54:55-05:00Brad KingTests: Enable RunCMake.file-GET_RUNTIME_DEPENDENCIES linux cases on XLThese were excluded with the XL and XLClang compilers because one
such compiler in nightly testing hard-codes `--enable-new-dtags`.
Add a way to disable the cases via local configuration instead so that
we can run them on the rest of the...These were excluded with the XL and XLClang compilers because one
such compiler in nightly testing hard-codes `--enable-new-dtags`.
Add a way to disable the cases via local configuration instead so that
we can run them on the rest of the XL compilers.3.26.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7556variable: Set LINUX variable on Linux target systems2022-11-28T17:04:32-05:00Cristian Adamvariable: Set LINUX variable on Linux target systemsFixes: #23840Fixes: #238403.25.0Craig ScottCraig Scotthttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7849Linux: Avoid finding libraries using lib64 on ArchLinux2022-10-31T09:46:23-04:00FantasqueXLinux: Avoid finding libraries using lib64 on ArchLinuxArchLinux uses `/lib` for 64-bit libraries and there is no `/lib64`. However, unlike Debian, 32-bit libraries are in `/lib32`.
Backport: release
Topic-rename: ArchLinux-lib-dirArchLinux uses `/lib` for 64-bit libraries and there is no `/lib64`. However, unlike Debian, 32-bit libraries are in `/lib32`.
Backport: release
Topic-rename: ArchLinux-lib-dir3.25.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7661LINUX: Set CMAKE_HOST_LINUX variable when running on a Linux host2022-09-13T09:47:20-04:00Cristian AdamLINUX: Set CMAKE_HOST_LINUX variable when running on a Linux hostSet also the LINUX variable in CMake scripting mode (-P).
Relates: #23840Set also the LINUX variable in CMake scripting mode (-P).
Relates: #238403.25.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3727Utilities/Release: Add docker specs to build and test Linux binaries2022-07-05T10:16:27-04:00Brad KingUtilities/Release: Add docker specs to build and test Linux binariesThese will allow anyone to produce portable binaries like those published on `cmake.org`.These will allow anyone to produce portable binaries like those published on `cmake.org`.3.16.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7057IRSL: Add paths for Intel oneAPI compilers on Linux2022-03-10T08:41:42-05:00Attila KrasznahorkayIRSL: Add paths for Intel oneAPI compilers on LinuxAdded the location of the [oneAPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html) runtime libraries. They are stored in a slightly different place with oneAPI than they used to be in Parallel Studio.
The l...Added the location of the [oneAPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html) runtime libraries. They are stored in a slightly different place with oneAPI than they used to be in Parallel Studio.
The list of libraries will also need to be revised in a further step, but I didn't want to bite off more than I could chew.
P.S. Note that the previous path **is** correct for PSXE 2019 for instance. I'm just adding that here, because at first I thought I found a bug in the code. But instead it's just that the code was not updated for oneAPI yet.
Fixes: #23310
Backport: release
Topic-rename: irsl-oneapi-linux3.23.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3038ppc64: Work around TOC overflow with platform specific linker flags2022-01-27T10:01:09-05:00Chuck Atkinsppc64: Work around TOC overflow with platform specific linker flags3.15.0Chuck AtkinsChuck Atkinshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6773GNUInstallDirs: Prefer system lib64 over conda lib when ambiguous2021-12-01T09:35:48-05:00Robert MaynardGNUInstallDirs: Prefer system lib64 over conda lib when ambiguousUpdate logic added by !6512. When it is ambiguous if we are doing a conda install or a system install prefer using the system library directory
Fixes: #22962
Backport: release
Topic-rename: GNUInstallDirs-conda-fixUpdate logic added by !6512. When it is ambiguous if we are doing a conda install or a system install prefer using the system library directory
Fixes: #22962
Backport: release
Topic-rename: GNUInstallDirs-conda-fix3.22.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6415CPackRPM: avoid a spurious `;` in the `%pre` section2021-08-03T11:01:12-04:00Artur SamarinCPackRPM: avoid a spurious `;` in the `%pre` sectionFixes: #22501
Backport: release
Topic-rename: cpack-rpm-pre-semicolonFixes: #22501
Backport: release
Topic-rename: cpack-rpm-pre-semicolon3.21.2Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6274CPack/RPM: Fix weak dep support2021-06-30T07:29:34-04:00Alex SweetCPack/RPM: Fix weak dep supportRPM 4.11.3 for el7 contains backported support for the RPM weak dep tags.
It only supports querying those tags, but rpmbuild can not make use of them.
Since CPack relies on rpmbuild --querytags to check for support, this
commit switches ...RPM 4.11.3 for el7 contains backported support for the RPM weak dep tags.
It only supports querying those tags, but rpmbuild can not make use of them.
Since CPack relies on rpmbuild --querytags to check for support, this
commit switches to rpm --suggests to check for support of weak
dependencies.
Tested with RPM 4.11.3 (only supports querying weak dep tags) and RPM 4.14.3 (full rpmbuild support for weak deps)
Fixes: #22350
Backport: release
Topic-rename: rpm-suggests3.21.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6259bootstrap: Compile with _FILE_OFFSET_BITS=64 on Linux2021-06-24T08:34:07-04:00Brad Kingbootstrap: Compile with _FILE_OFFSET_BITS=64 on LinuxTo avoid problems accessing filesystem, explicitly use 64-bit file
offsets in case the compilation model is 32-bit. This change was made
for the main CMake build by !5258,
but conditionally on 32-bit Linux. For bootstrap, just always a...To avoid problems accessing filesystem, explicitly use 64-bit file
offsets in case the compilation model is 32-bit. This change was made
for the main CMake build by !5258,
but conditionally on 32-bit Linux. For bootstrap, just always add the
definition instead of trying to detect the architecture.
Fixes: #22328
Backport: release3.21.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/5773CMakeDetermineCompilerABI: Parse library arch from versioned paths2021-04-05T16:49:26-04:00Robert MaynardCMakeDetermineCompilerABI: Parse library arch from versioned pathsCMake has learned how to extract `CMAKE_<LANG>_LIBRARY_ARCHITECTURE`
from versioned paths such as `/usr/lib/gcc/x86_64-linux-gnu/9`.CMake has learned how to extract `CMAKE_<LANG>_LIBRARY_ARCHITECTURE`
from versioned paths such as `/usr/lib/gcc/x86_64-linux-gnu/9`.3.20.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/5920gitlab-ci: add nightly testing jobs for Intel compilers on Linux2021-03-18T09:41:17-04:00Brad Kinggitlab-ci: add nightly testing jobs for Intel compilers on LinuxAdd jobs testing all Intel Classic compiler versions from 2016 through 2021, and all Intel oneAPI compiler versions currently available in 2021.Add jobs testing all Intel Classic compiler versions from 2016 through 2021, and all Intel oneAPI compiler versions currently available in 2021.3.21.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/2061IRSL: Fix Intel library list for ifort-only setups2020-07-02T12:40:04-04:00Christian PfeifferIRSL: Fix Intel library list for ifort-only setupsFixes: #17727Fixes: #177273.11.2Christian PfeifferChristian Pfeifferhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/4699OpenWatcom: fix Linux support file2020-05-01T10:28:39-04:00Jiri Malakmalak.jiri@gmail.comOpenWatcom: fix Linux support file
Fix CMAKE_SHARED_LINKER_FLAGS_INIT macro
Fix executable file name for Linux to be without extension
Add system header files directory for cross-compilation
Fix CMAKE_SHARED_LINKER_FLAGS_INIT macro
Fix executable file name for Linux to be without extension
Add system header files directory for cross-compilationhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3753Utilities/Release: Add docker spec for STGZ package on Linux2019-08-30T10:35:14-04:00Brad KingUtilities/Release: Add docker spec for STGZ package on LinuxThe spec added by !3727 generates only the TGZ package, but the old `Utilities/Release/linux64_release.cmake` script also generated a STGZ package.The spec added by !3727 generates only the TGZ package, but the old `Utilities/Release/linux64_release.cmake` script also generated a STGZ package.3.16.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1117CPackIFW: Add CPACK_IFW_PACKAGE_FILE_EXTENSION variable2019-04-30T01:50:45-04:00Konstantin PodsvirovCPackIFW: Add CPACK_IFW_PACKAGE_FILE_EXTENSION variableAdd CPACK_IFW_PACKAGE_FILE_EXTENSION variable to customize
target binary format.
Issues: #17125Add CPACK_IFW_PACKAGE_FILE_EXTENSION variable to customize
target binary format.
Issues: #171253.10.0Brad KingBrad King