public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocm-omp] rawhide: merge compat changes
Date: Sun, 07 Jun 2026 19:34:49 GMT	[thread overview]
Message-ID: <178086088930.1.287396861250488241.rpms-rocm-omp-ef1959ed5e07@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocm-omp
            Branch : rawhide
            Commit : ef1959ed5e0767c2530e7b145c1f4cc85f3a4b3c
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-06-07T12:34:03-07:00
            Stats  : +19/-25 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-omp/c/ef1959ed5e0767c2530e7b145c1f4cc85f3a4b3c?branch=rawhide

            Log:
            merge compat changes

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rocm-omp.spec b/rocm-omp.spec
index d53dedd..e9192f3 100644
--- a/rocm-omp.spec
+++ b/rocm-omp.spec
@@ -69,12 +69,15 @@ Version:        %{rocm_version}
 %if %{with preview}
 Release:        0%{?dist}
 %else
-Release:        2%{?dist}
+Release:        3%{?dist}
 %endif
 Summary:        ROCm OpenMP
 
 Url:            https://github.com/ROCm/%{upstreamname}
-License:        Apache-2.0 WITH LLVM-exception OR NCSA AND MIT
+License:        (Apache-2.0 WITH LLVM-exception OR NCSA) AND Apache-2.0 AND BSD-3-Clause
+# llvm is Apache-2.0 WITH LLVM-exception OR NCSA
+# openmp/runtime is Apache-2.0
+# openmp/runtime/src/thirdparty/ittnotify is BSD-3-Clause
 Source0:        %{url}/archive/refs/tags/%{pkg_src}.tar.gz#/rocm-omp-%{rocm_version}.tar.gz
 
 BuildRequires:  binutils-devel
@@ -87,10 +90,13 @@ BuildRequires:  libffi-devel
 BuildRequires:  libzstd-devel
 BuildRequires:  perl
 BuildRequires:  rocm-compilersupport%{pkg_suffix}-macros
+BuildRequires:  rocm-filesystem%{pkg_suffix}
+BuildRequires:  rocm-llvm%{pkg_suffix}-filesystem
 BuildRequires:  rocm-device-libs%{pkg_suffix}
 BuildRequires:  rocm-runtime%{pkg_suffix}-devel
 BuildRequires:  zlib-devel
 
+Provides:       bundled(ittapi) = 3.0.0
 Requires:       rocm-llvm%{pkg_suffix}-filesystem
 
 ExclusiveArch:  x86_64
@@ -101,24 +107,23 @@ ExclusiveArch:  x86_64
 
 %package devel
 Summary:        Libraries and headers for %{name}
-Requires:       %{name}%{?_isa} = %{version}-%{release}
+# main package is empty, do not require it
+Requires:       rocm-filesystem%{pkg_suffix}
+Requires:       rocm-llvm%{pkg_suffix}-filesystem
 
 %description devel
 %{summary}
 
-%package static
-Summary:        Static Libraries for %{name}
-Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
-
-%description static
-%{summary}
-
 %prep
 %autosetup -p1 -n %{upstreamname}-%{pkg_src}
 
 # rm llvm-project bits we do not need
 rm -rf {bolt,clang,compiler-rt,flang,libc,libclc,libcxx,libcxxabi,libunwind,lld,lldb,llvm-libgcc,mlir,polly,pst,runtimes,utils}
 
+# Other licenses
+cp -p openmp/runtime/src/thirdparty/ittnotify/LICENSE.txt LICENSE.ittnotify.txt
+cp -p openmp/LICENSE.TXT LICENSE.openmp.txt
+
 %build
 
 %global llvmrocm_cmake_config \\\
@@ -224,27 +229,16 @@ cd openmp
 rm -rf %{buildroot}%{bundle_prefix}/lib/omptest
 rm -rf %{buildroot}%{bundle_prefix}/lib/cmake/omptest
 
-# 6.4 remove everything, may not need the main package
-#  bin/llvm-omp*
-#  bin/prep-libomptarget-bc
-#  lib/libomp*.so.*
-%files
-
-# 6.4 removed :
-#  lib/clang/%%{llvm_maj_ver}/include/hostexec.h
-#  lib/disable_dynamic_devmem.ll
-#  lib/libdevice/
-#  lib/*.bc
 %files devel
+%license LICENSE.TXT LICENSE.ittnotify.txt LICENSE.openmp.txt
 %{bundle_prefix}/include/omp*.h
 %{bundle_prefix}/lib/cmake/openmp/
 %{bundle_prefix}/lib/libomp*.so
 
-# 6.4 removed everything, , may not need this subpackage
-#  lib/libomptarget.devicertl.a
-%files static
-
 %changelog
+* Sun Jun 7 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
+- merge compat changes
+
 * Thu Mar 12 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
 - Add --with preview
 

                 reply	other threads:[~2026-06-07 19:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178086088930.1.287396861250488241.rpms-rocm-omp-ef1959ed5e07@fedoraproject.org \
    --to=tom.rix@amd.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox