Commit Graph

373 Commits

Author SHA256 Message Date
00a1d89f7e Accepting request 1139691 from home:Thaodan:branches:devel:tools:building
- macros: Set some more variables notable %{_docdir} so that GNUInstallDirs
  works fully on openSUSE. Packages using CMAKE_INSTALL_DOCDIR fail otherwise.

OBS-URL: https://build.opensuse.org/request/show/1139691
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=566
2024-01-18 12:22:02 +00:00
7485b5ca29 Accepting request 1138115 from home:simotek:branches:devel:tools:building
Merge in changes from https://build.opensuse.org/request/show/1137930/

- Use new enough Sphinx on SLE (jsc#PED-7572 boo#1218125).

OBS-URL: https://build.opensuse.org/request/show/1138115
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=564
2024-01-11 11:35:31 +00:00
796a383ea3 Accepting request 1138016 from home:simotek:branches:devel:tools:building
- A quick note for the bots that boo#1217009 is already fixed
  in tumbleweed

OBS-URL: https://build.opensuse.org/request/show/1138016
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=563
2024-01-11 01:42:22 +00:00
2ce911feda Accepting request 1135308 from home:StefanBruens:branches:devel:tools:building
- Re-add "-Wl,--no-undefined" linker flags for executables and
  regular shared libraries. Shared library targets which are used
  as plugins/modules should use `add_library(... MODULE ...), which
  uses the "CMAKE_MODULE_LINKER_FLAGS".

OBS-URL: https://build.opensuse.org/request/show/1135308
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=561
2023-12-29 08:49:37 +00:00
074d122d3f Accepting request 1133221 from home:mathletic:branches:devel:tools:building
- update to 3.28.1
  * cmGeneratorTarget: disable C++ module scanning for verify targets
  * cmQtAutoGenInitializer: disable C++ module scanning for autogen sources
  * cmLocalGenerator: disable C++ module scanning for copied PCH sources
  * cmLocalGenerator: disable C++ module scanning for unity sources
  * cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files
  * FindFreetype: always find the config module quietly
  * FindFreetype: also consider RelWithDebInfo-built libraries
  * FindTIFF: always find the config module quietly
  * FindTIFF: consider `IMPLIB`-using platforms
  * FindCUDAToolkit: Fix stub library representation on reconfigure
  * FindMatlab: Fix regression on Windows Registry lookup failure
  * FindFreetype: Fix success message when config module is found
  * FindTIFF: Restore support for projects that do not enable CMP0057
  * FindMatlab: Fix processing of multiple versions from Windows Registry

OBS-URL: https://build.opensuse.org/request/show/1133221
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=559
2023-12-15 09:39:42 +00:00
9ca118cc69 Accepting request 1131496 from home:mathletic:branches:devel:tools:building
- update to 3.28.0
  * C++ 20 named modules are now supported by Ninja Generators, in
    combination with LLVM/Clang 16.0 and newer, and GCC 14 (after
    the 2023-09-20 daily bump) and newer.
  * "HIP" language code may now be compiled for NVIDIA GPUs using
    the NVIDIA CUDA Compiler (NVCC).
  * The "exec_program()" command, which has been deprecated since
    CMake 3.0, has been removed by policy "CMP0153". Use the
    "execute_process()" command instead.
  * Generated files, in targets using File Sets, are now considered
    private by default.  Generated public headers must be specified
    using file sets.
  * The "find_library()", "find_path()", and "find_file()" commands no
    longer search in installation prefixes derived from the "PATH"
    environment variable.

OBS-URL: https://build.opensuse.org/request/show/1131496
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=558
2023-12-07 00:57:53 +00:00
9704134303 Accepting request 1129860 from home:AndreasStieger:branches:devel:tools:building
cmake 3.27.9

OBS-URL: https://build.opensuse.org/request/show/1129860
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=556
2023-11-30 00:13:37 +00:00
f93a631d72 - update to 3.27.8 (bsc#1215888, CVE-2023-38545):
* cmComputeLinkDepends: also copy the target from object link items
  * cmComputeLinkInformation: skip over linking to items for object purposes
  * Fortran: Restore support for TARGET_OBJECTS providing modules
  * curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
  * GetPrerequisites: Revert “Ignore relative paths printed by ldd”
  * cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
  * cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
  * FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2
- modify shebang to the actual python interpreter on install
    target_sources() command.
  and turn off LTO
    fix may be restored in a future version of CMake via a policy.
    CMAKE_CONFIGURATION_TYPES
    CMAKE_INSTALL_MODE
  * Multiple further bug fixes
  race
  compiler generated headers.
  * The Compile Features functionality was updated for MSVC 19.28
  https://blog.kitware.com/cmake-3-17-0-available-for-download/
  * In CMake 3.15.0 through 3.15.3, the EXCLUDE_FROM_ALL directory
    within the directory to be excluded even from its own “all”.
    This has been fixed. The bug also existed in 3.14.0 through
- Use pkgconfig for dependencies where possible (required due to
    find_package() command to fail on a missing package even
  * reverted change to pass compiler implicit include directories
  * Cmake(1) build tool (cmake--build) gained --parallel [<jobs>]
  * CMAKE_FOLDER variable was added to initialze the FOLDER property
  * ChangeLog, see: https://cmake.org/cmake/help/v3.12/release/3.12.html
- adjust c17-default.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=554
2023-11-27 08:48:10 +00:00
674068c525 Accepting request 1124704 from home:dimstar:Factory
Revert that cmake macro stuff that has been causing grieph since August

Once a proper solution is found, things like this can be re-attempted,
but for now we need a solution to move forward with newer cmake versions
for zlib 1.3 compatibility

OBS-URL: https://build.opensuse.org/request/show/1124704
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=552
2023-11-11 16:07:56 +00:00
92274bd9cc Accepting request 1119169 from home:jengelh:branches:devel:tools:building
- Stick -DNDEBUG back into CMAKE_C_FLAGS. Can't find a spontaneous
  resolution for projects relying on its presence.

OBS-URL: https://build.opensuse.org/request/show/1119169
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=551
2023-10-26 06:40:59 +00:00
5ffbae606f Accepting request 1117602 from home:polslinux:branches:devel:tools:building
- update to 3.27.7:
  * Tests: Clarify RunCMake.CTestTimeout case name
  * ctest: Restore support for --timeout values higher than default test timeout
  * Help: Document CMP0124 behavior on already-set variables
  * FindPostgreSQL: Add support for version 16

OBS-URL: https://build.opensuse.org/request/show/1117602
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=550
2023-10-13 08:30:36 +00:00
30076be1e5 Accepting request 1111436 from home:polslinux:branches:devel:tools:building
- update to 3.27.5:
  * cmGeneratorTarget: support config-independent Fortran source queries
  * cmComputeLinkInformation: compute link info for module-using targets
  * FortranCInterface: forward CMAKE_OSX_DEPLOYMENT_TARGET
  * cxxmodules: detect and message about non-compiled sources
  * Source: Link libatomic when needed on any Linux architecture
  * Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable
  * FindBoost: Add support for Boost 1.83
  * Autogen: Evaluate INTERFACE_AUTOMOC_MACRO_NAMES efficiently
  * VS: Avoid unnecessary CUDA device linking for OBJECT libraries

OBS-URL: https://build.opensuse.org/request/show/1111436
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=549
2023-09-15 07:24:47 +00:00
Martin Pluskal
18e54a0c8f Accepting request 1105508 from home:AndreasStieger:branches:devel:tools:building
cmake 3.27.4

OBS-URL: https://build.opensuse.org/request/show/1105508
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=548
2023-08-28 08:33:24 +00:00
f149f52acc Accepting request 1104229 from home:jengelh:branches:devel:tools:building
- Make %cmake_build insert RELWITHDEBINFO CFLAGS as well to avoid
  projects overriding our %optflags with some cmake default.

OBS-URL: https://build.opensuse.org/request/show/1104229
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=547
2023-08-17 02:09:25 +00:00
80d928be19 Accepting request 1103617 from home:mathletic:branches:openSUSE:Factory
- update to 3.27.2
  * Tests: Remove redundant condition in RunCMake.GeneratorPlatform
    test
  * file(GENERATE): Restore INPUT|CONTENT parse checking
  * cmList: Fix performance regression in append/prepend

OBS-URL: https://build.opensuse.org/request/show/1103617
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=545
2023-08-13 20:00:39 +00:00
eb612eda5e Accepting request 1101257 from home:mathletic:branches:devel:tools:building
- Update to 3.27.1

OBS-URL: https://build.opensuse.org/request/show/1101257
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=543
2023-07-29 06:00:00 +00:00
6b14f4500c Accepting request 1099782 from home:mathletic:branches:devel:tools:building
Add explanation in change log why we are using --no-system-cppdap

OBS-URL: https://build.opensuse.org/request/show/1099782
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=541
2023-07-21 07:35:58 +00:00
58aec38961 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=540 2023-07-20 12:09:27 +00:00
ed76223df7 Accepting request 1099345 from home:mathletic:branches:devel:tools:building
- Update to 3.27.0

OBS-URL: https://build.opensuse.org/request/show/1099345
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=539
2023-07-19 11:12:08 +00:00
220f6823d0 - rebuild cmake-full on libuv updates (bsc#1212090)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=537
2023-07-06 07:27:19 +00:00
0f32c4f3f0 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=535 2023-06-13 06:27:49 +00:00
b8d55eb4fe - modify shebang to the actual python interpreter on install
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=534
2023-06-12 23:00:22 +00:00
3f2f6bad3d Accepting request 1087894 from home:polslinux:branches:devel:tools:building
- Update to 3.26.4:
  * Some implementation updates were made to support ecosystem changes
    and/or fix regressions.

OBS-URL: https://build.opensuse.org/request/show/1087894
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=532
2023-05-19 07:29:48 +00:00
51ab3cbdc5 Accepting request 1085362 from home:Pharaoh_Atem:branches:devel:tools:building
- macros: Drop "-Wl,--no-undefined" as it breaks packages that
  build plugins

OBS-URL: https://build.opensuse.org/request/show/1085362
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=530
2023-05-08 08:37:21 +00:00
02a9498f8f Accepting request 1082125 from home:gmbr3:Active
- macros: Re-add old setup on top of new - some applications still
  use the old version

OBS-URL: https://build.opensuse.org/request/show/1082125
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=528
2023-04-24 09:18:48 +00:00
bbc9c7d7f1 Accepting request 1080965 from home:gmbr3:Active
- macros: substitute exactly once otherwise some non default values
  won't work

OBS-URL: https://build.opensuse.org/request/show/1080965
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=527
2023-04-21 12:32:35 +00:00
04ff4295d9 Accepting request 1079125 from home:gmbr3:Active
- macros: Convert to GNUInstallDirs
  * some of the old values such as SYSCONF_INSTALL_PATH aren't
    used anymore
  * RUNSTATEDIR and SHAREDSTATEDIR weren't set and the defaults
    are different to us
  * SHAREDSTATEDIR isn't under /usr so isn't relative

OBS-URL: https://build.opensuse.org/request/show/1079125
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=526
2023-04-13 11:28:17 +00:00
8fe9dae4df Accepting request 1077572 from home:AndreasStieger:branches:devel:tools:building
3.26.3

OBS-URL: https://build.opensuse.org/request/show/1077572
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=524
2023-04-06 08:08:15 +00:00
a90db25848 Accepting request 1075569 from home:polslinux:branches:devel:tools:building
- update to 3.26.2:
  * This version made no changes to documented features or interfaces.
    Some implementation updates were made to support ecosystem changes
    and/or fix regressions.

OBS-URL: https://build.opensuse.org/request/show/1075569
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=522
2023-03-30 18:59:31 +00:00
OBS User buildservice-autocommit
4de38b150a Updating link to change in openSUSE:Factory/cmake revision 229
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=7bc13f3bd37f550b745db166b62c17f6
2023-03-28 15:48:35 +00:00
OBS User buildservice-autocommit
5eb90673ee Accepting request 1074470 from devel:tools:building
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/1074470
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=521
2023-03-28 15:48:35 +00:00
b31f70829a Accepting request 1074272 from home:mathletic:branches:devel:tools:building
- update to 3.26.1
  * Fixes for C++ module support
  * FindPython: ensure Stable ABI is correctly handled

OBS-URL: https://build.opensuse.org/request/show/1074272
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=520
2023-03-26 16:44:29 +00:00
93d7df6bb1 - update to 3.26.0
* The “ASM_MARMASM” language was added to support the Microsoft
    ARM assembler language.
  * CMake now writes a YAML log of configure-time checks to
    “CMakeFiles/CMakeConfigureLog.yaml” under the top of the build
    tree.
  * The “cmake-file-api(7)” “codemodel” version 2 “target” object
    gained a new “fileSets” field and associated “fileSetIndex”
    field to “sources” objects.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=517
2023-03-14 22:23:09 +00:00
fa37910ce3 Accepting request 1071859 from home:AndreasStieger:branches:devel:tools:building
cmake 3.25.3

OBS-URL: https://build.opensuse.org/request/show/1071859
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=516
2023-03-14 22:21:24 +00:00
39f88688f8 - update to 3.25.2:
* CUDA language level 20 (corresponding to C++20) is now supported with NVCC 12.0
    and above.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=514
2023-01-21 09:17:46 +00:00
dcaedf6f38 Accepting request 1039398 from home:mathletic:branches:devel:tools:building
- Update to 3.25.1
  * Tests: Update FindBoost.TestPython for Python 3.11 and 3.12
  * try_compile: Restore COPY_FILE with
    CMAKE_TRY_COMPILE_CONFIGURATION
  * FindCUDA: Do not use CUDA_nppicom_LIBRARY in CUDA 11.0+

OBS-URL: https://build.opensuse.org/request/show/1039398
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=512
2022-12-02 12:20:51 +00:00
ba20a1022a Accepting request 1036397 from home:mathletic:branches:devel:tools:building
- Update to 3.25.0
  * The “find_file()”, “find_path()”, “find_library()”, and
    “find_program()” commands gained a “VALIDATOR” option to
    specify a function to be called for each candidate item
    to validate it.
  * The “try_compile()” and “try_run()” commands gained new
    signatures that more consistently use keyword dispatch
    and do not require a binary directory to be specified.
  * The “add_subdirectory()” command gained a “SYSTEM” option
    to enable the “SYSTEM” directory property in the
    subdirectory.
  * The “block()” and “endblock()” commands were added to manage
    specific scopes (policy or variable) for a contained block
    of commands.
  * The “return()” command gained a “PROPAGATE” option to
    propagate variables to the scope to which control returns.
  * The “LINUX” and “CMAKE_HOST_LINUX” variables are now set
    to true when the target or host system is Linux,
    respectively.

OBS-URL: https://build.opensuse.org/request/show/1036397
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=510
2022-11-17 07:32:39 +00:00
7a399c11b0 Accepting request 1032940 from home:mathletic:branches:devel:tools:building
- Update to 3.24.3
  * LLVMFlang: Add support for mixed-language linking with Fortran
  * FindMatlab: add R2022b 9.13 version map
  * Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag
  * CUDA: Add support for the two new architectures in 11.8

OBS-URL: https://build.opensuse.org/request/show/1032940
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=508
2022-11-03 01:28:27 +00:00
a191d7a472 Accepting request 1004258 from home:mathletic:branches:devel:tools:building
Update to 3.24.2

OBS-URL: https://build.opensuse.org/request/show/1004258
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=506
2022-09-17 16:18:30 +00:00
da3833fe85 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=504 2022-08-24 09:45:56 +00:00
fb770b7cbd OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=503 2022-08-24 09:18:48 +00:00
07c60c120b - add glibc-236.patch (bsc#1202208)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=502
2022-08-23 15:05:45 +00:00
5997e9c000 Accepting request 997696 from home:polslinux:branches:devel:tools:building
- Update to 3.24.1:
  * automoc: avoid compiler warnings in linker-warning-silencing code
  * FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
  * IPO: Do not use -flto=auto with GCC 10.x on Windows
  * export: Restore exclusion of private shared library dependencies from checks
  * FindVulkan: Restore tolerance of unknown FATAL_ERROR component
  * Help: Add 3.24 release note about FindVulkan component enforcement
  * TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property
  * Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR
  * Help: A missing cross-reference to --compile-no-warning-as-error

OBS-URL: https://build.opensuse.org/request/show/997696
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=500
2022-08-18 11:37:43 +00:00
f32623e73e Accepting request 993159 from home:mathletic:branches:devel:tools:building
Update to 3.24.0

OBS-URL: https://build.opensuse.org/request/show/993159
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=498
2022-08-05 00:53:14 +00:00
c597f4bab8 Accepting request 992207 from home:polslinux:branches:devel:tools:building
- Update to 3.23.3:
  * This version made no changes to documented features or interfaces.
    Some implementation updates were made to support ecosystem changes
    and/or fix regressions.
- Rebase cmake-fix-ruby-test.patch
- Rebase cmake-fix-png-include-dir.patch

OBS-URL: https://build.opensuse.org/request/show/992207
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=496
2022-08-02 09:12:12 +00:00
e88273a269 Accepting request 986334 from home:cgiboudeaux:branches:devel:tools:building
- Fix the %%cmake macro which tried to run sed on 'CMakeLists.txt'
  without making sure it's not a folder.

Found while fixing the liboqs package which has a folder named CMakeLists.txt

OBS-URL: https://build.opensuse.org/request/show/986334
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=494
2022-07-03 12:07:34 +00:00
4bad45639d - update to 3.23.2:
* The ``CPACK_PACKAGEMAKER_CHOICES`` variable used in the
    ``CPack.distribution.dist.in`` template file was replaced by a new
    ``CPACK_APPLE_PKG_INSTALLER_CONTENT`` variable in CMake 3.23.0.
    This broke projects that provided their own template file but still
    expected the ``CPACK_PACKAGEMAKER_CHOICES`` variable to be defined.
    The old ``CPACK_PACKAGEMAKER_CHOICES`` variable is now also set to the
    same content as it was before, but it is formally deprecated.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=492
2022-06-05 00:20:32 +00:00
e1450897b2 Accepting request 979615 from home:jengelh:branches:devel:tools:building
- Edit cmake.macros: Stop injecting -DNDEBUG at the end of
  CFLAGS. It's impossible to override by re-setting CFLAGS, and
  if it were really wanted globally, it should be in %optflags
  instead.

OBS-URL: https://build.opensuse.org/request/show/979615
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=491
2022-06-04 08:14:02 +00:00
6c892ff060 - update to 3.23.1:
* The target_sources() FILE_SET feature added in CMake 3.23.0 does not yet
    place header files properly in Apple FRAMEWORK targets. Pending further
    work in a future version of CMake, it is now an error to add a FILE_SET of
    type HEADERS to such targets on Apple platforms.
  * The HEADER_SETS and INTERFACE_HEADER_SETS target properties added in CMake
    3.23.0 are now read-only records of the header sets created by the
    target_sources() command.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=489
2022-04-13 20:49:49 +00:00
4c37ec6872 - speed up build of :mini flavor by using external zstd (part of 0-Bootstrap)
and turn off LTO

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=487
2022-04-08 11:48:49 +00:00