Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package adaptivecpp for openSUSE:Factory checked in at 2025-04-20 09:35:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/adaptivecpp (Old) and /work/SRC/openSUSE:Factory/.adaptivecpp.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "adaptivecpp" Sun Apr 20 09:35:32 2025 rev:5 rq:1270916 version:24.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/adaptivecpp/adaptivecpp.changes 2025-01-07 20:52:27.590531692 +0100 +++ /work/SRC/openSUSE:Factory/.adaptivecpp.new.30101/adaptivecpp.changes 2025-04-20 19:48:57.581362306 +0200 @@ -1,0 +2,7 @@ +Fri Apr 18 08:24:05 UTC 2025 - Andreas Stieger <[email protected]> + +- fix build with cmake4 boo#1239788 adaptivecpp-24.10.0-cmake4.patch +- version is 24.10.0 because the package packs tags without offset +- pin to llvm19 + +------------------------------------------------------------------- Old: ---- adaptivecpp-24.10.0~0.obscpio New: ---- adaptivecpp-24.10.0-cmake4.patch adaptivecpp-24.10.0.obscpio BETA DEBUG BEGIN: New: - fix build with cmake4 boo#1239788 adaptivecpp-24.10.0-cmake4.patch - version is 24.10.0 because the package packs tags without offset BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ adaptivecpp.spec ++++++ --- /var/tmp/diff_new_pack.xKT6l9/_old 2025-04-20 19:48:58.057382097 +0200 +++ /var/tmp/diff_new_pack.xKT6l9/_new 2025-04-20 19:48:58.057382097 +0200 @@ -2,6 +2,7 @@ # spec file for package adaptivecpp # # Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +18,7 @@ Name: adaptivecpp -Version: 24.10.0~0 +Version: 24.10.0 Release: 0 Summary: Open implementation of SYCL for CPUs and GPUs License: BSD-2-Clause @@ -25,9 +26,9 @@ Source: %{name}-%{version}.tar.gz Patch1: 0001-Use-bin-env-python3-instead-of-python3-in-scripts.patch Patch2: 0002-Remove-realpath-in-acpp.patch +Patch3: adaptivecpp-24.10.0-cmake4.patch BuildRequires: boost-devel -BuildRequires: clang -BuildRequires: clang-devel +BuildRequires: clang19-devel BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc @@ -36,8 +37,7 @@ BuildRequires: libboost_fiber-devel BuildRequires: libboost_test-devel BuildRequires: libedit-devel -BuildRequires: llvm -BuildRequires: llvm-devel +BuildRequires: llvm19-devel BuildRequires: make BuildRequires: ninja BuildRequires: pkgconfig @@ -158,6 +158,7 @@ %endif %files devel +%license LICENSE %{_includedir}/AdaptiveCpp/ %dir %{_prefix}/lib/cmake/ %{_prefix}/lib/cmake/AdaptiveCpp/ @@ -167,22 +168,28 @@ %{_prefix}%{_sysconfdir}/AdaptiveCpp/acpp-core.json %files -n libacpp-common +%license LICENSE %{_prefix}/lib/libacpp-common.so %files -n libacpp-clang +%license LICENSE %{_prefix}/lib/libacpp-clang.so %files -n libacpp-rt +%license LICENSE %{_prefix}/lib/libacpp-rt.so %files -n libacpp-bitcode +%license LICENSE %dir %{_prefix}/lib/hipSYCL/ %{_prefix}/lib/hipSYCL/bitcode/ %files -n libacpp-rt-omp +%license LICENSE %{_prefix}/lib/hipSYCL/librt-backend-omp.so %files -n libacpp-llvm-to-backend +%license LICENSE %dir %{_prefix}/lib/hipSYCL/ %{_prefix}/lib/hipSYCL/llvm-to-backend/ ++++++ _service ++++++ --- /var/tmp/diff_new_pack.xKT6l9/_old 2025-04-20 19:48:58.089383427 +0200 +++ /var/tmp/diff_new_pack.xKT6l9/_new 2025-04-20 19:48:58.093383594 +0200 @@ -5,14 +5,11 @@ <param name="url">https://github.com/AdaptiveCpp/AdaptiveCpp.git</param> <param name="scm">git</param> <param name="revision">v24.10.0</param> - <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param> + <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> </service> - - <service name="set_version" mode="manual" /> - <service name="tar" mode="buildtime"> <param name="package-meta">yes</param> </service> @@ -20,6 +17,5 @@ <param name="compression">gz</param> <param name="file">*.tar</param> </service> - </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.xKT6l9/_old 2025-04-20 19:48:58.117384591 +0200 +++ /var/tmp/diff_new_pack.xKT6l9/_new 2025-04-20 19:48:58.117384591 +0200 @@ -1,6 +1,7 @@ <servicedata> -<service name="tar_scm"> - <param name="url">https://github.com/AdaptiveCpp/AdaptiveCpp.git</param> - <param name="changesrevision">7677cf6eefd8ab46d66168cd07ab042109448124</param></service></servicedata> -(No newline at EOF) + <service name="tar_scm"> + <param name="url">https://github.com/AdaptiveCpp/AdaptiveCpp.git</param> + <param name="changesrevision">7677cf6eefd8ab46d66168cd07ab042109448124</param> + </service> +</servicedata> ++++++ adaptivecpp-24.10.0-cmake4.patch ++++++ >From daa984bc44ae068f83805256dc43c8813efa943b Mon Sep 17 00:00:00 2001 From: Marco Julian Solanki <[email protected]> Date: Tue, 1 Apr 2025 01:30:05 +0200 Subject: [PATCH] Fix broken builds due to CMake 4.0 axing compatibility with CMake < 3.5 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 287c60b9c..55ac6e821 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,10 @@ if(POLICY CMP0167) # Since CMake 3.30 cmake_policy(SET CMP0167 OLD) endif() +if(CMAKE_VERSION VERSION_GREATER_EQUAL 4.0) + # Prevent CMake >= 4.0 from failing when configuring, e.g. the ocl-cxx-headers. + set(CMAKE_POLICY_VERSION_MINIMUM 3.5) +endif() set(ACPP_VERSION_MAJOR 24) set(ACPP_VERSION_MINOR 10) ++++++ adaptivecpp-24.10.0~0.obscpio -> adaptivecpp-24.10.0.obscpio ++++++ ++++++ adaptivecpp.obsinfo ++++++ --- /var/tmp/diff_new_pack.xKT6l9/_old 2025-04-20 19:48:58.541402220 +0200 +++ /var/tmp/diff_new_pack.xKT6l9/_new 2025-04-20 19:48:58.545402386 +0200 @@ -1,5 +1,5 @@ name: adaptivecpp -version: 24.10.0~0 +version: 24.10.0 mtime: 1734735424 commit: 7677cf6eefd8ab46d66168cd07ab042109448124
