Compare commits
No commits in common. "c8s" and "imports/c8/pcm-202107-5.el8" have entirely different histories.
c8s
...
imports/c8
|
@ -1,2 +1 @@
|
||||||
/pcm-202107.tar.gz
|
SOURCES/pcm-202107.tar.gz
|
||||||
/pcm-202211.tar.gz
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
5bd403b68a0e10a0bab48ecad70e39ec4a03345f SOURCES/pcm-202107.tar.gz
|
|
@ -1,40 +1,36 @@
|
||||||
Name: pcm
|
Name: pcm
|
||||||
Version: 202211
|
Version: 202107
|
||||||
Release: 0%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Intel(r) Performance Counter Monitor
|
Summary: Processor Counter Monitor
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://github.com/intel/pcm
|
Url: https://github.com/opcm/pcm
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: cmake
|
|
||||||
ExclusiveArch: %{ix86} x86_64
|
ExclusiveArch: %{ix86} x86_64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
Intel(r) Performance Counter Monitor (Intel(r) PCM) is an application
|
Processor Counter Monitor (PCM) is an application programming
|
||||||
programming interface (API) and a set of tools based on the API to
|
interface (API) and a set of tools based on the API to monitor
|
||||||
monitor performance and energy metrics of Intel(r) Core(tm), Xeon(r),
|
performance and energy metrics of Intel(r) Core(tm), Xeon(r), Atom(tm)
|
||||||
Atom(tm) and Xeon Phi(tm) processors. PCM works on Linux, Windows,
|
and Xeon Phi(tm) processors. PCM works on Linux, Windows, Mac OS X,
|
||||||
Mac OS X, FreeBSD and DragonFlyBSD operating systems.
|
FreeBSD and DragonFlyBSD operating systems.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
%cmake -DCMAKE_BUILD_TYPE=CUSTOM
|
%make_build
|
||||||
%cmake_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%make_install
|
||||||
rm -rf %{buildroot}/usr/share/doc/PCM/*.md
|
|
||||||
rm -rf %{buildroot}/usr/share/doc/PCM/*.txt
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license license.txt
|
||||||
%doc doc/LINUX_HOWTO.txt README.md doc/FAQ.md doc/CUSTOM-COMPILE-OPTIONS.md doc/ENVVAR_README.md doc/PCM-EXPORTER.md doc/PCM-SENSOR-SERVER-README.md doc/PCM_RAW_README.md doc/DOCKER_README.md doc/license.txt
|
%doc LINUX_HOWTO.txt README.md FAQ.md
|
||||||
%{_sbindir}/%{name}-core
|
%{_sbindir}/%{name}-core
|
||||||
%{_sbindir}/%{name}-iio
|
%{_sbindir}/%{name}-iio
|
||||||
%{_sbindir}/%{name}-latency
|
%{_sbindir}/%{name}-latency
|
||||||
|
@ -43,7 +39,6 @@ rm -rf %{buildroot}/usr/share/doc/PCM/*.txt
|
||||||
%{_sbindir}/%{name}-msr
|
%{_sbindir}/%{name}-msr
|
||||||
%{_sbindir}/%{name}-mmio
|
%{_sbindir}/%{name}-mmio
|
||||||
%{_sbindir}/%{name}-numa
|
%{_sbindir}/%{name}-numa
|
||||||
%{_sbindir}/%{name}-accel
|
|
||||||
%{_sbindir}/%{name}-pcicfg
|
%{_sbindir}/%{name}-pcicfg
|
||||||
%{_sbindir}/%{name}-pcie
|
%{_sbindir}/%{name}-pcie
|
||||||
%{_sbindir}/%{name}-power
|
%{_sbindir}/%{name}-power
|
||||||
|
@ -58,22 +53,6 @@ rm -rf %{buildroot}/usr/share/doc/PCM/*.txt
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 11 2023 Prarit Bhargava <prarit@redhat.com> 202211-0
|
|
||||||
- Import into RHEL8
|
|
||||||
|
|
||||||
* Thu Nov 24 2022 Roman Dementiev <roman.dementiev@intel.com> 0.1-10
|
|
||||||
- Update to new upstream repository location and the name
|
|
||||||
- Update to version 202211
|
|
||||||
|
|
||||||
* Tue Jul 26 2022 Roman Dementiev <roman.dementiev@intel.com> 0.1-9
|
|
||||||
- Update to version 202207
|
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 202205-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 202112-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 26 2021 Roman Dementiev <roman.dementiev@intel.com> 0.1-8
|
* Mon Jul 26 2021 Roman Dementiev <roman.dementiev@intel.com> 0.1-8
|
||||||
- Update to version 202107
|
- Update to version 202107
|
||||||
- Add pcm-mmio utility to rpm spec
|
- Add pcm-mmio utility to rpm spec
|
11
gating.yaml
11
gating.yaml
|
@ -1,11 +0,0 @@
|
||||||
--- !Policy
|
|
||||||
|
|
||||||
product_versions:
|
|
||||||
|
|
||||||
- rhel-8
|
|
||||||
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
|
|
||||||
rules:
|
|
||||||
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
1
sources
1
sources
|
@ -1 +0,0 @@
|
||||||
SHA512 (pcm-202211.tar.gz) = 7c45b322222c936641a4da7db8ebb00253d6500b68232b511c141031e33b0a74e18907c7914b03eab3ef14910ed3e548755c60c92f0c86e80ea022270defd570
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# fail the whole test set if any of the command pipelines fail
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# when running this in 1minutetip the PATH must be specified to execute
|
|
||||||
# in the local directory.
|
|
||||||
echo "Setting path to local directory"
|
|
||||||
PATH=$PATH:$(pwd)
|
|
||||||
|
|
||||||
# simple version test
|
|
||||||
version.sh
|
|
|
@ -1,9 +0,0 @@
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
tests:
|
|
||||||
- simple:
|
|
||||||
dir: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder
|
|
||||||
run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# Thermald is a systemd unit file that requires specific hardware and
|
|
||||||
# firmware. As such it is difficult to test in an automated fashion.
|
|
||||||
|
|
||||||
# fail the whole test if any of the command pipelines below fails
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
rpmversion=$(rpm -q --queryformat '%{VERSION}' pcm)
|
|
||||||
if [ "$rpmversion" == "package pcm is not installed" ]; then
|
|
||||||
echo "pcm package not installed"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if we get here, it's OK
|
|
||||||
|
|
Loading…
Reference in New Issue