Compare commits
No commits in common. 'c9' and 'c10-beta' have entirely different histories.
@ -1 +1 @@
|
||||
SOURCES/v4.1.0.tar.gz
|
||||
SOURCES/intel-cmt-cat-23.11.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
2cf7d79b6f9cdfd74d1c14679a5f2a49174f0ed5 SOURCES/v4.1.0.tar.gz
|
||||
77a458ff99c6b1e8a7da76522a14f4311fbdf70f SOURCES/intel-cmt-cat-23.11.tar.gz
|
||||
|
@ -0,0 +1,68 @@
|
||||
Description: Workaround environment variable settings
|
||||
Add environment to be set by packaging
|
||||
Forwarded: not-needed
|
||||
Author: Colin Ian King <colin.i.king@gmail.com>
|
||||
|
||||
Index: intel-cmt-cat-23.11/lib/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/lib/Makefile
|
||||
+++ intel-cmt-cat-23.11/lib/Makefile
|
||||
@@ -119,10 +119,10 @@ endif
|
||||
|
||||
HDR = pqos.h
|
||||
PREFIX ?= /usr/local
|
||||
-LIB_INSTALL_DIR ?= $(PREFIX)/lib
|
||||
-HDR_DIR ?= $(PREFIX)/include
|
||||
+LIB_INSTALL_DIR ?= $(DESTDIR)/usr/lib64
|
||||
+HDR_DIR ?= $(DESTDIR)/usr/include
|
||||
DEPFILE = $(LIB).dep
|
||||
-NOLDCONFIG ?= n
|
||||
+NOLDCONFIG ?= y
|
||||
|
||||
all: $(LIBNAME)
|
||||
|
||||
Index: intel-cmt-cat-23.11/pqos/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/pqos/Makefile
|
||||
+++ intel-cmt-cat-23.11/pqos/Makefile
|
||||
@@ -94,8 +94,8 @@ MAN = pqos.8
|
||||
|
||||
# XXX: modify as desired
|
||||
PREFIX ?= /usr/local
|
||||
-BIN_DIR = $(PREFIX)/bin
|
||||
-MAN_DIR = $(PREFIX)/man/man8
|
||||
+BIN_DIR = $(DESTDIR)/usr/sbin
|
||||
+MAN_DIR = $(DESTDIR)/usr/share/man/man8
|
||||
|
||||
SRCS = $(sort $(wildcard *.c))
|
||||
OBJS = $(addprefix $(OBJDIR)/,$(SRCS:.c=.o))
|
||||
Index: intel-cmt-cat-23.11/rdtset/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/rdtset/Makefile
|
||||
+++ intel-cmt-cat-23.11/rdtset/Makefile
|
||||
@@ -95,8 +95,8 @@ MAN = rdtset.8
|
||||
|
||||
# XXX: modify as desired
|
||||
PREFIX ?= /usr/local
|
||||
-BIN_DIR = $(PREFIX)/bin
|
||||
-MAN_DIR = $(PREFIX)/man/man8
|
||||
+BIN_DIR = $(DESTDIR)/usr/sbin
|
||||
+MAN_DIR = $(DESTDIR)/usr/share/man/man8
|
||||
|
||||
SRCS = $(sort $(wildcard *.c))
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
Index: intel-cmt-cat-23.11/tools/membw/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/tools/membw/Makefile
|
||||
+++ intel-cmt-cat-23.11/tools/membw/Makefile
|
||||
@@ -39,8 +39,8 @@ MAN = membw.8
|
||||
|
||||
# XXX: modify as desired
|
||||
PREFIX ?= /usr/local
|
||||
-BIN_DIR = $(PREFIX)/bin
|
||||
-MAN_DIR = $(PREFIX)/man/man8
|
||||
+BIN_DIR = $(DESTDIR)/usr/bin
|
||||
+MAN_DIR = $(DESTDIR)/usr/share/man/man8
|
||||
|
||||
CFLAGS=-W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wold-style-definition -Wpointer-arith \
|
@ -0,0 +1,20 @@
|
||||
Description: Remove examples
|
||||
No need to install these, developers are encouraged to look
|
||||
at the code in the repository
|
||||
Forwarded: not-needed
|
||||
Author: Colin Ian King <colin.i.king@gmail.com>
|
||||
|
||||
Index: intel-cmt-cat-4.5.0/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-4.5.0.orig/Makefile
|
||||
+++ intel-cmt-cat-4.5.0/Makefile
|
||||
@@ -53,9 +53,6 @@ all:
|
||||
$(MAKE) -C pqos
|
||||
$(MAKE) -C rdtset
|
||||
$(MAKE) -C tools/membw
|
||||
- $(MAKE) -C examples/c/CAT_MBA
|
||||
- $(MAKE) -C examples/c/CMT_MBM
|
||||
- $(MAKE) -C examples/c/PSEUDO_LOCK
|
||||
|
||||
setup-dev:
|
||||
$(MAKE) -C appqos setup-dev
|
@ -0,0 +1,64 @@
|
||||
Description: Hard code in hardening options
|
||||
Forwarded: not-needed
|
||||
Author: Colin Ian King <colin.i.king@gmail.com>
|
||||
|
||||
Index: intel-cmt-cat-23.11/lib/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/lib/Makefile
|
||||
+++ intel-cmt-cat-23.11/lib/Makefile
|
||||
@@ -37,8 +37,8 @@ LIB = libpqos
|
||||
VERSION = 5.0.0
|
||||
SO_VERSION = 5
|
||||
SHARED ?= y
|
||||
-LDFLAGS = -L. -lpthread -z noexecstack -z relro -z now
|
||||
-CFLAGS = -pthread -I./ -D_GNU_SOURCE \
|
||||
+LDFLAGS += -L. -lpthread -z noexecstack -z relro -z now
|
||||
+CFLAGS += -pthread -I./ -D_GNU_SOURCE \
|
||||
-W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wold-style-definition -Wpointer-arith \
|
||||
-Wcast-qual -Wundef -Wwrite-strings \
|
||||
Index: intel-cmt-cat-23.11/pqos/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/pqos/Makefile
|
||||
+++ intel-cmt-cat-23.11/pqos/Makefile
|
||||
@@ -36,9 +36,9 @@
|
||||
|
||||
OBJDIR = obj
|
||||
LIBDIR ?= ../lib
|
||||
-LDFLAGS = -L$(LIBDIR) -pie -z noexecstack -z relro -z now
|
||||
+LDFLAGS += -L$(LIBDIR) -pie -z noexecstack -z relro -z now
|
||||
LDLIBS = -lpqos -lpthread
|
||||
-CFLAGS = -I$(LIBDIR) \
|
||||
+CFLAGS += -I$(LIBDIR) \
|
||||
-W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wold-style-definition -Wpointer-arith \
|
||||
-Wcast-qual -Wundef -Wwrite-strings \
|
||||
Index: intel-cmt-cat-23.11/rdtset/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/rdtset/Makefile
|
||||
+++ intel-cmt-cat-23.11/rdtset/Makefile
|
||||
@@ -35,9 +35,9 @@
|
||||
###############################################################################
|
||||
|
||||
LIBDIR ?= ../lib
|
||||
-LDFLAGS = -L$(LIBDIR) -pie -z noexecstack -z relro -z now
|
||||
+LDFLAGS += -L$(LIBDIR) -pie -z noexecstack -z relro -z now
|
||||
LDLIBS = -lpqos -lpthread
|
||||
-CFLAGS = -I$(LIBDIR) \
|
||||
+CFLAGS += -I$(LIBDIR) \
|
||||
-W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wold-style-definition -Wpointer-arith \
|
||||
-Wcast-qual -Wundef -Wwrite-strings \
|
||||
Index: intel-cmt-cat-23.11/tools/membw/Makefile
|
||||
===================================================================
|
||||
--- intel-cmt-cat-23.11.orig/tools/membw/Makefile
|
||||
+++ intel-cmt-cat-23.11/tools/membw/Makefile
|
||||
@@ -42,7 +42,7 @@ PREFIX ?= /usr/local
|
||||
BIN_DIR = $(DESTDIR)/usr/bin
|
||||
MAN_DIR = $(DESTDIR)/usr/share/man/man8
|
||||
|
||||
-CFLAGS=-W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
|
||||
+CFLAGS += -W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wold-style-definition -Wpointer-arith \
|
||||
-Wcast-qual -Wundef -Wwrite-strings \
|
||||
-Wformat -Wformat-security -fstack-protector -fPIE \
|
@ -0,0 +1,51 @@
|
||||
From aadf13d6c87b6fe8d1393623757f826514eaad77 Mon Sep 17 00:00:00 2001
|
||||
From: Eugene Syromiatnikov <esyr@redhat.com>
|
||||
Date: Fri, 16 Aug 2024 16:02:40 +0200
|
||||
Subject: [PATCH 4/5] lib: fix variable types in common.c:pqos_read()
|
||||
|
||||
The types used for len and ret variables in pqos_read do not match
|
||||
neither the function prototype, nor read() library call, which may lead
|
||||
to possible overflow; while the ret overflow is arguably hypothetical
|
||||
on Linux, as it likely won't return a value greater than 0x7ffff000,
|
||||
which is less than INT_MAX, a potential overflow of len seems
|
||||
to be possible, as caller might pass count greater than INT_MAX.
|
||||
Fix it by changing the type of len to size_t, to match count,
|
||||
and the type of ret to ssize_t, to match the return type of read().
|
||||
|
||||
Discovered by covscan:
|
||||
|
||||
Error: INTEGER_OVERFLOW (CWE-190):
|
||||
intel-cmt-cat-23.11/lib/common.c:382: tainted_data_return: Called function "read(fd, byte_ptr, len)", and a possible return value may be less than zero.
|
||||
intel-cmt-cat-23.11/lib/common.c:382: cast_overflow: An assign that casts to a different type, which might trigger an overflow.
|
||||
intel-cmt-cat-23.11/lib/common.c:389: overflow: The expression "len" is considered to have possibly overflowed.
|
||||
intel-cmt-cat-23.11/lib/common.c:382: overflow_sink: "len", which might be negative, is passed to "read(fd, byte_ptr, len)". [Note: The source code implementation of the function has been overridden by a builtin model.]
|
||||
# 380| return -1;
|
||||
# 381|
|
||||
# 382|-> while (len != 0 && (ret = read(fd, byte_ptr, len)) != 0) {
|
||||
# 383| if (ret == -1) {
|
||||
# 384| if (errno == EINTR)
|
||||
|
||||
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
|
||||
---
|
||||
lib/common.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/common.c b/lib/common.c
|
||||
index 55584b34633a..c9688b82f99d 100644
|
||||
--- a/lib/common.c
|
||||
+++ b/lib/common.c
|
||||
@@ -378,9 +378,9 @@ pqos_munmap(void *mem, const uint64_t size)
|
||||
ssize_t
|
||||
pqos_read(int fd, void *buf, size_t count)
|
||||
{
|
||||
- int len = count;
|
||||
+ size_t len = count;
|
||||
char *byte_ptr = (char *)buf;
|
||||
- int ret;
|
||||
+ ssize_t ret;
|
||||
|
||||
if (buf == NULL)
|
||||
return -1;
|
||||
--
|
||||
2.28.0
|
||||
|
@ -0,0 +1,34 @@
|
||||
From 182bb7032151e39d6af6fc34992c7940568b1117 Mon Sep 17 00:00:00 2001
|
||||
From: Eugene Syromiatnikov <esyr@redhat.com>
|
||||
Date: Fri, 16 Aug 2024 16:11:22 +0200
|
||||
Subject: [PATCH 5/5] lib: set errno when buf points to NULL in
|
||||
common.c:pqos_read()
|
||||
|
||||
There is little need for the check, as the first read() call is supposed
|
||||
to fail with EFAULT in case buf is NULL, but if this check is done,
|
||||
it would be nice if it matches the error code the call it wraps.
|
||||
|
||||
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
|
||||
---
|
||||
lib/common.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/common.c b/lib/common.c
|
||||
index c9688b82f99d..3273c86d16e8 100644
|
||||
--- a/lib/common.c
|
||||
+++ b/lib/common.c
|
||||
@@ -382,8 +382,10 @@ pqos_read(int fd, void *buf, size_t count)
|
||||
char *byte_ptr = (char *)buf;
|
||||
ssize_t ret;
|
||||
|
||||
- if (buf == NULL)
|
||||
+ if (buf == NULL) {
|
||||
+ errno = EFAULT;
|
||||
return -1;
|
||||
+ }
|
||||
|
||||
while (len != 0 && (ret = read(fd, byte_ptr, len)) != 0) {
|
||||
if (ret == -1) {
|
||||
--
|
||||
2.28.0
|
||||
|
@ -1,180 +1,194 @@
|
||||
# Copyright (c) 2016-2020, Intel Corporation
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# * Neither the name of Intel Corporation nor the names of its contributors
|
||||
# may be used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
||||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
%global githubname intel-cmt-cat
|
||||
%global githubver 4.1.0
|
||||
|
||||
%if %{defined githubsubver}
|
||||
%global githubfull %{githubname}-%{githubver}.%{githubsubver}
|
||||
%else
|
||||
%global githubfull %{githubname}-%{githubver}
|
||||
%endif
|
||||
|
||||
# disable producing debuginfo for this package
|
||||
%global debug_package %{nil}
|
||||
|
||||
|
||||
Summary: Provides command line interface to CMT, MBM, CAT, CDP and MBA technologies
|
||||
Name: %{githubname}
|
||||
Release: 3%{?dist}
|
||||
Version: %{githubver}
|
||||
License: BSD
|
||||
ExclusiveArch: x86_64 i686 i586
|
||||
%if %{defined githubsubver}
|
||||
Source: https://github.com/01org/%{githubname}/archive/v%{githubver}.%{githubsubver}.tar.gz
|
||||
%else
|
||||
Source: https://github.com/01org/%{githubname}/archive/v%{githubver}.tar.gz
|
||||
%endif
|
||||
URL: https://github.com/01org/%{githubname}
|
||||
BuildRequires: gcc, make
|
||||
%global libpqos_ver 5.0.0
|
||||
%global desc %{expand: \
|
||||
This package provides basic support for Intel Resource Director Technology
|
||||
including, Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring
|
||||
(MBM), Cache Allocation Technology (CAT), Code and Data Prioritization
|
||||
(CDP) and Memory Bandwidth Allocation (MBA).}
|
||||
|
||||
Name: intel-cmt-cat
|
||||
Version: 23.11
|
||||
Release: 5%{?dist}
|
||||
Summary: Intel cache monitoring and allocation technology config tool
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/intel/intel-cmt-cat
|
||||
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: 0001-alter-install-paths.patch
|
||||
Patch1: 0002-remove-build-and-install-of-examples.patch
|
||||
Patch2: 0003-allow-debian-flags-to-be-added.patch
|
||||
Patch3: 0004-lib-fix-variable-types-in-common.c-pqos_read.patch
|
||||
Patch4: 0005-lib-set-errno-when-buf-points-to-NULL-in-common.c-pq.patch
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
This software package provides basic support for
|
||||
Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM),
|
||||
Cache Allocation Technology (CAT), Memory Bandwidth Allocation (MBA),
|
||||
and Code Data Prioratization (CDP).
|
||||
|
||||
CMT, MBM and CAT are configured using Model Specific Registers (MSRs)
|
||||
to measure last level cache occupancy, set up the class of service masks and
|
||||
manage the association of the cores/logical threads to a class of service.
|
||||
The software executes in user space, and access to the MSRs is
|
||||
obtained through a standard Linux* interface. The virtual file system
|
||||
provides an interface to read and write the MSR registers but
|
||||
it requires root privileges.
|
||||
|
||||
%package -n intel-cmt-cat-devel
|
||||
Summary: Library and sample code to use CMT, MBM, CAT, CDP and MBA technologies
|
||||
License: BSD
|
||||
Requires: intel-cmt-cat == %{version}
|
||||
ExclusiveArch: x86_64 i686 i586
|
||||
|
||||
%description -n intel-cmt-cat-devel
|
||||
This software package provides basic support for
|
||||
Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM),
|
||||
Cache Allocation Technology (CAT), Memory Bandwidth Allocation (MBA),
|
||||
and Code Data Prioratization (CDP).
|
||||
The package includes library, header file and sample code.
|
||||
|
||||
For additional information please refer to:
|
||||
https://github.com/01org/%{githubname}
|
||||
%{desc}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{githubfull}
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%description devel %{desc}
|
||||
|
||||
Development files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
# Not doing make install as it strips the symbols.
|
||||
# Using files from the build directory.
|
||||
install -d %{buildroot}/%{_bindir}
|
||||
install -s %{_builddir}/%{githubfull}/pqos/pqos %{buildroot}/%{_bindir}
|
||||
install %{_builddir}/%{githubfull}/pqos/pqos-os %{buildroot}/%{_bindir}
|
||||
install %{_builddir}/%{githubfull}/pqos/pqos-msr %{buildroot}/%{_bindir}
|
||||
sed -i "1s/.*/\#!\/usr\/bin\/bash/" %{buildroot}/%{_bindir}/pqos-*
|
||||
|
||||
install -d %{buildroot}/%{_mandir}/man8
|
||||
install -m 0644 %{_builddir}/%{githubfull}/pqos/pqos.8 %{buildroot}/%{_mandir}/man8
|
||||
ln -sf %{_mandir}/man8/pqos.8 %{buildroot}/%{_mandir}/man8/pqos-os.8
|
||||
ln -sf %{_mandir}/man8/pqos.8 %{buildroot}/%{_mandir}/man8/pqos-msr.8
|
||||
|
||||
install -d %{buildroot}/%{_bindir}
|
||||
install -s %{_builddir}/%{githubfull}/rdtset/rdtset %{buildroot}/%{_bindir}
|
||||
|
||||
install -d %{buildroot}/%{_mandir}/man8
|
||||
install -m 0644 %{_builddir}/%{githubfull}/rdtset/rdtset.8 %{buildroot}/%{_mandir}/man8
|
||||
|
||||
install -d %{buildroot}/%{_licensedir}/%{name}-%{version}
|
||||
install -m 0644 %{_builddir}/%{githubfull}/LICENSE %{buildroot}/%{_licensedir}/%{name}-%{version}
|
||||
|
||||
# Install the library
|
||||
install -d %{buildroot}/%{_libdir}
|
||||
install -s %{_builddir}/%{githubfull}/lib/libpqos.so.* %{buildroot}/%{_libdir}
|
||||
cp -a %{_builddir}/%{githubfull}/lib/libpqos.so %{buildroot}/%{_libdir}
|
||||
cp -a %{_builddir}/%{githubfull}/lib/libpqos.so.4 %{buildroot}/%{_libdir}
|
||||
|
||||
# Install the header file
|
||||
install -d %{buildroot}/%{_includedir}
|
||||
install -m 0644 %{_builddir}/%{githubfull}/lib/pqos.h %{buildroot}/%{_includedir}
|
||||
|
||||
# Install license and sample code
|
||||
install -d %{buildroot}/%{_usrsrc}/%{githubfull}
|
||||
install -m 0644 %{_builddir}/%{githubfull}/LICENSE %{buildroot}/%{_usrsrc}/%{githubfull}
|
||||
|
||||
install -d %{buildroot}/%{_usrsrc}/%{githubfull}/c
|
||||
|
||||
install -d %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT_MBA
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT_MBA/Makefile %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT_MBA
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT_MBA/reset_app.c %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT_MBA
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT_MBA/allocation_app_l2cat.c %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT_MBA
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT_MBA/allocation_app_l3cat.c %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT_MBA
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT_MBA/allocation_app_mba.c %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT_MBA
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT_MBA/association_app.c %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT_MBA
|
||||
|
||||
install -d %{buildroot}/%{_usrsrc}/%{githubfull}/c/CMT_MBM
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CMT_MBM/Makefile %{buildroot}/%{_usrsrc}/%{githubfull}/c/CMT_MBM
|
||||
install -m 0644 %{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{buildroot}/%{_usrsrc}/%{githubfull}/c/CMT_MBM
|
||||
%make_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%{_bindir}/pqos
|
||||
%{_bindir}/pqos-os
|
||||
%{_bindir}/pqos-msr
|
||||
%{_mandir}/man8/pqos.8.gz
|
||||
%{_mandir}/man8/pqos-os.8.gz
|
||||
%{_mandir}/man8/pqos-msr.8.gz
|
||||
%{_bindir}/rdtset
|
||||
%{_mandir}/man8/rdtset.8.gz
|
||||
%{_libdir}/libpqos.so.*
|
||||
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license %{_licensedir}/%{name}-%{version}/LICENSE
|
||||
%doc ChangeLog README
|
||||
|
||||
%files -n intel-cmt-cat-devel
|
||||
%{_libdir}/libpqos.so
|
||||
%{_libdir}/libpqos.so.4
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.md
|
||||
%{_bindir}/membw
|
||||
%{_sbindir}/pqos
|
||||
%{_sbindir}/pqos-msr
|
||||
%{_sbindir}/pqos-os
|
||||
%{_sbindir}/rdtset
|
||||
%{_libdir}/libpqos.so.5
|
||||
%{_libdir}/libpqos.so.%{libpqos_ver}
|
||||
%{_mandir}/man8/membw.8*
|
||||
%{_mandir}/man8/pqos.8*
|
||||
%{_mandir}/man8/pqos-msr.8*
|
||||
%{_mandir}/man8/pqos-os.8*
|
||||
%{_mandir}/man8/rdtset.8*
|
||||
|
||||
%files -n %{name}-devel
|
||||
%{_includedir}/pqos.h
|
||||
%{_usrsrc}/%{githubfull}/c/CAT_MBA/Makefile
|
||||
%{_usrsrc}/%{githubfull}/c/CAT_MBA/reset_app.c
|
||||
%{_usrsrc}/%{githubfull}/c/CAT_MBA/association_app.c
|
||||
%{_usrsrc}/%{githubfull}/c/CAT_MBA/allocation_app_l2cat.c
|
||||
%{_usrsrc}/%{githubfull}/c/CAT_MBA/allocation_app_l3cat.c
|
||||
%{_usrsrc}/%{githubfull}/c/CAT_MBA/allocation_app_mba.c
|
||||
%{_usrsrc}/%{githubfull}/c/CMT_MBM/Makefile
|
||||
%{_usrsrc}/%{githubfull}/c/CMT_MBM/monitor_app.c
|
||||
%doc %{_usrsrc}/%{githubfull}/LICENSE
|
||||
%{_libdir}/libpqos.so
|
||||
|
||||
%changelog
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.1.0-3
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
* Fri Aug 23 2024 Eugene Syromiatnikov <esyr@redhat.com> - 23.11-5
|
||||
- Address issues reported by SAST (RHEL-40017)
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 23.11-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Nov 13 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 23.11-1
|
||||
- Update to 23.11
|
||||
|
||||
* Thu Aug 31 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 23.08-1
|
||||
- Update to 23.08
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Mar 06 2023 Raghavan Kanagaraj <raghavan.kanagaraj@intel.com> - 4.5.0-1
|
||||
- New release 4.5.0
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Oct 12 2022 Marcel cornu <marcel.d.cornu@intel.com> - 4.4.1-1
|
||||
- New release 4.4.1
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Mar 1 2022 Khawar Abbasi <khawar.abbasi@intel.com> - 4.3.0-1
|
||||
- New release 4.3.0
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Dec 18 2020 Khawar Abbasi <khawar.abbasi@intel.com> - 4.1.0-1
|
||||
- New release 4.1.0
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 21 2020 Khawar Abbasi <khawar.abbasi@intel.com> - 4.0.0-1
|
||||
- New release 4.0.0
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Mon Sep 30 2019 Marcel cornu <marcel.d.cornu@intel.com> - 3.1.1-1
|
||||
- New release 3.1.1
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Mar 27 2019 Marcel cornu <marcel.d.cornu@intel.com> - 3.0.1-1
|
||||
- New release 3.0.1
|
||||
|
||||
* Mon Feb 18 2019 Marcel cornu <marcel.d.cornu@intel.com> - 3.0.0-1
|
||||
- New release 3.0.0
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Oct 16 2018 Marcel cornu <marcel.d.cornu@intel.com>, Michal Aleksinski <michalx.aleksinski@intel.com> 2.1.0-1
|
||||
- New release 2.1.0
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Marcel cornu <marcel.d.cornu@intel.com>, Michal Aleksinski <michalx.aleksinski@intel.com> - 2.0.0-1
|
||||
- New release 2.0.0
|
||||
|
||||
* Thu Mar 08 2018 Marcel cornu <marcel.d.cornu@intel.com>, Michal Aleksinski <michalx.aleksinski@intel.com> - 1.2.0-3
|
||||
- Updated spec file with BuildRequires tag
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Nov 29 2017 Marcel Cornu <marcel.d.cornu@intel.com>, Wojciech Andralojc <wojciechx.andralojc@intel.com> 1.2.0-1
|
||||
- New release 1.2.0
|
||||
|
||||
* Thu Aug 3 2017 Aaron Hetherington <aaron.hetherington@intel.com>, Marcel Cornu <marcel.d.cornu@intel.com> 1.1.0-1
|
||||
- New release 1.1.0
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Jun 21 2017 Aaron Hetherington <aaron.hetherington@intel.com>, Marcel Cornu <marcel.d.cornu@intel.com> 1.0.1-1
|
||||
- Spec file bug fixes
|
||||
|
||||
* Wed Jun 07 2017 Aaron Hetherington <aaron.hetherington@intel.com>, Marcel Cornu <marcel.d.cornu@intel.com> 1.0.1-1
|
||||
- new release
|
||||
- bug fixes
|
||||
|
||||
* Fri May 19 2017 Aaron Hetherington <aaron.hetherington@intel.com>, Michal Aleksinski <michalx.aleksinski@intel.com> 1.0.0-1
|
||||
- new release
|
||||
|
||||
* Tue Feb 14 2017 Aaron Hetherington <aaron.hetherington@intel.com> 0.1.5-1
|
||||
- new release
|
||||
|
||||
* Mon Oct 17 2016 Aaron Hetherington <aaron.hetherington@intel.com> 0.1.5
|
||||
- new release
|
||||
|
||||
* Tue Apr 19 2016 Tomasz Kantecki <tomasz.kantecki@intel.com> 0.1.4-3
|
||||
- global typo fix
|
||||
- small edits in the description
|
||||
|
||||
* Wed Jun 09 2021 Martin Cermak <mcermak@redhat.com> - 4.1.0-2
|
||||
- CI gating related NVR bump and rebuild
|
||||
* Mon Apr 18 2016 Tomasz Kantecki <tomasz.kantecki@intel.com> 0.1.4-2
|
||||
- LICENSE file added to the package
|
||||
|
||||
* Sun May 02 2021 Jiri Olsa <jolsa@kernel.org> - 4.1.0-1
|
||||
- RHEL9 release 4.1.0, copied from fedora
|
||||
* Thu Apr 7 2016 Tomasz Kantecki <tomasz.kantecki@intel.com> 0.1.4-1
|
||||
- initial version of the package
|
||||
|
Loading…
Reference in new issue