6
0
forked from pool/cmake

49 Commits

Author SHA256 Message Date
44cad7064e Accepting request 1286680 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1286680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=269
2025-07-23 14:31:39 +00:00
6e5a5cf109 Accepting request 1286679 from home:simotek:branches:devel:tools:building
- Set -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix a bunch of build
  issues.

OBS-URL: https://build.opensuse.org/request/show/1286679
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=634
2025-06-18 12:06:44 +00:00
73b551ca11 Accepting request 1286213 from home:mathletic:branches:devel:tools:building
- update to 4.0.3
  * CUDA/Clang: Fix list of architectures supported by Clang < 20.1,
    Reorder the logic for setting supported archs, add archs
    supported by Clang 21
  * gcc: support `import std`
  * experimental: recycle the `import std` UUID
  * Clang/CXXImportStd: support `-stdlib=libstdc++`
  * experimental/CXXModules: recycle the UUID
  * FindPython: rely on ABIFLAGS on Windows for ABI profile
  * FindPython: Avoid implicit link library on Windows
 
 - Replace usage of %jobs for reproducible builds (boo#1237231)
 
- fix GUI build on openSUSE Leap 15.x
- update to 4.0.1
  * get_filename_component: Restore lexical preprocessing of
    REALPATH for compat
  * find_package: Restore component requirements in nested calls
  * Source: Include specific CoreFoundation headers instead of
    umbrella header
- update to CMake 4.0
  * The "CMAKE_POLICY_VERSION_MINIMUM" variable was added to help
    packagers and end users try to configure existing projects that
    have not been updated to work with supported CMake versions.
  * The "$<PATH>" generator expression gained the "NATIVE_PATH"
    operation to convert a CMake path into a native one.
  * Compatibility with versions of CMake older than 3.5 has been
    removed.
  * The "cmake --link-no-warning-as-error" option was added to
    suppress the effects of the "LINK_WARNING_AS_ERROR" target
    property and "CMAKE_LINK_WARNING_AS_ERROR" variable.
  * The "target_link_libraries()" command now supports the
    "LINKER:" prefix.
- adjust cmake-fix-ruby-test.patch
  * fix FindCUDAToolkit doesn't find CUPTI in CUDA installations
    from runfile
  * fix file(MAKE_DIRECTORY): creates RESULT and <variable> folders
  * fix Wrong detection of LINKER_PUSHPOP_STATE_SUPPORTED
  * fix cmake-gui: Invalid error message "Error: could not load cache"
  * fix build with curl 8.13.0 (boo#1241036)
- Switch cmake-gui builds to Qt6.
- Add BuildRequires: qt6-macro to locate qhelpgenerator (in
  %_qt6_libexecdir) and add corresponding path to env PATH.
- Drop use of deprecated %suse_update_desktop_file macro and
  BuildRequires: update-desktop-files needed solely for this.

OBS-URL: https://build.opensuse.org/request/show/1286213
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=633
2025-06-18 11:58:52 +00:00
d38b2fd8d4 Accepting request 1283475 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1283475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=268
2025-06-10 06:59:15 +00:00
f2b709a594 Accepting request 1283474 from home:simotek:branches:devel:tools:building
Fix changes file formatting

OBS-URL: https://build.opensuse.org/request/show/1283474
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=631
2025-06-06 01:13:34 +00:00
bf4c2e4fef Accepting request 1283472 from home:simotek:branches:devel:tools:building
- Replace usage of %jobs for reproducible builds (boo#1237231)

OBS-URL: https://build.opensuse.org/request/show/1283472
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=630
2025-06-06 00:58:46 +00:00
77ec69fbd6 Accepting request 1280043 from home:AndreasStieger:branches:devel:tools:building
- fix GUI build on openSUSE Leap 15.x

OBS-URL: https://build.opensuse.org/request/show/1280043
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=629
2025-06-05 11:33:30 +00:00
ab8058d61f Accepting request 1269554 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1269554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=267
2025-04-16 18:38:17 +00:00
a52845f374 cmake 3.31.7: fix build with curl 8.13.0 (boo#1241036)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=627
2025-04-15 10:12:58 +00:00
340cd699af Accepting request 1256407 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1256407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=266
2025-03-31 09:36:56 +00:00
7811a89be0 * Switch cmake-gui builds to Qt6.
* Add BuildRequires: qt6-macro to locate qhelpgenerator (in   %_qt6_libexecdir) and add corresponding path to env PATH.
* Drop use of deprecated %suse_update_desktop_file macro and BuildRequires: update-desktop-files needed solely for this.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=625
2025-03-27 08:09:22 +00:00
b60894407b Accepting request 1252490 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1252490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=265
2025-03-13 14:04:03 +00:00
d2ccc3eb93 Accepting request 1252062 from home:badshah400:hdf5-update
Add cmake-findhdf5-prefer-hl-compilers.patch -- FindHDF5: Prefer h5hl* compilers for HDF5_FIND_HL; patch submitted upstream [https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10450.patch].  This fixes hdf5_hl detection issues when building hdf5 >= 1.14 using cmake instead of autotools.

OBS-URL: https://build.opensuse.org/request/show/1252062
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=623
2025-03-12 14:12:39 +00:00
456e054b93 Accepting request 1249317 from devel:tools:building
- temporarily revert "make %cmake_{build, install} call cmake
  directly" as the fall out is too large. will be restored once
  fallout can be mitigated

- update to 3.31.6
  * cmGeneratorExpressionDAGChecker: Construct with initializer
    list syntax, De-duplicate constructor signature, Construct
    with initializer list syntax
  * GenEx: Restore evaluation context for conditional transitive
    properties, Fix evaluation of LINK_LIBRARIES as custom
    transitive property
  * GoogleTest: Restore support for spaces in explicit
    WORKING_DIRECTORY
--------------------------------------------------------------------
- make %cmake_{build, install} call cmake directly
  to auto set generator so that %global
  are no longer needed to set generators

OBS-URL: https://build.opensuse.org/request/show/1249317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=264
2025-03-02 11:17:11 +00:00
54f601bdf0 - temporarily revert "make %cmake_{build, install} call cmake
directly" as the fall out is too large. will be restored once
  fallout can be mitigated

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=621
2025-02-28 20:23:26 +00:00
30f85bee48 - update to 3.31.6
* cmGeneratorExpressionDAGChecker: Construct with initializer
    list syntax, De-duplicate constructor signature, Construct
    with initializer list syntax
  * GenEx: Restore evaluation context for conditional transitive
    properties, Fix evaluation of LINK_LIBRARIES as custom
    transitive property
  * GoogleTest: Restore support for spaces in explicit
    WORKING_DIRECTORY

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=620
2025-02-25 11:51:45 +00:00
ffc18b21f9 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=619 2025-02-24 15:08:40 +00:00
516aee823a - make %cmake_{build, install} call cmake directly
to auto set generator so that %global

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=618
2025-02-24 08:47:37 +00:00
03e9110310 -
- make %cmake_{build, install} call cmake directly 
  to auto set generator so that %global 
  are no longer needed to set generators

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=617
2025-02-24 08:46:32 +00:00
54f36f5ae7 Accepting request 1243476 from devel:tools:building
- update to 3.31.4
  * LFortran: Remove hard-coded --generate-object-code flag
  * FindBoost: Add support for Boost 1.87

OBS-URL: https://build.opensuse.org/request/show/1243476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=263
2025-02-07 21:46:36 +00:00
1fc6503a0c OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=615 2025-02-05 16:30:32 +00:00
761def9716 - update to 3.31.5
* Clang/CUDA: Fix language-wide flags when linking .so with
    compiler driver
  * Tests: Update expected results for ninja post-1.12 development
  * FindMatlab: Fix multi-signature function documentation anchors
  * IAR: decouple linker location from toolkit's bin dir
  * install: Generate InstallScripts.json in consistent location
- update to 3.31.4
  * LFortran: Remove hard-coded --generate-object-code flag
  * FindBoost: Add support for Boost 1.87

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=614
2025-02-05 16:19:11 +00:00
52e5956f7a Accepting request 1237387 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1237387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=262
2025-01-14 15:21:03 +00:00
0ac7dfcdbb - update to 3.31.3
* cmLocalUnixMakefileGenerator3: Simplify progress command
    generation
  * Makefile: Fix per-directory codegen target
  * Makefile: Enable progress messages for codegen target
  * cmGlobalNinjaGenerator: Fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=612
2025-01-13 11:01:02 +00:00
86c026673c Accepting request 1229255 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1229255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=261
2024-12-10 22:42:54 +00:00
ba94670a20 - update to 3.31.2
* GNU linker: Use single-argument form of --dependency-file flag
  * fileapi: Do not expose flags for linker-generated dependencies
  * LINK_OPTIONS: Fix crash on empty LINKER: prefix
  * FindRuby: Add support for 3.4
- update to 3.31.1
  * FindBoost: Add support for Boost 1.86
  * libarchive: Update script to get 3.7.7
  * execute_process: Restore CLOEXEC on OUTPUT_FILE and
    ERROR_FILE descriptors
  * LLD linker: avoid regression on archive libraries deduplication

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=610
2024-12-09 09:22:40 +00:00
36def3180b Accepting request 1223606 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1223606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=260
2024-11-24 10:03:38 +00:00
8f444423a9 Accepting request 1222559 from home:mathletic:branches:devel:tools:building
- update to 3.31.0
  * cmake-presets(7) files may now include comments using the key
    "$comment" at any level within the JSON object to provide
    documentation.
  * The Ninja Generators and Makefile Generators now produce a
    "codegen" build target.
  * The "CMAKE_LINK_LIBRARIES_STRATEGY" variable and corresponding
    "LINK_LIBRARIES_STRATEGY" target property were added to
    optionally specify the strategy CMake uses to generate link
    lines.
  * The "CMAKE_EXPORT_BUILD_DATABASE" variable, a corresponding
    "CMAKE_EXPORT_BUILD_DATABASE" environment variable, and an
    "EXPORT_BUILD_DATABASE" target property, were added to enable
    exporting C++ module compile commands. This is only supported
    with Ninja Generators.
  * The "CMAKE_<LANG>_HOST_COMPILER_ID" and
    "CMAKE_<LANG>_HOST_COMPILER_VERSION" variables were added,
    where "<LANG>" is either "CUDA" or "HIP".  They are populated
    when "CMAKE_<LANG>_COMPILER_ID" is "NVIDIA" to identify NVCC's
    host compiler.
  * The "file(DOWNLOAD)" and "file(UPLOAD)" commands now verify TLS
    server certificates for connections to "https://" URLs by
    default.

OBS-URL: https://build.opensuse.org/request/show/1222559
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=608
2024-11-12 09:41:39 +00:00
48d1c83324 Accepting request 1217246 from devel:tools:building
- update to 3.30.5:
  * project: Only check non-cache vars when setting project vars

OBS-URL: https://build.opensuse.org/request/show/1217246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=259
2024-10-24 13:40:26 +00:00
fdf224aa74 - update to 3.30.5:
* project: Only check non-cache vars when setting project vars

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=606
2024-10-23 08:36:58 +00:00
b232c807cd Accepting request 1204670 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1204670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=258
2024-10-01 15:11:02 +00:00
72c650fa6e - update to 3.30.4:
* FetchContent: Don't update verify script timestamp if it
    doesn't change
  * project: Only define non-cache vars if already defined
  * librhash: aligned_alloc is not available with glibc < 2.16
  * FindPython: ensure all ABI are searched by default
  * FindMatlab: multiple fixes for MCR

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=604
2024-09-30 07:05:41 +00:00
4977926a76 Accepting request 1198019 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1198019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=257
2024-09-02 11:13:08 +00:00
9dc6932a6b Accepting request 1197687 from home:mathletic:branches:devel:tools:building
- update to 3.30.3:
  * file(DOWNLOAD): Fix User-Agent to use run-time curl version
  * curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error
    codes
  * FindPython: fix regression of NumPy detection with Intel MKL
    library
  * FindPython: ensure a usable environment is set for the free
    threaded Python
  * project: non cache <project> prefix variables are created
  * FindJNI: Support finding libjvm.so for all OpenJDK variants
- Remove cmake-zerojvm.patch which is part of upstream

OBS-URL: https://build.opensuse.org/request/show/1197687
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=602
2024-08-31 09:20:12 +00:00
b2d77adfa7 Accepting request 1191412 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1191412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=256
2024-08-05 15:20:15 +00:00
445ccc52aa Accepting request 1191333 from home:AndreasStieger:branches:devel:tools:building
cmake 3.30.2

OBS-URL: https://build.opensuse.org/request/show/1191333
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=600
2024-08-03 11:44:23 +00:00
1a0272880a Accepting request 1189971 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1189971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=255
2024-07-30 09:53:11 +00:00
084354fa0e - Add curl-8.9.0-output.patch to fix test for different output
with cURL 8.9.0. Part of upstream and will be part of 3.31.0.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=598
2024-07-28 07:13:05 +00:00
fd29b2c06f Accepting request 1188989 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1188989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=254
2024-07-24 13:29:41 +00:00
787f614237 Accepting request 1188712 from home:mathletic:branches:devel:tools:building
- update to 3.30.1
  * Tests: Fix RunCMake.ExternalProject when git is not available
  + Restore support for exporting INTERFACE with missing
    dependencies
  * FindMatlab: Restore support for finding Matlab without any
    languages
  * libuv: backport IDNA input/output hardening fixes
  * IntelLLVM: Update toolchain layout for 2024+ versions
  * Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage
- Drop cmake-fix-test-without-git.patch which is part of 3.30.1

OBS-URL: https://build.opensuse.org/request/show/1188712
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=596
2024-07-22 10:11:12 +00:00
b89a805db5 Accepting request 1186108 from devel:tools:building
- udate to 3.30.0
  * "cmake-presets(7)" files now support schema version "9".
    "include"  fields now expand all macros except "$env{}" and
    preset-specific macros, i.e., those derived from the fields
    inside a preset's definition.
  * The "Compile Features" functionality now implements support
    for the "cxx_std_26" and "cuda_std_26" meta-features to
    indicate that the compiler mode must be at least C++26.
  * The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
    describe the latest "<LANG>" language standard CMake supports
    for the selected compiler.
  * The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
    environment variable were added to specify a default minimum
    TLS version for connections to "https://" URLs by the
    "file(DOWNLOAD)" and "file(UPLOAD)" commands.
  * The "GENERATED" source file property is now visible in all
    directories.  See policy "CMP0163".  Policy "CMP0118"'s
    documentation has been revised to describe its actual effects.
  * The "TARGET_PROPERTY" generator expression learned to evaluate
    custom transitive properties.
  * The "CPack WIX Generator" gained support for WiX Toolset v4.
    See the "CPACK_WIX_VERSION" variable.
  * The "FindBoost" module has been removed by policy "CMP0167".
    Port projects to upstream Boost's "BoostConfig.cmake" package
    configuration file, for which "find_package(Boost)" now
    searches.
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
  conditionally when Git is found, upstream planned for 3.30.1

OBS-URL: https://build.opensuse.org/request/show/1186108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=253
2024-07-09 18:02:43 +00:00
90237d10a3 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=594 2024-07-08 08:23:47 +00:00
c0234c40bc - convert ctest to skip first non-parmetic parameter
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=593
2024-07-07 15:47:01 +00:00
f059d499f4 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=592 2024-07-07 11:47:24 +00:00
e9eabaa7e2 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=591 2024-07-07 10:09:10 +00:00
780894776a OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=590 2024-07-06 19:11:24 +00:00
d754e77339 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=589 2024-07-06 18:43:01 +00:00
ce4ec39acd - convert ctest to non-paramatic macro like the other cmake* ones
are

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=588
2024-07-06 12:49:55 +00:00
e0903fafcc Accepting request 1185206 from home:mathletic:branches:devel:tools:building
- udate to 3.30.0
  * "cmake-presets(7)" files now support schema version "9".
    "include"  fields now expand all macros except "$env{}" and
    preset-specific macros, i.e., those derived from the fields
    inside a preset's definition.
  * The "Compile Features" functionality now implements support
    for the "cxx_std_26" and "cuda_std_26" meta-features to
    indicate that the compiler mode must be at least C++26.
  * The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
    describe the latest "<LANG>" language standard CMake supports
    for the selected compiler.
  * The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
    environment variable were added to specify a default minimum
    TLS version for connections to "https://" URLs by the
    "file(DOWNLOAD)" and "file(UPLOAD)" commands.
  * The "GENERATED" source file property is now visible in all
    directories.  See policy "CMP0163".  Policy "CMP0118"'s
    documentation has been revised to describe its actual effects.
  * The "TARGET_PROPERTY" generator expression learned to evaluate
    custom transitive properties.
  * The "CPack WIX Generator" gained support for WiX Toolset v4.
    See the "CPACK_WIX_VERSION" variable.
  * The "FindBoost" module has been removed by policy "CMP0167".
    Port projects to upstream Boost's "BoostConfig.cmake" package
    configuration file, for which "find_package(Boost)" now
    searches.
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
  conditionally when Git is found, upstream planned for 3.30.1

OBS-URL: https://build.opensuse.org/request/show/1185206
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=587
2024-07-04 07:04:30 +00:00
12 changed files with 387 additions and 72 deletions

View File

@@ -1,17 +0,0 @@
6202fac4a0a9cc6da7e7fd91599e2a25692ce648ca93115ada7adde6e13d7ce8 cmake-3.29.6-files-v1.json
cd1e96e9337521197a7e9ca29005c6ee36dac702d31c44737122a8e42277c468 cmake-3.29.6-linux-aarch64.sh
4d6b0a551db9da7a034a09372f716cf2094413d7fd8a787051854154b0b3b343 cmake-3.29.6-linux-aarch64.tar.gz
6e4fada5cba3472ae503a11232b6580786802f0879cead2741672bf65d97488a cmake-3.29.6-linux-x86_64.sh
28fef61e64840b784da6db35218fd3ae179ff8bf0be1c8a9d075d6185a0e4fdc cmake-3.29.6-linux-x86_64.tar.gz
f3a618ed177ac7ef5869659bcee9a5978465ffa989ace2844bb679d1b22dae06 cmake-3.29.6-macos-universal.dmg
c3029b29fa47747b69a1e0d3466af62b26af9ff6a5f10608a3bcdcc076810e4c cmake-3.29.6-macos-universal.tar.gz
cc2db7ab8213470f3c4db55a66d69bca08588ba67f9bcfa0899a4876bdd12f6d cmake-3.29.6-macos10.10-universal.dmg
a65f9e66c63bb79f3b6f00e4b67367b6f6c40030ee41cf06580818a74a84b3e9 cmake-3.29.6-macos10.10-universal.tar.gz
39c355f180814b501f64a3ba1b395a467443c12bd5d5c8d9335989158fdbdbde cmake-3.29.6-windows-arm64.msi
8f0df498d8b1a076fc9305dde5a06427262a0476e89d4c670a49147b0bc30761 cmake-3.29.6-windows-arm64.zip
f0e745618580fb4adb0858d9b961be272500bd80b5bce5591b0ebd8e858b3819 cmake-3.29.6-windows-i386.msi
aca4abb4ad7eb7d97647a572132735af2bd35687826e96f7d23dd7f4d2d7d4a9 cmake-3.29.6-windows-i386.zip
b93ec89d545c39b7bad421bcdecace9faac6483a3ce5bfa24cb948ac07adbc48 cmake-3.29.6-windows-x86_64.msi
5c648eac06c33477e510bae14ce1f969e9abb38992b71f245633b182fccb474d cmake-3.29.6-windows-x86_64.zip
1391313003b83d48e2ab115a8b525a557f78d8c1544618b48d1d90184a10f0af cmake-3.29.6.tar.gz
79e2fc075b2aa1d93bea55b606a6a053c77c964d30319ba972046bf6cd327d11 cmake-3.29.6.zip

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmZwjB4ACgkQLSzvEDSS
FoSc6RAAnwLxcYrVtPQJUVURDShbt7JU6XjhadymMW0ThJ0sflLGe1kb6wwVvhXS
wyu6c80gytIPfjlPX5+jWVNk1xBJjiU6VQxsHfeOHOg4Gu5JcStru3TFVsD/vXbC
sBlnjqeP1pwsPx9RI8e5RXgRm4ydnykMVhPqY8IPOQ6kslYljVJ62ICWe/Zv4qhZ
Z4TsPm1lYKuST6wFuMrIviJdK9CTNsX+OSbykQSrPSdACEWx1OEKYsEOb5Xzjb1Q
vc6w18xyBy5VV20EtYy4yUYykpWuVNej9lNmDdhxWEioBWLmZLWBphgUECHc4Jto
5GTvM7iCDkxeJ42RVq3JZKMNXy/oZK7wJPrBtQvwslaYz5Q3NbgFq3Fhp1QsLm6B
D4p/TWnMc6Lp2rDHwk0uunewOJT8d9JI14sdEluH+BAVXa7mFzJ9bCaQLxoPinQ7
qesXk/agRw5FTd/yQ3vqJCLyj4ONw6QTlmlemMm781p08+ngeOXw+MnwQzsGlVfO
jOxyQvBkHl0g6ViX4IVVOqqjscbvzd3vR4HVa8bHdjssaEGiFVlV43Hk5NbNMkMe
6SLYvuIZMunVbTuAjcHTtQL1Gpr42zA8Y/iL51+KFc8a92sWimcpq+oJf2GOUVCp
qnySsm7wNKDUSHz9JeY8Duez2wJ9fcOgKbUSPegzvsyIdwOCcMg=
=cyLM
-----END PGP SIGNATURE-----

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1391313003b83d48e2ab115a8b525a557f78d8c1544618b48d1d90184a10f0af
size 11248411

21
cmake-4.0.3-SHA-256.txt Normal file
View File

@@ -0,0 +1,21 @@
d737ed6a42c2a29217460850670fd064d93fc960ed49e9fbd4171c7e2842febd cmake-4.0.3-files-v1.json
dd53deec25f826d7c96d62825224329c845150c0eee2729c6a2a069c99891146 cmake-4.0.3-linux-aarch64.sh
391da1544ef50ac31300841caaf11db4de3976cdc4468643272e44b3f4644713 cmake-4.0.3-linux-aarch64.tar.gz
1d15a366ce6a5191f26ca23b3c7ae6f5690ffa63fa87ffbea4b92fb27e7c6170 cmake-4.0.3-linux-x86_64.sh
585ae9e013107bc8e7c7c9ce872cbdcbdff569e675b07ef57aacfb88c886faac cmake-4.0.3-linux-x86_64.tar.gz
57faffb8e9a159707998c09c3b40f07a1e8dfca7eb518416a60bf8379bff399d cmake-4.0.3-macos-universal.dmg
4e85de4daf1c3e82d7dc6b8ba5683972944b466343aeb9c327a742437bb3ce9a cmake-4.0.3-macos-universal.tar.gz
7a3526943eef52181704c4edd2bedb8f5573dd527a4a5fb70f35d6010e2cf550 cmake-4.0.3-macos10.10-universal.dmg
31f1d30f47ce1ac25168a70635c2a9160a1a7b54b28f7efac8e8d3c9154add45 cmake-4.0.3-macos10.10-universal.tar.gz
85adcdd558d552c661d3481c8446f61ded595deae038652270e618afb9ded4dd cmake-4.0.3-sunos-sparc64.sh
60ef9ffa8a72342d48166a7b575493be08955341172165c21785c018ab084104 cmake-4.0.3-sunos-sparc64.tar.gz
770e77377f37e0094673eccf1770abee79d28dbb6903e2ea8acfabdb1dfddba1 cmake-4.0.3-sunos-x86_64.sh
d566846125cc2309fcf2e249e60cbe98ec9451b4f9d65ba462a8fbfb771be11e cmake-4.0.3-sunos-x86_64.tar.gz
0cc0b1db0e0ecbf71457bc84bf0b832bc5293f53b0f65a291f501ec9f04fcf30 cmake-4.0.3-windows-arm64.msi
86ccd6485bbd4bb41a1a858db397be5bca5e0de96858bf8dbba7a64407bd6c00 cmake-4.0.3-windows-arm64.zip
56f77f1d9ec51a109d17d07c73d3bb1269dcaf0ea2772c1623c6bd9a6b3760a5 cmake-4.0.3-windows-i386.msi
9f71df30cf0194f7214d135afb277017bd4a58baba2ae14e6ae8b0533b5a3dbf cmake-4.0.3-windows-i386.zip
589da314f09f2b7a28a79932ee33e95b388b0749a6799d887139189864f9798f cmake-4.0.3-windows-x86_64.msi
b59a31dfbfa376a4aaea9ff560ff2b29f78ee5f9fb15447fc71ae7bf9fea9379 cmake-4.0.3-windows-x86_64.zip
8d3537b7b7732660ea247398f166be892fe6131d63cc291944b45b91279f3ffb cmake-4.0.3.tar.gz
398c49dfe07aa9bfce0f9c0ab29d1492046b9ea8ed28a54e298fc35ca63e0b65 cmake-4.0.3.zip

View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmhK63gACgkQLSzvEDSS
FoSZSxAAlhkoVltYOViltczo5L9JfZ1y0EcwsIEAjKcsRfEU1HlIIL4uoebj6s41
gpeiNqre+Axk2Xktw+tkP9izfTVYhMNGI5Jw2AMu9skG0SYi0n6gdlwlndKE0EwU
5bufwQrjgL9YxhHhED1FJchosw8PsDodcCL2LKBHuNBoNvGv/qQSsnOx/baZGPqI
wTq8TWa4/JxJPuK/j/Lk69IpF9KEzlxjP/yCC8jAe7VFOWdQ2h3HJhEw7dwnQtY+
nT/DcnoLtMzG6IQtonSR6lxeACId2h+W2y5kuUGzmhOw42xqglCKY8E1v3ELz0CQ
gSCTnWTS1zvbmgrgmudtjQ9FFf2bFfhtGQfqUsew2dxh5e6ThP30Io9Ci4+LiNZv
VH8j/w1uJtAJFQumUKsH33CuM3NkzPzIYXEVDvU8k9J1a22yhiEiRytFllU1VwDd
Mmq2Js7vy9DnWMl4ch2WR+e/xjEXDp7Is8NevBkb70aOSLchEdm/uqzSsQ5BG81P
WV1QhPjucMAP8iJTZKon3QwbZFFf0A2FkXzz++b/a/nGY3d2xw3320PTW9DuGsLO
n8L/UBXzJoeWuG4OSaGWNRU0rWYZ/Pg8vFbH/CsrMIAUW72wpIXrdepognqL1TR/
drj4W0VsIAdyB3vwG2iB1u/18PWzScl74tQ6zWBqq/2TVSlm/I0=
=HFdV
-----END PGP SIGNATURE-----

BIN
cmake-4.0.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,38 @@
From a869b79c5921412c91fb71a761748ae5f7d3fb23 Mon Sep 17 00:00:00 2001
From: Atri Bhattacharya <badshah400@gmail.org>
Date: Mon, 10 Mar 2025 20:55:36 +0530
Subject: [PATCH] FindHDF5: Prefer h5hl* compilers for HDF5_FIND_HL
Prefer `h5hlcc`, `h5hlc++`, and `h5hlfc` compilers when HDF5's HL libraries
are requested. These include the `-lhdf_hl` in the command line, whereas
the non-hl compilers (like `h5cc`) do not. Using the latter, therefore,
leads to cmake complaining about not finding the `HDF5_HL` libraries even
though they are present in the same location as the `hdf5` library itself.
Fixes: #23261
---
Modules/FindHDF5.cmake | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 2f0c3c1665..89058ca2be 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -218,6 +218,13 @@ else()
set(HDF5_Fortran_COMPILER_NAMES h5fc h5pfc)
endif()
+# Prefer h5hl<LANG> compilers if HDF5_FIND_HL is enabled
+if(HDF5_FIND_HL)
+ list(PREPEND HDF5_C_COMPILER_NAMES h5hlcc)
+ list(PREPEND HDF5_CXX_COMPILER_NAMES h5hlc++)
+ list(PREPEND HDF5_Fortran_COMPILER_NAMES h5hlfc)
+endif()
+
# Test first if the current compilers automatically wrap HDF5
function(_HDF5_test_regular_compiler_C success version is_parallel)
if(NOT ${success} OR
--
GitLab

View File

@@ -1,13 +1,13 @@
Index: cmake-3.26.2/Modules/FindRuby.cmake Index: cmake-4.0.0/Modules/FindRuby.cmake
=================================================================== ===================================================================
--- cmake-3.26.2.orig/Modules/FindRuby.cmake --- cmake-4.0.0.orig/Modules/FindRuby.cmake
+++ cmake-3.26.2/Modules/FindRuby.cmake +++ cmake-4.0.0/Modules/FindRuby.cmake
@@ -313,7 +313,7 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_ @@ -286,7 +286,7 @@ if (Ruby_EXECUTABLE AND NOT Ruby_EXECUTA
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR) _RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
# vendor_ruby available ? # vendor_ruby available ?
- execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'" - execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'"
+ execute_process(COMMAND ${Ruby_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?" + execute_process(COMMAND ${Ruby_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?"
OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET) OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET)
if(Ruby_HAS_VENDOR_RUBY) if (Ruby_HAS_VENDOR_RUBY)

View File

@@ -1,10 +0,0 @@
--- cmake-3.28.1/Modules/FindJNI.cmake 2024-02-14 13:10:42.173018608 +0100
+++ cmake-3.28.1/Modules/FindJNI.cmake 2024-02-14 17:43:00.956527142 +0100
@@ -344,6 +344,7 @@
"${dir}"
"${dir}/client"
"${dir}/server"
+ "${dir}/zero"
# IBM SDK, Java Technology Edition, specific paths
"${dir}/j9vm"
"${dir}/default"

View File

@@ -1,3 +1,273 @@
-------------------------------------------------------------------
Wed Jun 18 12:04:17 UTC 2025 - Simon Lees <sflees@suse.de>
- Set -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix a bunch of build
issues.
-------------------------------------------------------------------
Mon Jun 16 21:14:47 UTC 2025 - Christoph G <foss@grueninger.de>
- update to 4.0.3
* CUDA/Clang: Fix list of architectures supported by Clang < 20.1,
Reorder the logic for setting supported archs, add archs
supported by Clang 21
* gcc: support `import std`
* experimental: recycle the `import std` UUID
* Clang/CXXImportStd: support `-stdlib=libstdc++`
* experimental/CXXModules: recycle the UUID
* FindPython: rely on ABIFLAGS on Windows for ABI profile
* FindPython: Avoid implicit link library on Windows
-------------------------------------------------------------------
Wed May 28 18:49:13 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Replace usage of %jobs for reproducible builds (boo#1237231)
-------------------------------------------------------------------
Tue May 20 20:45:39 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- fix GUI build on openSUSE Leap 15.x
-------------------------------------------------------------------
Wed Apr 16 21:31:21 UTC 2025 - Christoph G <foss@grueninger.de>
- update to 4.0.1
* get_filename_component: Restore lexical preprocessing of
REALPATH for compat
* find_package: Restore component requirements in nested calls
* Source: Include specific CoreFoundation headers instead of
umbrella header
-------------------------------------------------------------------
Tue Apr 16 17:27:57 UTC 2025 - Christoph G <foss@grueninger.de>
- update to CMake 4.0
* The "CMAKE_POLICY_VERSION_MINIMUM" variable was added to help
packagers and end users try to configure existing projects that
have not been updated to work with supported CMake versions.
* The "$<PATH>" generator expression gained the "NATIVE_PATH"
operation to convert a CMake path into a native one.
* Compatibility with versions of CMake older than 3.5 has been
removed.
* The "cmake --link-no-warning-as-error" option was added to
suppress the effects of the "LINK_WARNING_AS_ERROR" target
property and "CMAKE_LINK_WARNING_AS_ERROR" variable.
* The "target_link_libraries()" command now supports the
"LINKER:" prefix.
- adjust cmake-fix-ruby-test.patch
-------------------------------------------------------------------
Fri Apr 11 15:23:54 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.31.7:
* fix FindCUDAToolkit doesn't find CUPTI in CUDA installations
from runfile
* fix file(MAKE_DIRECTORY): creates RESULT and <variable> folders
* fix Wrong detection of LINKER_PUSHPOP_STATE_SUPPORTED
* fix cmake-gui: Invalid error message "Error: could not load cache"
* fix build with curl 8.13.0 (boo#1241036)
-------------------------------------------------------------------
Wed Mar 26 14:14:39 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Switch cmake-gui builds to Qt6.
- Add BuildRequires: qt6-macro to locate qhelpgenerator (in
%_qt6_libexecdir) and add corresponding path to env PATH.
- Drop use of deprecated %suse_update_desktop_file macro and
BuildRequires: update-desktop-files needed solely for this.
-------------------------------------------------------------------
Tue Mar 11 06:54:19 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Add cmake-findhdf5-prefer-hl-compilers.patch -- FindHDF5: Prefer
h5hl* compilers for HDF5_FIND_HL; patch submitted upstream
[https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10450.patch].
This fixes hdf5_hl detection issues when building hdf5 >= 1.14
using cmake instead of autotools.
-------------------------------------------------------------------
Fri Feb 28 20:22:35 UTC 2025 - Dirk Müller <dmueller@suse.com>
- temporarily revert "make %cmake_{build, install} call cmake
directly" as the fall out is too large. will be restored once
fallout can be mitigated
-------------------------------------------------------------------
Tue Feb 25 06:17:14 UTC 2025 - Christoph G <foss@grueninger.de>
- update to 3.31.6
* cmGeneratorExpressionDAGChecker: Construct with initializer
list syntax, De-duplicate constructor signature, Construct
with initializer list syntax
* GenEx: Restore evaluation context for conditional transitive
properties, Fix evaluation of LINK_LIBRARIES as custom
transitive property
* GoogleTest: Restore support for spaces in explicit
WORKING_DIRECTORY
--------------------------------------------------------------------
Wed Feb 19 00:34:48 UTC 2025 - Yoong Jin <solomoncyj@gmail.com>
- make %cmake_{build, install} call cmake directly
to auto set generator so that %global
are no longer needed to set generators
-------------------------------------------------------------------
Tue Jan 14 14:33:12 UTC 2025 - Christoph G <foss@grueninger.de>
- update to 3.31.4
* LFortran: Remove hard-coded --generate-object-code flag
* FindBoost: Add support for Boost 1.87
-------------------------------------------------------------------
Sat Dec 21 12:51:12 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.31.3
* cmLocalUnixMakefileGenerator3: Simplify progress command
generation
* Makefile: Fix per-directory codegen target
* Makefile: Enable progress messages for codegen target
* cmGlobalNinjaGenerator: Fixes and improvements
-------------------------------------------------------------------
Fri Dec 6 18:07:29 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.31.2
* GNU linker: Use single-argument form of --dependency-file flag
* fileapi: Do not expose flags for linker-generated dependencies
* LINK_OPTIONS: Fix crash on empty LINKER: prefix
* FindRuby: Add support for 3.4
-------------------------------------------------------------------
Tue Nov 26 20:10:59 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.31.1
* FindBoost: Add support for Boost 1.86
* libarchive: Update script to get 3.7.7
* execute_process: Restore CLOEXEC on OUTPUT_FILE and
ERROR_FILE descriptors
* LLD linker: avoid regression on archive libraries deduplication
-------------------------------------------------------------------
Thu Nov 7 17:56:10 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.31.0
* cmake-presets(7) files may now include comments using the key
"$comment" at any level within the JSON object to provide
documentation.
* The Ninja Generators and Makefile Generators now produce a
"codegen" build target.
* The "CMAKE_LINK_LIBRARIES_STRATEGY" variable and corresponding
"LINK_LIBRARIES_STRATEGY" target property were added to
optionally specify the strategy CMake uses to generate link
lines.
* The "CMAKE_EXPORT_BUILD_DATABASE" variable, a corresponding
"CMAKE_EXPORT_BUILD_DATABASE" environment variable, and an
"EXPORT_BUILD_DATABASE" target property, were added to enable
exporting C++ module compile commands. This is only supported
with Ninja Generators.
* The "CMAKE_<LANG>_HOST_COMPILER_ID" and
"CMAKE_<LANG>_HOST_COMPILER_VERSION" variables were added,
where "<LANG>" is either "CUDA" or "HIP". They are populated
when "CMAKE_<LANG>_COMPILER_ID" is "NVIDIA" to identify NVCC's
host compiler.
* The "file(DOWNLOAD)" and "file(UPLOAD)" commands now verify TLS
server certificates for connections to "https://" URLs by
default.
-------------------------------------------------------------------
Wed Oct 23 08:36:43 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.30.5:
* project: Only check non-cache vars when setting project vars
-------------------------------------------------------------------
Fri Sep 27 22:19:53 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.30.4:
* FetchContent: Don't update verify script timestamp if it
doesn't change
* project: Only define non-cache vars if already defined
* librhash: aligned_alloc is not available with glibc < 2.16
* FindPython: ensure all ABI are searched by default
* FindMatlab: multiple fixes for MCR
-------------------------------------------------------------------
Fri Aug 30 05:02:09 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.30.3:
* file(DOWNLOAD): Fix User-Agent to use run-time curl version
* curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error
codes
* FindPython: fix regression of NumPy detection with Intel MKL
library
* FindPython: ensure a usable environment is set for the free
threaded Python
* project: non cache <project> prefix variables are created
* FindJNI: Support finding libjvm.so for all OpenJDK variants
- Remove cmake-zerojvm.patch which is part of upstream
-------------------------------------------------------------------
Sat Aug 3 07:23:10 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.30.2:
* Swift: Fix INSTALL_NAME_DIR under CMP0157 NEW behavior
* ExternalProject: Don't add SVN auth args if not set
* bug fixes, developer visible fixes and updates to tests
- drop curl-8.9.0-output.patch
-------------------------------------------------------------------
Sat Jul 27 05:49:03 UTC 2024 - Christoph G <foss@grueninger.de>
- Add curl-8.9.0-output.patch to fix test for different output
with cURL 8.9.0. Part of upstream and will be part of 3.31.0.
-------------------------------------------------------------------
Fri Jul 19 16:27:30 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.30.1
* Tests: Fix RunCMake.ExternalProject when git is not available
+ Restore support for exporting INTERFACE with missing
dependencies
* FindMatlab: Restore support for finding Matlab without any
languages
* libuv: backport IDNA input/output hardening fixes
* IntelLLVM: Update toolchain layout for 2024+ versions
* Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage
- Drop cmake-fix-test-without-git.patch which is part of 3.30.1
-------------------------------------------------------------------
Wed Jul 3 05:50:53 UTC 2024 - Christoph G <foss@grueninger.de>
- udate to 3.30.0
* "cmake-presets(7)" files now support schema version "9".
"include" fields now expand all macros except "$env{}" and
preset-specific macros, i.e., those derived from the fields
inside a preset's definition.
* The "Compile Features" functionality now implements support
for the "cxx_std_26" and "cuda_std_26" meta-features to
indicate that the compiler mode must be at least C++26.
* The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
describe the latest "<LANG>" language standard CMake supports
for the selected compiler.
* The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
environment variable were added to specify a default minimum
TLS version for connections to "https://" URLs by the
"file(DOWNLOAD)" and "file(UPLOAD)" commands.
* The "GENERATED" source file property is now visible in all
directories. See policy "CMP0163". Policy "CMP0118"'s
documentation has been revised to describe its actual effects.
* The "TARGET_PROPERTY" generator expression learned to evaluate
custom transitive properties.
* The "CPack WIX Generator" gained support for WiX Toolset v4.
See the "CPACK_WIX_VERSION" variable.
* The "FindBoost" module has been removed by policy "CMP0167".
Port projects to upstream Boost's "BoostConfig.cmake" package
configuration file, for which "find_package(Boost)" now
searches.
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
conditionally when Git is found, upstream planned for 3.30.1
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 19 07:56:40 UTC 2024 - Dirk Müller <dmueller@suse.com> Wed Jun 19 07:56:40 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -57,7 +57,8 @@
-DBUILD_STATIC_LIBS:BOOL=OFF \\\ -DBUILD_STATIC_LIBS:BOOL=OFF \\\
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF \\\ -DCMAKE_COLOR_MAKEFILE:BOOL=OFF \\\
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\ -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\
-DCMAKE_MODULES_INSTALL_DIR=%{_libdir}/cmake/%{name} -DCMAKE_MODULES_INSTALL_DIR=%{_libdir}/cmake/%{name} \\\
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
%__builder_verbose \ %__builder_verbose \
%if "%__builder" == "%__make" \ %if "%__builder" == "%__make" \
@@ -77,6 +78,6 @@
DESTDIR=%{buildroot} %__builder install -C %__builddir DESTDIR=%{buildroot} %__builder install -C %__builddir
%ctest(:-:) \ %ctest(:-:) \
cd %__builddir \ cd %__builddir && \
%__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** \ %__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** ; \
cd .. cd ..

View File

@@ -1,8 +1,8 @@
# #
# spec file for package cmake # spec file for package cmake
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de> # Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -45,14 +45,14 @@
%else %else
%bcond_with full %bcond_with full
%endif %endif
%define shortversion 3.29 %define shortversion 4.0
%if 0%{?suse_version} && 0%{?suse_version} <= 1500 %if 0%{?suse_version} && 0%{?suse_version} <= 1500
%define pyver 311 %define pyver 311
%else %else
%define pyver 3 %define pyver 3
%endif %endif
Name: cmake%{?psuffix} Name: cmake%{?psuffix}
Version: 3.29.6 Version: 4.0.3
Release: 0 Release: 0
Summary: Cross-platform make system Summary: Cross-platform make system
License: BSD-3-Clause License: BSD-3-Clause
@@ -69,7 +69,8 @@ Source99: README.SUSE
Patch0: cmake-fix-ruby-test.patch Patch0: cmake-fix-ruby-test.patch
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice # Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
Patch1: feature-suse-python-interp-search-order.patch Patch1: feature-suse-python-interp-search-order.patch
Patch2: cmake-zerojvm.patch # PATCH-FIX-UPSTREAM cmake-findhdf5-prefer-hl-compilers.patch badshah400@gmail.com -- FindHDF5: Prefer h5hl* compilers for HDF5_FIND_HL; patch submitted upstream [https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10450.patch]
Patch2: cmake-findhdf5-prefer-hl-compilers.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig
@@ -108,11 +109,17 @@ BuildRequires: pkgconfig(libcurl)
%if %{with gui} %if %{with gui}
BuildRequires: python%{pyver}-Sphinx BuildRequires: python%{pyver}-Sphinx
BuildRequires: python%{pyver}-base BuildRequires: python%{pyver}-base
BuildRequires: update-desktop-files BuildRequires: qt6-macros
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6Widgets)
%if 0%{?suse_version} < 1600
# for #include <filesystem>
BuildRequires: gcc12-c++
%endif
%endif %endif
%if %{with qhelp} %if %{with qhelp}
BuildRequires: libqt5-qttools-qhelpgenerator BuildRequires: qt6-tools-helpgenerators
%endif %endif
%description %description
@@ -147,6 +154,10 @@ echo "`grep cmake-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOURC
%build %build
cp -p %{SOURCE99} . cp -p %{SOURCE99} .
%if %{with qhelp}
# Add path to qhelpgenerator
export PATH+=":%{_qt6_libexecdir}"
%endif
%if %{with mini} %if %{with mini}
# this is serial, so it takes too much time for the mini package # this is serial, so it takes too much time for the mini package
%define _find_debuginfo_dwz_opts %{nil} %define _find_debuginfo_dwz_opts %{nil}
@@ -154,6 +165,11 @@ cp -p %{SOURCE99} .
%endif %endif
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS"
%if %{with gui}
%if 0%{?suse_version} < 1600
export CXX=g++-12
%endif
%endif
%if "%{flavor}" != "" %if "%{flavor}" != ""
# This is not autotools configure # This is not autotools configure
./configure \ ./configure \
@@ -169,7 +185,11 @@ export CXXFLAGS="$CFLAGS"
--no-system-jsoncpp \ --no-system-jsoncpp \
--no-system-libarchive \ --no-system-libarchive \
%endif %endif
--parallel=0%{jobs} \ %if 0%{?suse_version} < 1600
--parallel=0%{jobs} \
%else
--parallel=${RPM_BUILD_NCPUS:-1} \
%endif
--verbose \ --verbose \
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
--system-libuv \ --system-libuv \
@@ -195,7 +215,6 @@ export CXXFLAGS="$CFLAGS"
mkdir -p %{buildroot}%{_libdir}/cmake mkdir -p %{buildroot}%{_libdir}/cmake
%if %{with gui} %if %{with gui}
%suse_update_desktop_file -r cmake-gui CMake Development IDE Tools Qt
# delete files that belong to the 'cmake' package # delete files that belong to the 'cmake' package
rm -rf %{buildroot}%{_bindir}/{cpack,cmake,ctest,ccmake} rm -rf %{buildroot}%{_bindir}/{cpack,cmake,ctest,ccmake}
@@ -218,9 +237,6 @@ install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
sed -i -e "1s@#!.*python.*@#!$(realpath %{_bindir}/python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov sed -i -e "1s@#!.*python.*@#!$(realpath %{_bindir}/python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov
# fix: W: files-duplicate (%%license covers already)
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
%fdupes %{buildroot}%{_datadir}/cmake %fdupes %{buildroot}%{_datadir}/cmake
%endif %endif
%endif %endif
@@ -238,13 +254,11 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
%if %{with qhelp} %if %{with qhelp}
%files -n cmake-doc-qhelp %files -n cmake-doc-qhelp
%license Copyright.txt
%{_docdir}/cmake/CMake.qch %{_docdir}/cmake/CMake.qch
%endif %endif
%if %{with gui} %if %{with gui}
%files -n cmake-gui %files -n cmake-gui
%license Copyright.txt
%{_bindir}/cmake-gui %{_bindir}/cmake-gui
%{_datadir}/applications/cmake-gui.desktop %{_datadir}/applications/cmake-gui.desktop
%{_datadir}/mime/packages/cmakecache.xml %{_datadir}/mime/packages/cmakecache.xml
@@ -255,7 +269,6 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
%{_datadir}/icons/hicolor/32x32/apps/CMakeSetup.png %{_datadir}/icons/hicolor/32x32/apps/CMakeSetup.png
%files -n cmake-man %files -n cmake-man
%license Copyright.txt
%{_mandir}/man7/* %{_mandir}/man7/*
%{_mandir}/man1/* %{_mandir}/man1/*
@@ -265,7 +278,6 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
%if "%{flavor}" == "" %if "%{flavor}" == ""
%doc README.SUSE %doc README.SUSE
%else %else
%license Copyright.txt
%doc README.rst %doc README.rst
%{_rpmconfigdir}/macros.d/macros.cmake %{_rpmconfigdir}/macros.d/macros.cmake
%{_fileattrsdir}/cmake.attr %{_fileattrsdir}/cmake.attr