Architecture specific change in rpms/rust-serial_test0.5.git
by githook-noreply@fedoraproject.org
The package rpms/rust-serial_test0.5.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-serial_test0.5.git/commit/?i....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d0c9a4b5bd7160068c81650bfea902c9459a1879
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 14 19:18:59 2022 +0200
Initial import (serial_test 0.5 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7df3ee0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/serial_test-0.5.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 95aa0f0..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-serial_test0.5
-
-The rust-serial_test0.5 package
diff --git a/rust-serial_test0.5.spec b/rust-serial_test0.5.spec
new file mode 100644
index 0000000..f292c1c
--- /dev/null
+++ b/rust-serial_test0.5.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate serial_test
+
+Name: rust-%{crate}0.5
+Version: 0.5.1
+Release: %autorelease
+Summary: Allows for the creation of serialised Rust tests
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/serial_test
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Allows for the creation of serialised Rust tests.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..5d180da
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (serial_test-0.5.1.crate) = e1a0f7a24981698eaa6bcce8f951863f76e8a2750aff3191104d092a06021c39d4eb2e9b74e6690b0dba0d674a216ea170efe0a5367d22bdef72c2006f644a4e
2 years
Architecture specific change in rpms/rust-serial_test0.5.git
by githook-noreply@fedoraproject.org
The package rpms/rust-serial_test0.5.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-serial_test0.5.git/commit/?i....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d0c9a4b5bd7160068c81650bfea902c9459a1879
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 14 19:18:59 2022 +0200
Initial import (serial_test 0.5 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7df3ee0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/serial_test-0.5.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 95aa0f0..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-serial_test0.5
-
-The rust-serial_test0.5 package
diff --git a/rust-serial_test0.5.spec b/rust-serial_test0.5.spec
new file mode 100644
index 0000000..f292c1c
--- /dev/null
+++ b/rust-serial_test0.5.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate serial_test
+
+Name: rust-%{crate}0.5
+Version: 0.5.1
+Release: %autorelease
+Summary: Allows for the creation of serialised Rust tests
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/serial_test
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Allows for the creation of serialised Rust tests.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..5d180da
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (serial_test-0.5.1.crate) = e1a0f7a24981698eaa6bcce8f951863f76e8a2750aff3191104d092a06021c39d4eb2e9b74e6690b0dba0d674a216ea170efe0a5367d22bdef72c2006f644a4e
2 years
Architecture specific change in rpms/rust-serial_test0.5.git
by githook-noreply@fedoraproject.org
The package rpms/rust-serial_test0.5.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-serial_test0.5.git/commit/?i....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d0c9a4b5bd7160068c81650bfea902c9459a1879
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 14 19:18:59 2022 +0200
Initial import (serial_test 0.5 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7df3ee0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/serial_test-0.5.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 95aa0f0..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-serial_test0.5
-
-The rust-serial_test0.5 package
diff --git a/rust-serial_test0.5.spec b/rust-serial_test0.5.spec
new file mode 100644
index 0000000..f292c1c
--- /dev/null
+++ b/rust-serial_test0.5.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate serial_test
+
+Name: rust-%{crate}0.5
+Version: 0.5.1
+Release: %autorelease
+Summary: Allows for the creation of serialised Rust tests
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/serial_test
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Allows for the creation of serialised Rust tests.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..5d180da
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (serial_test-0.5.1.crate) = e1a0f7a24981698eaa6bcce8f951863f76e8a2750aff3191104d092a06021c39d4eb2e9b74e6690b0dba0d674a216ea170efe0a5367d22bdef72c2006f644a4e
2 years
Architecture specific change in rpms/rust-serial_test_derive0.5.git
by githook-noreply@fedoraproject.org
The package rpms/rust-serial_test_derive0.5.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-serial_test_derive0.5.git/co....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit bb60e8fe26f0f55495a3db0dd695abc3cb918b3e
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 14 19:18:00 2022 +0200
Initial import (serial_test_derive 0.5 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e642a14
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/serial_test_derive-0.5.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index bb35a5b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-serial_test_derive0.5
-
-The rust-serial_test_derive0.5 package
diff --git a/rust-serial_test_derive0.5.spec b/rust-serial_test_derive0.5.spec
new file mode 100644
index 0000000..71c498f
--- /dev/null
+++ b/rust-serial_test_derive0.5.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate serial_test_derive
+
+Name: rust-%{crate}0.5
+Version: 0.5.1
+Release: %autorelease
+Summary: Helper crate for serial_test
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/serial_test_derive
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Helper crate for serial_test.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..f483dcf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (serial_test_derive-0.5.1.crate) = e3f4b3c2eed1b284dbff7447c2f912343f9b95cbd88f3387c0136ca42698b38a607c752277ee4590ded9f73f475325d2652ba67ba029ddd54711d9070ac5f43e
2 years
Architecture specific change in rpms/rust-serial_test_derive0.5.git
by githook-noreply@fedoraproject.org
The package rpms/rust-serial_test_derive0.5.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-serial_test_derive0.5.git/co....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit bb60e8fe26f0f55495a3db0dd695abc3cb918b3e
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 14 19:18:00 2022 +0200
Initial import (serial_test_derive 0.5 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e642a14
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/serial_test_derive-0.5.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index bb35a5b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-serial_test_derive0.5
-
-The rust-serial_test_derive0.5 package
diff --git a/rust-serial_test_derive0.5.spec b/rust-serial_test_derive0.5.spec
new file mode 100644
index 0000000..71c498f
--- /dev/null
+++ b/rust-serial_test_derive0.5.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate serial_test_derive
+
+Name: rust-%{crate}0.5
+Version: 0.5.1
+Release: %autorelease
+Summary: Helper crate for serial_test
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/serial_test_derive
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Helper crate for serial_test.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..f483dcf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (serial_test_derive-0.5.1.crate) = e3f4b3c2eed1b284dbff7447c2f912343f9b95cbd88f3387c0136ca42698b38a607c752277ee4590ded9f73f475325d2652ba67ba029ddd54711d9070ac5f43e
2 years
Architecture specific change in rpms/rust-serial_test_derive0.5.git
by githook-noreply@fedoraproject.org
The package rpms/rust-serial_test_derive0.5.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-serial_test_derive0.5.git/co....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit bb60e8fe26f0f55495a3db0dd695abc3cb918b3e
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 14 19:18:00 2022 +0200
Initial import (serial_test_derive 0.5 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e642a14
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/serial_test_derive-0.5.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index bb35a5b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-serial_test_derive0.5
-
-The rust-serial_test_derive0.5 package
diff --git a/rust-serial_test_derive0.5.spec b/rust-serial_test_derive0.5.spec
new file mode 100644
index 0000000..71c498f
--- /dev/null
+++ b/rust-serial_test_derive0.5.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate serial_test_derive
+
+Name: rust-%{crate}0.5
+Version: 0.5.1
+Release: %autorelease
+Summary: Helper crate for serial_test
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/serial_test_derive
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Helper crate for serial_test.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..f483dcf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (serial_test_derive-0.5.1.crate) = e3f4b3c2eed1b284dbff7447c2f912343f9b95cbd88f3387c0136ca42698b38a607c752277ee4590ded9f73f475325d2652ba67ba029ddd54711d9070ac5f43e
2 years
Architecture specific change in rpms/rocminfo.git
by githook-noreply@fedoraproject.org
The package rpms/rocminfo.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rocminfo.git/commit/?id=ce42f45f4....
Change:
+ExclusiveArch: x86_64 aarch64 ppc64le
Thanks.
Full change:
============
commit ce42f45f428d241ed1c0b4adb7e9455b0f94c397
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Tue Apr 5 12:57:11 2022 -0400
Enable ppc64le
To align with rocm-runtime
Signed-off-by: Jeremy Newton <Jeremy.Newton(a)amd.com>
diff --git a/rocminfo.spec b/rocminfo.spec
index 2a98348..8ebc12d 100644
--- a/rocminfo.spec
+++ b/rocminfo.spec
@@ -1,7 +1,7 @@
%define __cmake_in_source_build 1
Name: rocminfo
Version: 5.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ROCm system info utility
License: NCSA
@@ -10,7 +10,7 @@ Source0: https://github.com/RadeonOpenCompute/rocminfo/archive/rocm-%{version}.t
Patch0: 0001-adjust-CMAKE_CXX_FLAGS.patch
Patch1: 0002-fix-buildtype-detection.patch
-ExclusiveArch: x86_64 aarch64
+ExclusiveArch: x86_64 aarch64 ppc64le
BuildRequires: make
BuildRequires: gcc-c++
@@ -53,6 +53,9 @@ install -p -m 0755 rocminfo %{buildroot}%{_bindir}
%changelog
+* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
+- Enable ppc64le
+
* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
- Update to 5.1.0
commit e95c73d6a026ca29ad5518e7e029408ece9ebb15
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Thu Mar 31 11:14:45 2022 -0400
Update to 5.1.0
diff --git a/.gitignore b/.gitignore
index 0b05247..2783e6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/rocminfo-1.0.0.tar.gz
/rocm-5.0.0.tar.gz
+/rocm-5.1.0.tar.gz
diff --git a/rocminfo.spec b/rocminfo.spec
index 6aaf9fd..2a98348 100644
--- a/rocminfo.spec
+++ b/rocminfo.spec
@@ -1,7 +1,7 @@
%define __cmake_in_source_build 1
Name: rocminfo
-Version: 5.0.0
-Release: 2%{?dist}
+Version: 5.1.0
+Release: 1%{?dist}
Summary: ROCm system info utility
License: NCSA
@@ -53,6 +53,9 @@ install -p -m 0755 rocminfo %{buildroot}%{_bindir}
%changelog
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
+- Update to 5.1.0
+
* Sat Mar 12 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
- Add missing kmod requirement
diff --git a/sources b/sources
index fd36066..09067dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rocm-5.0.0.tar.gz) = 884be6cf0f53a6e5162c3c0c15c8b32e194101be940b065f54c1cbd598a737d71e8b31f42da8fcf97c73bcecf005c9d3048168ac61a4ccee093f79b8d95323f7
+SHA512 (rocm-5.1.0.tar.gz) = e67f11a34e4222354ea7b48d8ee4349126f11cb74d46bb734020756958a079666e922cdcff802cb324035f30fa095d6f51de6722e6c1eb0d43b1c0078c2a7074
2 years
Architecture specific change in rpms/rocm-runtime.git
by githook-noreply@fedoraproject.org
The package rpms/rocm-runtime.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rocm-runtime.git/commit/?id=ed35a...
https://src.fedoraproject.org/cgit/rpms/rocm-runtime.git/commit/?id=52b4e....
Change:
+ExclusiveArch: x86_64 aarch64 ppc64le
+%ifarch x86_64
Thanks.
Full change:
============
commit e71a28f4299671c8db2a71ef5987a8b0340c47c8
Merge: 0a59d48 72c706c
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Thu Apr 14 08:42:12 2022 -0400
Merge branch 'rawhide' into f36
commit 72c706c7c7dd1d72b8e73b237385c107217dbf24
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Sat Apr 9 13:12:05 2022 -0400
Update to 5.1.1
diff --git a/.gitignore b/.gitignore
index d2c5677..bdbc5f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/rocm-3.5.0.tar.gz
/rocm-runtime-5.0.0.tar.gz
/rocm-runtime-5.1.0.tar.gz
+/rocm-runtime-5.1.1.tar.gz
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index dc76b6c..56d2cf6 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -4,8 +4,8 @@
%endif
Name: rocm-runtime
-Version: 5.1.0
-Release: 2%{?dist}
+Version: 5.1.1
+Release: 1%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -78,6 +78,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Sat Apr 09 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.1-1
+- Update to ROCm version 5.1.1
+
* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
- Enable ppc64le
diff --git a/sources b/sources
index c2a354f..29e49ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rocm-runtime-5.1.0.tar.gz) = cb9e5b2a82cb1ba2efbc5a1e0bd0e302970cc5a550662e1f641bee083f8a05e957d58e4630fb7112a5b68eb29afe374e9cb2f0737e23316485f6df0e1c1aec5e
+SHA512 (rocm-runtime-5.1.1.tar.gz) = d4c64534bb27fe5c27b5d4a62cc94aedff3b3be9a1d2a2db470fa3362d52b73e78a167e6dabd4d89cff51f5311e4e2fce4413ee72f4a84da3abbd42b7bd1ace5
commit ed35a388659e6724e0df8ada49708f224d4c6ea4
Author: Jeremy Newton <Jeremy.Newton(a)amd.com>
Date: Tue Apr 5 11:28:29 2022 -0400
Enable ppc64le
Following suit with enablement in hsakmt
Signed-off-by: Jeremy Newton <Jeremy.Newton(a)amd.com>
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 2341076..dc76b6c 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -5,7 +5,7 @@
Name: rocm-runtime
Version: 5.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -16,7 +16,7 @@ Source0: https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/refs/tags/
Patch0: 0001-Use-CMAKE_INSTALL_LIBDIR.patch
Patch1: 0002-fix-link-time-ordering-condition.patch
-ExclusiveArch: x86_64 aarch64
+ExclusiveArch: x86_64 aarch64 ppc64le
BuildRequires: clang
BuildRequires: cmake
@@ -78,6 +78,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
+- Enable ppc64le
+
* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
- Update to ROCm version 5.1.0
commit 10631d02bbcb78bbd4b6f955ddecf7bfc0f92aa0
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Thu Mar 31 12:01:59 2022 -0400
Update to 5.1.0
Also changed spec not to create the build directory, but rather let the
cmake macro do that.
diff --git a/.gitignore b/.gitignore
index 25a2208..d2c5677 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/roc-2.0.0.tar.gz
/rocm-3.5.0.tar.gz
/rocm-runtime-5.0.0.tar.gz
+/rocm-runtime-5.1.0.tar.gz
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 24ce29f..2341076 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -4,8 +4,8 @@
%endif
Name: rocm-runtime
-Version: 5.0.0
-Release: 2%{?dist}
+Version: 5.1.0
+Release: 1%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -50,17 +50,13 @@ ROCm Runtime development files
%autosetup -n ROCR-Runtime-rocm-%{version} -p1
%build
-mkdir build
-cd build
-
-%cmake ../src -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+%cmake -S src -DCMAKE_BUILD_TYPE=RelWithDebInfo \
%{?!enableimage:-DIMAGE_SUPPORT=OFF} \
-DBITCODE_DIR="%{_libdir}/amdgcn/bitcode"
%cmake_build
%install
-cd build
%cmake_install
# We install this via license macro instead:
@@ -82,6 +78,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
+- Update to ROCm version 5.1.0
+
* Tue Feb 15 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
- Enable image support for x86
diff --git a/sources b/sources
index ccc4433..c2a354f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rocm-runtime-5.0.0.tar.gz) = e80f9c747cf9568097d4b77e4c5f03706238d2b97a8910bc036ca82383d33b79fc0922d414ee2f6ad21ef76c41130de09cdb828d66ec1518fc2fb0f2b79ba246
+SHA512 (rocm-runtime-5.1.0.tar.gz) = cb9e5b2a82cb1ba2efbc5a1e0bd0e302970cc5a550662e1f641bee083f8a05e957d58e4630fb7112a5b68eb29afe374e9cb2f0737e23316485f6df0e1c1aec5e
commit c57d2b6cae06a466e8d78c502c56f03b2b75f90d
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Wed Feb 16 10:15:49 2022 -0500
Fix description
typos, spacing.
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 9e540a8..24ce29f 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -31,12 +31,11 @@ BuildRequires: vim-common
%endif
%description
-The ROCm Runtime Library is is a thin, user-mode API that exposes the
-necessary interfaces to access and interact with graphics hardware driven by
-the AMDGPU driver set and the AMDKFD kernel driver. Together they enable
-programmers to directly harness the power of AMD discrete graphics devices by
-allowing host applications to launch compute kernels directly to the graphics
-hardware.
+The ROCm Runtime Library is a thin, user-mode API that exposes the necessary
+interfaces to access and interact with graphics hardware driven by the AMDGPU
+driver set and the AMDKFD kernel driver. Together they enable programmers to
+directly harness the power of AMD discrete graphics devices by allowing host
+applications to launch compute kernels directly to the graphics hardware.
%package devel
Summary: ROCm Runtime development files
commit 52b4ec435e45f20068703972ac84957dceb3686e
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Fri Feb 11 14:12:13 2022 -0500
Enable image support
Image support only works on x86. Switch to building with clang, since
image support requires it.
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 242b45b..9e540a8 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -1,6 +1,11 @@
+#Image support is x86 only
+%ifarch x86_64
+%global enableimage 1
+%endif
+
Name: rocm-runtime
Version: 5.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -13,11 +18,17 @@ Patch1: 0002-fix-link-time-ordering-condition.patch
ExclusiveArch: x86_64 aarch64
-BuildRequires: gcc
-BuildRequires: gcc-c++
+BuildRequires: clang
BuildRequires: cmake
BuildRequires: elfutils-libelf-devel
BuildRequires: hsakmt-devel
+%if 0%{?enableimage}
+BuildRequires: clang-devel
+BuildRequires: lld-devel
+BuildRequires: llvm-devel
+BuildRequires: rocm-device-libs
+BuildRequires: vim-common
+%endif
%description
The ROCm Runtime Library is is a thin, user-mode API that exposes the
@@ -43,7 +54,9 @@ ROCm Runtime development files
mkdir build
cd build
-%cmake ../src -DIMAGE_SUPPORT=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
+%cmake ../src -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ %{?!enableimage:-DIMAGE_SUPPORT=OFF} \
+ -DBITCODE_DIR="%{_libdir}/amdgcn/bitcode"
%cmake_build
@@ -70,6 +83,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Tue Feb 15 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
+- Enable image support for x86
+
* Fri Feb 11 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-1
- Update to ROCm version 5.0.0
- General improvements to spec file
2 years
Architecture specific change in rpms/rocm-compilersupport.git
by githook-noreply@fedoraproject.org
The package rpms/rocm-compilersupport.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rocm-compilersupport.git/commit/?....
Change:
+ExclusiveArch: x86_64 aarch64 ppc64le
Thanks.
Full change:
============
commit 865f49541f33d7e384fd2c66d090fc5faaab560a
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Tue Apr 5 16:42:53 2022 -0400
Enable ppc64le
Signed-off-by: Jeremy Newton <Jeremy.Newton(a)amd.com>
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index 49d5044..ffa9fbb 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -2,7 +2,7 @@
Name: rocm-compilersupport
Version: 5.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Various AMD ROCm LLVM related services
Url: https://github.com/RadeonOpenCompute/ROCm-CompilerSupport
@@ -28,8 +28,8 @@ BuildRequires: llvm-devel >= 14.0.0
BuildRequires: rocm-device-libs >= %(echo %{version} | sed 's/\.[0-9]*$/.0/')
BuildRequires: zlib-devel
-#Only the following architectures are supported:
-ExclusiveArch: x86_64 aarch64
+#Only the following architectures are useful for ROCm packages:
+ExclusiveArch: x86_64 aarch64 ppc64le
%description
This package currently contains one library, the Code Object Manager (Comgr)
@@ -87,6 +87,9 @@ sed -i -e "/compile_test/d" \
%{_libdir}/cmake/amd_comgr
%changelog
+* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
+- Enable ppc64le
+
* Tue Mar 29 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
- Update to 5.1.0
commit cc1c002df431cc3098b5285f11a495b6b5cdcf11
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Thu Mar 31 15:17:44 2022 -0400
Forgot to add patch in last commit
diff --git a/0001-COMGR-changes-needed-for-https-github.com-llvm-llvm-.patch b/0001-COMGR-changes-needed-for-https-github.com-llvm-llvm-.patch
new file mode 100644
index 0000000..b6a1600
--- /dev/null
+++ b/0001-COMGR-changes-needed-for-https-github.com-llvm-llvm-.patch
@@ -0,0 +1,66 @@
+From be2bcaaea228cdcb5981b261046175275c402fb9 Mon Sep 17 00:00:00 2001
+From: Konstantin Zhuravlyov <kzhuravl_dev(a)outlook.com>
+Date: Wed, 26 Jan 2022 12:02:52 -0500
+Subject: [PATCH] COMGR changes needed for
+ https://github.com/llvm/llvm-project/commit/83d59e05b201760e3f364ff631630...
+
+Change-Id: Iac01d024463865734879faf5f814e0862c26f7a1
+---
+ lib/comgr/src/comgr-compiler.cpp | 3 ++-
+ lib/comgr/src/comgr-env.h | 1 +
+ lib/comgr/src/comgr-objdump.cpp | 4 +++-
+ 3 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/lib/comgr/src/comgr-compiler.cpp b/lib/comgr/src/comgr-compiler.cpp
+index 6c2cba2..db4c8d5 100644
+--- a/lib/comgr/src/comgr-compiler.cpp
++++ b/lib/comgr/src/comgr-compiler.cpp
+@@ -605,7 +605,8 @@ static amd_comgr_status_t linkWithLLD(llvm::ArrayRef<const char *> Args,
+ ArrayRef<const char *> ArgRefs = llvm::makeArrayRef(LLDArgs);
+ static std::mutex MScreen;
+ MScreen.lock();
+- bool LLDRet = lld::elf::link(ArgRefs, false, LogS, LogE);
++ bool LLDRet = lld::elf::link(ArgRefs, LogS, LogE, false, false);
++ lld::CommonLinkerContext::destroy();
+ MScreen.unlock();
+ if (!LLDRet) {
+ return AMD_COMGR_STATUS_ERROR;
+diff --git a/lib/comgr/src/comgr-env.h b/lib/comgr/src/comgr-env.h
+index eb13e61..aef57b3 100644
+--- a/lib/comgr/src/comgr-env.h
++++ b/lib/comgr/src/comgr-env.h
+@@ -36,6 +36,7 @@
+ #ifndef COMGR_ENV_H
+ #define COMGR_ENV_H
+
++#include "llvm/ADT/Optional.h"
+ #include "llvm/ADT/StringRef.h"
+
+ namespace COMGR {
+diff --git a/lib/comgr/src/comgr-objdump.cpp b/lib/comgr/src/comgr-objdump.cpp
+index 094bbac..b41e6c1 100644
+--- a/lib/comgr/src/comgr-objdump.cpp
++++ b/lib/comgr/src/comgr-objdump.cpp
+@@ -43,6 +43,7 @@
+ #include "llvm/ADT/STLExtras.h"
+ #include "llvm/ADT/StringExtras.h"
+ #include "llvm/ADT/Triple.h"
++#include "llvm/CodeGen/CommandFlags.h"
+ #include "llvm/DebugInfo/DWARF/DWARFContext.h"
+ #include "llvm/DebugInfo/Symbolize/Symbolize.h"
+ #include "llvm/MC/MCAsmInfo.h"
+@@ -2395,9 +2396,10 @@ llvm::DisassemHelper::disassembleAction(StringRef Input,
+ size_t ArgC = ArgV.size();
+ ArgV.push_back(nullptr);
+ COMGR::clearLLVMOptions();
++ llvm::codegen::RegisterCodeGenFlags CGF;
+ cl::ParseCommandLineOptions(ArgC, ArgV.data(), "llvm object file dumper\n",
+ &ErrS);
+- MCPU = lld::getCPUStr();
++ MCPU = llvm::codegen::getCPUStr();
+
+ ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr =
+ MemoryBuffer::getMemBuffer(Input);
+--
+2.35.1
+
commit 48b27e5eeac6dd9e3dfcec0a079d15d4d7114329
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Thu Mar 31 15:00:41 2022 -0400
Fix 5.1.0 build/spec
- Minor error in changelog
- Missing patch
- Remove redundant license file
diff --git a/0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch b/0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch
deleted file mode 100644
index aad05f3..0000000
--- a/0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 63c943a9c6e3eda2a34b7c693d96bfdaaec4b389 Mon Sep 17 00:00:00 2001
-From: Mystro256 <alexjnewt(a)hotmail.com>
-Date: Thu, 31 Mar 2022 12:40:56 -0400
-Subject: [PATCH] Revert "Changes required for
- https://reviews.llvm.org/D116011"
-
-This reverts commit a75326c7204e9c91bfcfd0fb701b9f2ad1ec234d.
----
- lib/comgr/src/comgr-compiler.cpp | 6 ------
- 1 file changed, 6 deletions(-)
-
-diff --git a/lib/comgr/src/comgr-compiler.cpp b/lib/comgr/src/comgr-compiler.cpp
-index 6c2cba2..dc698fb 100644
---- a/lib/comgr/src/comgr-compiler.cpp
-+++ b/lib/comgr/src/comgr-compiler.cpp
-@@ -680,9 +680,6 @@ AMDGPUCompiler::executeInProcessDriver(ArrayRef<const char *> Args) {
- }
- std::unique_ptr<CompilerInstance> Clang(new CompilerInstance());
- Clang->setVerboseOutputStream(LogS);
-- if (!Argv.back()) {
-- Argv.pop_back();
-- }
- if (!CompilerInvocation::CreateFromArgs(Clang->getInvocation(), Argv,
- Diags)) {
- return AMD_COMGR_STATUS_ERROR;
-@@ -702,9 +699,6 @@ AMDGPUCompiler::executeInProcessDriver(ArrayRef<const char *> Args) {
- logArgv(LogS, "clang", Argv);
- }
- Argv.erase(Argv.begin() + 1);
-- if (!Argv.back()) {
-- Argv.pop_back();
-- }
- AssemblerInvocation Asm;
- if (!AssemblerInvocation::createFromArgs(Asm, Argv, Diags)) {
- return AMD_COMGR_STATUS_ERROR;
---
-2.35.1
-
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index c2651e2..49d5044 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -18,8 +18,8 @@ Patch0: 0001-Link-libclang-dynamically.patch
#https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/39
Patch1: 0001-Fix-cmake-file-location.patch
-#Fix build against LLVM 14:
-Patch100: 0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch
+#Fix build against LLVM 14, cherry-picked from amd-stg-open branch:
+Patch100: 0001-COMGR-changes-needed-for-https-github.com-llvm-llvm-.patch
BuildRequires: cmake
BuildRequires: clang-devel >= 14.0.0
@@ -76,6 +76,7 @@ sed -i -e "/compile_test/d" \
%doc lib/comgr/README.md
%{_libdir}/libamd_comgr.so.2{,.*}
#Files already included:
+%exclude %{_docdir}/amd_comgr/comgr/LICENSE.txt
%exclude %{_datadir}/amd_comgr/LICENSE.txt
%exclude %{_datadir}/amd_comgr/NOTICES.txt
%exclude %{_datadir}/amd_comgr/README.md
@@ -87,7 +88,7 @@ sed -i -e "/compile_test/d" \
%changelog
* Tue Mar 29 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
-- Drop patches to build against LLVM 13, to prep for llvm 14 update
+- Update to 5.1.0
* Fri Feb 11 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-1
- Update to 5.0.0
commit 4162679c4ec4aac27fd8419fb1f02bfff18e1344
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Thu Mar 31 12:43:38 2022 -0400
Add llvm 14 patch
ROCm 5.1.0 is based on an early snapshot of llvm 15
diff --git a/0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch b/0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch
new file mode 100644
index 0000000..aad05f3
--- /dev/null
+++ b/0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch
@@ -0,0 +1,38 @@
+From 63c943a9c6e3eda2a34b7c693d96bfdaaec4b389 Mon Sep 17 00:00:00 2001
+From: Mystro256 <alexjnewt(a)hotmail.com>
+Date: Thu, 31 Mar 2022 12:40:56 -0400
+Subject: [PATCH] Revert "Changes required for
+ https://reviews.llvm.org/D116011"
+
+This reverts commit a75326c7204e9c91bfcfd0fb701b9f2ad1ec234d.
+---
+ lib/comgr/src/comgr-compiler.cpp | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/lib/comgr/src/comgr-compiler.cpp b/lib/comgr/src/comgr-compiler.cpp
+index 6c2cba2..dc698fb 100644
+--- a/lib/comgr/src/comgr-compiler.cpp
++++ b/lib/comgr/src/comgr-compiler.cpp
+@@ -680,9 +680,6 @@ AMDGPUCompiler::executeInProcessDriver(ArrayRef<const char *> Args) {
+ }
+ std::unique_ptr<CompilerInstance> Clang(new CompilerInstance());
+ Clang->setVerboseOutputStream(LogS);
+- if (!Argv.back()) {
+- Argv.pop_back();
+- }
+ if (!CompilerInvocation::CreateFromArgs(Clang->getInvocation(), Argv,
+ Diags)) {
+ return AMD_COMGR_STATUS_ERROR;
+@@ -702,9 +699,6 @@ AMDGPUCompiler::executeInProcessDriver(ArrayRef<const char *> Args) {
+ logArgv(LogS, "clang", Argv);
+ }
+ Argv.erase(Argv.begin() + 1);
+- if (!Argv.back()) {
+- Argv.pop_back();
+- }
+ AssemblerInvocation Asm;
+ if (!AssemblerInvocation::createFromArgs(Asm, Argv, Diags)) {
+ return AMD_COMGR_STATUS_ERROR;
+--
+2.35.1
+
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index 67e0ab9..c2651e2 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -18,6 +18,9 @@ Patch0: 0001-Link-libclang-dynamically.patch
#https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/39
Patch1: 0001-Fix-cmake-file-location.patch
+#Fix build against LLVM 14:
+Patch100: 0001-Revert-Changes-required-for-https-reviews.llvm.org-D.patch
+
BuildRequires: cmake
BuildRequires: clang-devel >= 14.0.0
BuildRequires: lld-devel
commit aa42674d984dd198fa7957ac83cee6de631a761b
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Thu Mar 31 10:05:08 2022 -0400
Update to 5.1.0
Also add versioned build requires to avoid llvm, clang, and device-libs
from being out of sync.
diff --git a/.gitignore b/.gitignore
index d744d96..b3e505f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ROCm-CompilerSupport-5.0.0.tar.gz
+/ROCm-CompilerSupport-5.1.0.tar.gz
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index 33fc69d..67e0ab9 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -1,8 +1,8 @@
%global upstreamname ROCm-CompilerSupport
Name: rocm-compilersupport
-Version: 5.0.0
-Release: 2%{?dist}
+Version: 5.1.0
+Release: 1%{?dist}
Summary: Various AMD ROCm LLVM related services
Url: https://github.com/RadeonOpenCompute/ROCm-CompilerSupport
@@ -19,10 +19,10 @@ Patch0: 0001-Link-libclang-dynamically.patch
Patch1: 0001-Fix-cmake-file-location.patch
BuildRequires: cmake
-BuildRequires: clang-devel
+BuildRequires: clang-devel >= 14.0.0
BuildRequires: lld-devel
-BuildRequires: llvm-devel
-BuildRequires: rocm-device-libs
+BuildRequires: llvm-devel >= 14.0.0
+BuildRequires: rocm-device-libs >= %(echo %{version} | sed 's/\.[0-9]*$/.0/')
BuildRequires: zlib-devel
#Only the following architectures are supported:
@@ -59,7 +59,7 @@ sed -i -e "/compile_test/d" \
lib/comgr/test/CMakeLists.txt
%build
-%cmake lib/comgr -DCMAKE_BUILD_TYPE="RELEASE" -DBUILD_TESTING=ON
+%cmake -S lib/comgr -DCMAKE_BUILD_TYPE="RELEASE" -DBUILD_TESTING=ON
%cmake_build
%check
@@ -83,7 +83,7 @@ sed -i -e "/compile_test/d" \
%{_libdir}/cmake/amd_comgr
%changelog
-* Tue Mar 29 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
+* Tue Mar 29 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
- Drop patches to build against LLVM 13, to prep for llvm 14 update
* Fri Feb 11 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-1
diff --git a/sources b/sources
index 6060ce7..bba4b4e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ROCm-CompilerSupport-5.0.0.tar.gz) = b4f5c1c6b277ceea9ba53d88b12288bb407828eacae758c25a58cef37f7c9db0744623fd55bf3844006fc47efc6463a09894b052bc4589e6118cbf49efa01e5d
+SHA512 (ROCm-CompilerSupport-5.1.0.tar.gz) = e0402eab4e1ce2aac0b2623e00e16ed5c7b211e99a7d90b995f2a243f1e844fc51f169305985bafb12cdc7c8fd4b5d60ef7ff2ce0b38c2790c7f0cec6115c468
commit 62b2081d960391dbbc9d7da6391dfb78a3acbc49
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Tue Mar 29 07:34:24 2022 -0400
Drop llvm 13 patches
The LLVM 14 update for fc37 is currently building.
diff --git a/0001-Revert-TargetRegistry.h-now-lives-in-MC.patch b/0001-Revert-TargetRegistry.h-now-lives-in-MC.patch
deleted file mode 100644
index b147ddd..0000000
--- a/0001-Revert-TargetRegistry.h-now-lives-in-MC.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From 7b4c9186894fe8086b516b7e6bb9d6365e986874 Mon Sep 17 00:00:00 2001
-From: Mystro256 <alexjnewt(a)hotmail.com>
-Date: Fri, 11 Feb 2022 11:55:22 -0500
-Subject: [PATCH 1/2] Revert "TargetRegistry.h now lives in MC"
-
-This reverts commit 512c1504385154d9da8072f4530f32d4a442f3d4.
----
- lib/comgr/src/comgr-compiler.cpp | 2 +-
- lib/comgr/src/comgr-disassembly.cpp | 2 +-
- lib/comgr/src/comgr-metadata.h | 2 +-
- lib/comgr/src/comgr-objdump.cpp | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/lib/comgr/src/comgr-compiler.cpp b/lib/comgr/src/comgr-compiler.cpp
-index dc698fb..dfc26c3 100644
---- a/lib/comgr/src/comgr-compiler.cpp
-+++ b/lib/comgr/src/comgr-compiler.cpp
-@@ -69,12 +69,12 @@
- #include "llvm/MC/MCStreamer.h"
- #include "llvm/MC/MCSubtargetInfo.h"
- #include "llvm/MC/MCTargetOptions.h"
--#include "llvm/MC/TargetRegistry.h"
- #include "llvm/Support/FileSystem.h"
- #include "llvm/Support/Host.h"
- #include "llvm/Support/MemoryBuffer.h"
- #include "llvm/Support/Path.h"
- #include "llvm/Support/Signals.h"
-+#include "llvm/Support/TargetRegistry.h"
-
- #include "time-stat/ts-interface.h"
-
-diff --git a/lib/comgr/src/comgr-disassembly.cpp b/lib/comgr/src/comgr-disassembly.cpp
-index 8703c0d..c65c9da 100644
---- a/lib/comgr/src/comgr-disassembly.cpp
-+++ b/lib/comgr/src/comgr-disassembly.cpp
-@@ -34,7 +34,7 @@
- ******************************************************************************/
-
- #include "comgr-disassembly.h"
--#include "llvm/MC/TargetRegistry.h"
-+#include "llvm/Support/TargetRegistry.h"
-
- using namespace llvm;
- using namespace COMGR;
-diff --git a/lib/comgr/src/comgr-metadata.h b/lib/comgr/src/comgr-metadata.h
-index 8c2ba7e..9166c05 100644
---- a/lib/comgr/src/comgr-metadata.h
-+++ b/lib/comgr/src/comgr-metadata.h
-@@ -37,7 +37,7 @@
- #define COMGR_METADATA_H
-
- #include "comgr.h"
--#include "llvm/MC/TargetRegistry.h"
-+#include "llvm/Support/TargetRegistry.h"
- #include "llvm/Target/TargetMachine.h"
- #include "llvm/Target/TargetOptions.h"
-
-diff --git a/lib/comgr/src/comgr-objdump.cpp b/lib/comgr/src/comgr-objdump.cpp
-index 094bbac..665c632 100644
---- a/lib/comgr/src/comgr-objdump.cpp
-+++ b/lib/comgr/src/comgr-objdump.cpp
-@@ -57,7 +57,6 @@
- #include "llvm/MC/MCRegisterInfo.h"
- #include "llvm/MC/MCStreamer.h"
- #include "llvm/MC/MCSubtargetInfo.h"
--#include "llvm/MC/TargetRegistry.h"
- #include "llvm/Object/Archive.h"
- #include "llvm/Object/COFF.h"
- #include "llvm/Object/COFFImportFile.h"
-@@ -80,6 +79,7 @@
- #include "llvm/Support/Signals.h"
- #include "llvm/Support/SourceMgr.h"
- #include "llvm/Support/StringSaver.h"
-+#include "llvm/Support/TargetRegistry.h"
- #include "llvm/Support/TargetSelect.h"
- #include "llvm/Support/raw_ostream.h"
- #include <algorithm>
---
-2.31.1
-
diff --git a/0002-Revert-Changes-required-for-recent-merge-from-trunk.patch b/0002-Revert-Changes-required-for-recent-merge-from-trunk.patch
deleted file mode 100644
index e902df4..0000000
--- a/0002-Revert-Changes-required-for-recent-merge-from-trunk.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 2e6676ee1f879be02f98bd5f29c6b93c39f97ed9 Mon Sep 17 00:00:00 2001
-From: Mystro256 <alexjnewt(a)hotmail.com>
-Date: Fri, 11 Feb 2022 12:04:37 -0500
-Subject: [PATCH 2/2] Revert "Changes required for recent merge from trunk:"
-
-This reverts commit cf7eb2d6b4c80ae45510049fac46e3c795ef8cf9.
----
- lib/comgr/src/comgr-compiler.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/comgr/src/comgr-compiler.cpp b/lib/comgr/src/comgr-compiler.cpp
-index dfc26c3..ec5b319 100644
---- a/lib/comgr/src/comgr-compiler.cpp
-+++ b/lib/comgr/src/comgr-compiler.cpp
-@@ -481,7 +481,7 @@ static bool executeAssemblerImpl(AssemblerInvocation &Opts,
- MAB->createObjectWriter(*Out), std::unique_ptr<MCCodeEmitter>(CE), *STI,
- Opts.RelaxAll, Opts.IncrementalLinkerCompatible,
- /*DWARFMustBeAtTheEnd*/ true));
-- Str.get()->initSections(Opts.NoExecStack, *STI);
-+ Str.get()->InitSections(Opts.NoExecStack);
- }
-
- bool Failed = false;
---
-2.31.1
-
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index 1f11cfe..33fc69d 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -2,7 +2,7 @@
Name: rocm-compilersupport
Version: 5.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Various AMD ROCm LLVM related services
Url: https://github.com/RadeonOpenCompute/ROCm-CompilerSupport
@@ -18,11 +18,6 @@ Patch0: 0001-Link-libclang-dynamically.patch
#https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/39
Patch1: 0001-Fix-cmake-file-location.patch
-#Patches to fix building with LLVM 13:
-# Just reverts of upstream patches (upstream targets llvm 14)
-Patch101: 0001-Revert-TargetRegistry.h-now-lives-in-MC.patch
-Patch102: 0002-Revert-Changes-required-for-recent-merge-from-trunk.patch
-
BuildRequires: cmake
BuildRequires: clang-devel
BuildRequires: lld-devel
@@ -88,6 +83,9 @@ sed -i -e "/compile_test/d" \
%{_libdir}/cmake/amd_comgr
%changelog
+* Tue Mar 29 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
+- Drop patches to build against LLVM 13, to prep for llvm 14 update
+
* Fri Feb 11 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-1
- Update to 5.0.0
2 years
Architecture specific change in rpms/rocm-device-libs.git
by githook-noreply@fedoraproject.org
The package rpms/rocm-device-libs.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rocm-device-libs.git/commit/?id=1....
Change:
+ExclusiveArch: x86_64 aarch64 ppc64le
Thanks.
Full change:
============
commit 10f657c5f2a977e957eeaa11039880bb8e084dd1
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Tue Apr 5 15:36:18 2022 -0400
Enable ppc64le build
Signed-off-by: Jeremy Newton <Jeremy.Newton(a)amd.com>
diff --git a/rocm-device-libs.spec b/rocm-device-libs.spec
index a331857..c58cfde 100644
--- a/rocm-device-libs.spec
+++ b/rocm-device-libs.spec
@@ -6,7 +6,7 @@
Name: rocm-device-libs
Version: 5.1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: AMD ROCm LLVM bit code libraries
Url: https://github.com/RadeonOpenCompute/ROCm-Device-Libs
@@ -22,8 +22,8 @@ BuildRequires: llvm-devel(major) = %{llvm_maj_ver}
BuildRequires: zlib-devel
Requires: clang(major) = %{llvm_maj_ver}
-#Only the following architectures are supported:
-ExclusiveArch: x86_64 aarch64
+#Only the following architectures are useful for ROCm packages:
+ExclusiveArch: x86_64 aarch64 ppc64le
%description
This package contains a set of AMD specific device-side language runtime
@@ -54,6 +54,9 @@ libraries in the form of bit code. Specifically:
%{_libdir}/amdgcn
%changelog
+* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-3
+- Enable ppc64le
+
* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
- Add clang specific major version requires
- BR a specific clang/llvm major version combination
2 years