Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
/pcm-202107.tar.gz
|
||||
/pcm-202211.tar.gz
|
||||
/pcm-202405.tar.gz
|
||||
|
@ -1,11 +1,6 @@
|
||||
--- !Policy
|
||||
|
||||
product_versions:
|
||||
|
||||
- rhel-8
|
||||
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
|
||||
rules:
|
||||
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
36
pcm.spec
36
pcm.spec
@ -1,6 +1,6 @@
|
||||
Name: pcm
|
||||
Version: 202211
|
||||
Release: 0%{?dist}
|
||||
Version: 202405
|
||||
Release: 2%{?dist}
|
||||
Summary: Intel(r) Performance Counter Monitor
|
||||
License: BSD
|
||||
Url: https://github.com/intel/pcm
|
||||
@ -9,6 +9,7 @@ BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
BuildRequires: cmake
|
||||
BuildRequires: systemd-rpm-macros
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
|
||||
%description
|
||||
@ -24,7 +25,7 @@ Mac OS X, FreeBSD and DragonFlyBSD operating systems.
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%cmake -DCMAKE_BUILD_TYPE=CUSTOM
|
||||
%cmake -DCMAKE_BUILD_TYPE=CUSTOM -DLINUX_SYSTEMD=TRUE -DLINUX_SYSTEMD_UNITDIR=%{_unitdir}/
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
@ -42,6 +43,7 @@ rm -rf %{buildroot}/usr/share/doc/PCM/*.txt
|
||||
%{_sbindir}/%{name}-memory
|
||||
%{_sbindir}/%{name}-msr
|
||||
%{_sbindir}/%{name}-mmio
|
||||
%{_sbindir}/%{name}-tpmi
|
||||
%{_sbindir}/%{name}-numa
|
||||
%{_sbindir}/%{name}-accel
|
||||
%{_sbindir}/%{name}-pcicfg
|
||||
@ -56,10 +58,34 @@ rm -rf %{buildroot}/usr/share/doc/PCM/*.txt
|
||||
%{_sbindir}/%{name}-daemon
|
||||
%{_sbindir}/%{name}-bw-histogram
|
||||
%{_datadir}/%{name}/
|
||||
%{_unitdir}/%{name}-sensor-server.service
|
||||
|
||||
%changelog
|
||||
* Wed Jan 11 2023 Prarit Bhargava <prarit@redhat.com> 202211-0
|
||||
- Import into RHEL8
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 202405-2
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Fri Jul 26 2024 Jakub Čajka <jcajka@redhat.com> - 202405-1
|
||||
- Initial package import in to RHEL
|
||||
- Resolves: RHEL-38575 and RHEL-39699
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 202311-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 202311-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 202307-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sun Mar 05 2023 Felix Wang <topazus@outlook.com> - 202302-1
|
||||
- Update to version 202302
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 202212-1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Dec 23 2022 Roman Dementiev <roman.dementiev@intel.com> 0.1-11
|
||||
- Update to version 202212
|
||||
|
||||
* Thu Nov 24 2022 Roman Dementiev <roman.dementiev@intel.com> 0.1-10
|
||||
- Update to new upstream repository location and the name
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (pcm-202211.tar.gz) = 7c45b322222c936641a4da7db8ebb00253d6500b68232b511c141031e33b0a74e18907c7914b03eab3ef14910ed3e548755c60c92f0c86e80ea022270defd570
|
||||
SHA512 (pcm-202405.tar.gz) = f85736025a7825e939a2b6690603e070a3ae872b7a75f473b836b193728a575d62e1f6f3b859ef76bd69d4736e380f958258752d68b1d8d66f10f088cb1eac00
|
||||
|
@ -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
|
||||
|
7
whatever.fmf
Normal file
7
whatever.fmf
Normal file
@ -0,0 +1,7 @@
|
||||
summary: Basic smoke tests
|
||||
discover:
|
||||
- name: internal
|
||||
how: fmf
|
||||
url: git://pkgs.devel.redhat.com/tests/pcm
|
||||
execute:
|
||||
how: tmt
|
Loading…
Reference in New Issue
Block a user