* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/files/, sys-apps/intel-cmt-cat/
@ 2021-08-27 16:10 Haelwenn Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Haelwenn Monnier @ 2021-08-27 16:10 UTC (permalink / raw
To: gentoo-commits
commit: 48688d49de7264603504f4c3807d40ee09e5428a
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Aug 25 01:38:54 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Aug 25 01:51:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48688d49
sys-apps/intel-cmt-cat: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-apps/intel-cmt-cat/Manifest | 1 +
.../files/intel-cmt-cat-perl-makefile.patch | 22 +++++
sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild | 108 +++++++++++++++++++++
sys-apps/intel-cmt-cat/metadata.xml | 51 ++++++++++
4 files changed, 182 insertions(+)
diff --git a/sys-apps/intel-cmt-cat/Manifest b/sys-apps/intel-cmt-cat/Manifest
new file mode 100644
index 000000000..59cfff0d6
--- /dev/null
+++ b/sys-apps/intel-cmt-cat/Manifest
@@ -0,0 +1 @@
+DIST intel-cmt-cat-4.2.0.tar.gz 470596 BLAKE2B 781e69a7019a27e87b6b6c8d2c914305a837d019cadf8d1b6221942c631e0e46531a292379d7979ae88e7a590b155bc4e5a62777bdd9ebfb2881471ef64bfa32 SHA512 ccfae2e3fa5bb8b7dfe5ed39ab20a8526eb759378aeb14fb7ed79f4f94820cd69e497c9e7d411f1d9ec40c07ca4c7c4f2db6ff1e034a8517c01c06bd8a70d4b6
diff --git a/sys-apps/intel-cmt-cat/files/intel-cmt-cat-perl-makefile.patch b/sys-apps/intel-cmt-cat/files/intel-cmt-cat-perl-makefile.patch
new file mode 100644
index 000000000..39b9a553e
--- /dev/null
+++ b/sys-apps/intel-cmt-cat/files/intel-cmt-cat-perl-makefile.patch
@@ -0,0 +1,22 @@
+--- a/lib/perl/Makefile.PL
++++ b/lib/perl/Makefile.PL
+@@ -42,8 +42,8 @@
+ WriteMakefile(
+ 'NAME' => 'pqos',
+ 'VERSION' => "0.1",
+- 'CCFLAGS' => "$Config{ccflags} -Wno-unused-variable -Wno-unused-value",
+- 'LIBS' => ['-lpqos', '-L/usr/local/lib -lpqos'],
++ 'CCFLAGS' => "$Config{ccflags} -Wno-unused-variable -Wno-unused-value -I..",
++ 'LIBS' => ['-lpqos', '-L.. -lpqos'],
+ 'OBJECT' => 'pqos_wrap.o',
+ 'clean' => {FILES => "pqos_wrap.c"},
+ );
+@@ -56,7 +56,7 @@
+
+ my $swig_target = <<"SWIG_MAKEFILE";
+ pqos_wrap.c:
+- $swig -perl -outdir \$(INST_LIB) -I/usr/local/include \$(EXTRA_SWIGFLAGS) pqos.i
++ $swig -perl -outdir \$(INST_LIB) -I.. \$(EXTRA_SWIGFLAGS) pqos.i
+ SWIG_MAKEFILE
+
+ my $perltidy_targets = <<'PERLTIDY_MAKEFILE';
diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild
new file mode 100644
index 000000000..e65818eef
--- /dev/null
+++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1 perl-module
+
+DESCRIPTION="User space software for Intel(R) Resource Director Technology"
+HOMEPAGE="
+ http://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html
+ https://github.com/intel/intel-cmt-cat
+"
+SRC_URI="https://github.com/intel/intel-cmt-cat/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="perl"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ perl? ( dev-lang/perl:= )
+"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+PATCHES=( "${FILESDIR}/${PN}-perl-makefile.patch" )
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ mkdir -p "${T}/prefix" || die
+
+ distutils-r1_python_prepare_all
+}
+
+src_compile() {
+ emake all PREFIX="${T}/prefix"
+
+ if use perl; then
+ pushd "lib/perl" || die
+ perl-module_src_configure
+ perl-module_src_compile
+ popd || die
+ fi
+ pushd "lib/python" || die
+ python_foreach_impl distutils-r1_python_compile
+ popd || die
+# pushd "appqos" || die
+# python_foreach_impl distutils-r1_python_compile
+# popd || die
+}
+
+src_install() {
+ emake install PREFIX="${T}/prefix"
+
+ dobin "${T}"/prefix/bin/*
+ doheader "${T}"/prefix/include/*
+ doman "${T}"/prefix/man/man*/*
+ dolib.so "${T}"/prefix/lib/*
+
+ dobin tools/membw/membw
+ dobin snmp/rdt-agentx.pl
+
+ dodoc ChangeLog README
+ docinto membw
+ dodoc tools/membw/README
+ docinto pqos
+ dodoc -r pqos/README pqos/configs
+ docinto lib
+ dodoc lib/README
+ docinto lib/python
+ dodoc lib/python/README.txt
+ docinto snmp
+ dodoc snmp/README
+ docinto rdtset
+ dodoc rdtset/README
+ docinto appqos
+ dodoc appqos/README.md
+
+ if use perl ; then
+ pushd "lib/perl" || die
+ unset DOCS
+ myinst=( DESTDIR="${D}" )
+ perl-module_src_install
+ popd || die
+ docinto lib/perl
+ dodoc lib/perl/README
+ fi
+ unset DOCS
+ pushd "lib/python" || die
+ python_foreach_impl distutils-r1_python_install
+ popd || die
+# pushd "appqos" || die
+# python_foreach_impl distutils-r1_python_install
+# popd || die
+}
+
+src_test() {
+ pushd "lib/python" || die
+ python_foreach_impl python_test
+ popd || die
+# pushd "appqos" || die
+# python_foreach_impl python_test
+# popd || die
+}
diff --git a/sys-apps/intel-cmt-cat/metadata.xml b/sys-apps/intel-cmt-cat/metadata.xml
new file mode 100644
index 000000000..fd18b3532
--- /dev/null
+++ b/sys-apps/intel-cmt-cat/metadata.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <bugs-to>https://github.com/intel/intel-cmt-cat/issues</bugs-to>
+ <remote-id type="github">intel/intel-cmt-cat</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <longdescription lang="en">
+Overview
+========
+
+This software package provides basic support for
+Intel(R) Resource Director Technology (Intel(R) RDT) including:
+Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM),
+Cache Allocation Technology (CAT), Code and Data Prioritization (CDP)
+and Memory Bandwidth Allocation (MBA).
+
+In principle, the software programs the technologies via
+Model Specific Registers (MSR) on a hardware thread basis.
+MSR access is arranged via a standard operating system driver:
+msr on Linux and cpuctl on FreeBSD. In the most common architectural
+implementations, presence of the technologies is detected via the
+CPUID instruction.
+
+In a limited number of special cases where CAT is not architecturally
+supported on a particular SKU (but instead a non-architectural
+(model-specific) implementation exists) it can be detected via brand
+string. This brand string is read from CPUID and compared to a table
+of known-supported SKUs. If needed, a final check is to probe the
+specific MSR’s to discover hardware capabilities, however it is
+recommended that CPUID enumeration should be used wherever possible.
+
+From software version v1.0.0 the library adds option to use Intel(R) RDT via
+available OS interfaces (perf and resctrl on Linux). The library detects
+presence of these interfaces and allows to select the preferred one through
+a configuration option.
+As the result, existing tools like 'pqos' or 'rdtset' can also be used
+to manage Intel(R) RDT in an OS compatible way. MSR interface remains
+the default option for now. 'pqos' tool wrappers have been added to help with
+the interface selection. 'pqos-os' and 'pqos-msr' for OS and MSR interface
+operations respectively.
+
+PID API compile time option has been removed and the APIs are always available.
+Note that proper operation of these APIs depends on availability and
+selection of OS interface.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/files/, sys-apps/intel-cmt-cat/
@ 2022-03-10 9:45 Ronny Gutbrod
0 siblings, 0 replies; 2+ messages in thread
From: Ronny Gutbrod @ 2022-03-10 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 3cdf921a8ac5e26395e3dcedcbfd11cc42587097
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar 9 00:09:10 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Mar 9 00:09:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3cdf921a
sys-apps/intel-cmt-cat: fix patch
Closes: https://bugs.gentoo.org/834747
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../files/intel-cmt-cat-4.3.0-respect-flags.patch | 282 +++++++++++++++++++++
sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild | 6 +-
2 files changed, 285 insertions(+), 3 deletions(-)
diff --git a/sys-apps/intel-cmt-cat/files/intel-cmt-cat-4.3.0-respect-flags.patch b/sys-apps/intel-cmt-cat/files/intel-cmt-cat-4.3.0-respect-flags.patch
new file mode 100644
index 000000000..f45332b10
--- /dev/null
+++ b/sys-apps/intel-cmt-cat/files/intel-cmt-cat-4.3.0-respect-flags.patch
@@ -0,0 +1,282 @@
+--- a/examples/c/CAT_MBA/Makefile
++++ b/examples/c/CAT_MBA/Makefile
+@@ -35,17 +35,16 @@
+ ###############################################################################
+
+ LIBDIR ?= ../../../lib
+-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 \
+- -Wformat -Wformat-security -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 \
+- -Wunreachable-code -Wsign-compare -Wno-endif-labels \
+- -g -O2
++ -Wformat -Wformat-security -fPIE \
++ -Wunreachable-code -Wsign-compare -Wno-endif-labels
+ ifneq ($(EXTRA_CFLAGS),)
+ CFLAGS += $(EXTRA_CFLAGS)
+ endif
+-LDFLAGS=-L$(LIBDIR) -pie -z noexecstack -z relro -z now
++LDFLAGS += -L$(LIBDIR) -pie -z noexecstack -z relro -z now
+ LDLIBS=-lpqos -lpthread
+
+ # ICC and GCC options
+--- a/examples/c/CMT_MBM/Makefile
++++ b/examples/c/CMT_MBM/Makefile
+@@ -35,17 +35,16 @@
+ ###############################################################################
+
+ LIBDIR ?= ../../../lib
+-CFLAGS =-I$(LIBDIR) -pthread \
++CFLAGS += -I$(LIBDIR) -pthread \
+ -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 -D_FORTIFY_SOURCE=2 \
+- -Wunreachable-code -Wsign-compare -Wno-endif-labels \
+- -g -O2
++ -Wformat -Wformat-security -fPIE \
++ -Wunreachable-code -Wsign-compare -Wno-endif-labels
+ ifneq ($(EXTRA_CFLAGS),)
+ CFLAGS += $(EXTRA_CFLAGS)
+ endif
+-LDFLAGS=-L$(LIBDIR) -pie -z noexecstack -z relro -z now
++LDFLAGS += -L$(LIBDIR) -pie -z noexecstack -z relro -z now
+ LDLIBS=-lpqos -lpthread
+
+ # ICC and GCC options
+--- a/examples/c/PSEUDO_LOCK/Makefile
++++ b/examples/c/PSEUDO_LOCK/Makefile
+@@ -35,15 +35,14 @@
+ ###############################################################################
+
+ LIBDIR ?= ../../../lib
+-LDFLAGS = -L$(LIBDIR) -pie -z noexecstack -z relro -z now
++LDFLAGS += -L$(LIBDIR) -pie -z noexecstack -z relro -z now
+ LDLIBS = -lpqos -lrt -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 \
+- -Wformat -Wformat-security -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 \
+- -Wunreachable-code -Wsign-compare -Wno-endif-labels \
+- -g -O2
++ -Wformat -Wformat-security -fPIE \
++ -Wunreachable-code -Wsign-compare -Wno-endif-labels
+ ifneq ($(EXTRA_CFLAGS),)
+ CFLAGS += $(EXTRA_CFLAGS)
+ endif
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -37,12 +37,12 @@
+ VERSION = 4.3.0
+ SO_VERSION = 4
+ 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 \
+- -Wformat -Wformat-security -fstack-protector \
++ -Wformat -Wformat-security \
+ -Wunreachable-code -Wsign-compare -Wno-endif-labels
+ ifneq ($(EXTRA_CFLAGS),)
+ CFLAGS += $(EXTRA_CFLAGS)
+@@ -83,9 +83,7 @@
+
+ # DEBUG build
+ ifeq ($(DEBUG),y)
+-CFLAGS += -g -ggdb -Og -DDEBUG
+-else
+-CFLAGS += -g -O2 -D_FORTIFY_SOURCE=2
++CFLAGS += -DDEBUG
+ endif
+
+ # RMID CUSTOM
+@@ -114,7 +112,7 @@
+ endif
+
+ HDR = pqos.h
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ LIB_INSTALL_DIR ?= $(PREFIX)/lib
+ HDR_DIR ?= $(PREFIX)/include
+ DEPFILE = $(LIB).dep
+--- a/pqos/Makefile
++++ b/pqos/Makefile
+@@ -35,13 +35,13 @@
+ ###############################################################################
+
+ 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 \
+- -Wformat -Wformat-security -fstack-protector -fPIE \
++ -Wformat -Wformat-security -fPIE \
+ -Wunreachable-code -Wsign-compare -Wno-endif-labels
+ ifneq ($(EXTRA_CFLAGS),)
+ CFLAGS += $(EXTRA_CFLAGS)
+@@ -68,9 +68,7 @@
+
+ # DEBUG build
+ ifeq ($(DEBUG),y)
+-CFLAGS += -g -ggdb -O0 -DDEBUG
+-else
+-CFLAGS += -g -O2 -D_FORTIFY_SOURCE=2
++CFLAGS += -DDEBUG
+ endif
+
+ # RMID CUSTOM
+@@ -83,7 +81,7 @@
+ MAN = pqos.8
+
+ # XXX: modify as desired
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ BIN_DIR = $(PREFIX)/bin
+ MAN_DIR = $(PREFIX)/man/man8
+
+--- a/rdtset/Makefile
++++ b/rdtset/Makefile
+@@ -35,13 +35,13 @@
+ ###############################################################################
+
+ 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 \
+- -Wformat -Wformat-security -fstack-protector -fPIE \
++ -Wformat -Wformat-security -fPIE \
+ -Wunreachable-code -Wsign-compare -Wno-endif-labels \
+ -D_GNU_SOURCE
+ ifneq ($(EXTRA_CFLAGS),)
+@@ -69,9 +69,7 @@
+
+ # DEBUG build
+ ifeq ($(DEBUG),y)
+-CFLAGS += -g -ggdb -O0 -DDEBUG
+-else
+-CFLAGS += -g -O2 -D_FORTIFY_SOURCE=2
++CFLAGS += -DDEBUG
+ endif
+
+ # RMID CUSTOM
+@@ -90,7 +88,7 @@
+ MAN = rdtset.8
+
+ # XXX: modify as desired
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ BIN_DIR = $(PREFIX)/bin
+ MAN_DIR = $(PREFIX)/man/man8
+
+--- a/tools/membw/Makefile
++++ b/tools/membw/Makefile
+@@ -38,21 +38,19 @@
+ MAN = membw.8
+
+ # XXX: modify as desired
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ BIN_DIR = $(PREFIX)/bin
+ MAN_DIR = $(PREFIX)/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 \
++ -Wformat -Wformat-security -fPIE \
+ -Wunreachable-code -Wsign-compare -Wno-endif-labels \
+- -Winline -msse4.2
++ -Winline
+
+ ifeq ($(DEBUG),y)
+-CFLAGS += -O0 -g -DDEBUG
+-else
+-CFLAGS += -O3 -g -D_FORTIFY_SOURCE=2
++CFLAGS += -DDEBUG
+ endif
+
+ HAS_AVX512 := $(shell $(CC) -mavx512f -dM -E - < /dev/null 2> /dev/null | grep -c "AVX512F")
+--- a/unit-test/lib/Makefile
++++ b/unit-test/lib/Makefile
+@@ -15,18 +15,16 @@
+ TESTS = $(TESTS_SRCS:%.c=$(BIN_DIR)/%)
+
+
+-LDFLAGS = -L$(MOCK_DIR) -lpthread -lcmocka -lpqosmock -z noexecstack -z relro -z now
+-CFLAGS = -pthread -I$(LIB_DIR) -I$(MOCK_DIR) \
++LDFLAGS += -L$(MOCK_DIR) -lpthread -lcmocka -lpqosmock -z noexecstack -z relro -z now
++CFLAGS += -pthread -I$(LIB_DIR) -I$(MOCK_DIR) \
+ -D_GNU_SOURCE \
+ -W -Wall -Wextra -Wstrict-prototypes \
+ -Wold-style-definition -Wpointer-arith \
+ -Wcast-qual -Wundef -Wwrite-strings \
+- -Wformat -Wformat-security -fstack-protector \
++ -Wformat -Wformat-security \
+ -Wunreachable-code -Wsign-compare -Wno-endif-labels \
+ -D'PQOS_LOCAL=' -D'PQOS_API='
+
+-CFLAGS += -g -ggdb -O0
+-
+ all: $(TESTS)
+
+ $(OBJ_DIR)/%.o: $(LIB_DIR)/%.c $(OBJ_DIR)/%.d
+@@ -528,4 +526,4 @@
+
+ clean:
+ rm -rf $(BIN_DIR)
+- rm -rf $(OBJ_DIR)
+\ Manca newline alla fine del file
++ rm -rf $(OBJ_DIR)
+--- a/unit-test/mock/Makefile
++++ b/unit-test/mock/Makefile
+@@ -38,12 +38,12 @@
+
+ LIB = libpqosmock
+ SHARED ?= y
+-LDFLAGS = -L. -lpthread -z noexecstack -z relro -z now
+-CFLAGS = -pthread -I$(LIB_DIR) -D_GNU_SOURCE \
++LDFLAGS += -L. -lpthread -z noexecstack -z relro -z now
++CFLAGS += -pthread -I$(LIB_DIR) -D_GNU_SOURCE \
+ -W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wold-style-definition -Wpointer-arith \
+ -Wcast-qual -Wundef -Wwrite-strings \
+- -Wformat -Wformat-security -fstack-protector \
++ -Wformat -Wformat-security \
+ -Wunreachable-code -Wsign-compare -Wno-endif-labels
+ ifneq ($(EXTRA_CFLAGS),)
+ CFLAGS += $(EXTRA_CFLAGS)
+@@ -82,9 +82,7 @@
+
+ # DEBUG build
+ ifeq ($(DEBUG),y)
+-CFLAGS += -g -ggdb -O0 -DDEBUG
+-else
+-CFLAGS += -g -O2 -D_FORTIFY_SOURCE=2
++CFLAGS += -DDEBUG
+ endif
+
+ # Build targets and dependencies
+@@ -155,4 +153,4 @@
+
+ .PHONY: clean
+ clean:
+- -rm -f $(CLEAN_OBJS) $(LIB)* $(DEPFILES)
+\ Manca newline alla fine del file
++ -rm -f $(CLEAN_OBJS) $(LIB)* $(DEPFILES)
diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
index 7e8662eb6..008f2408b 100644
--- a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
+++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
@@ -41,7 +41,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
PATCHES=(
"${FILESDIR}/${PN}-perl-makefile.patch"
"${FILESDIR}/${PN}-do-not-strip.patch"
- "${FILESDIR}/${PN}-respect-flags.patch"
+ "${FILESDIR}/${P}-respect-flags.patch"
)
distutils_enable_tests unittest
@@ -79,7 +79,7 @@ src_install() {
dobin tools/membw/membw
dobin snmp/rdt-agentx.pl
- dodoc ChangeLog README
+ dodoc ChangeLog README.md
docinto membw
dodoc tools/membw/README
docinto pqos
@@ -87,7 +87,7 @@ src_install() {
docinto lib
dodoc lib/README
docinto lib/python
- dodoc lib/python/README.txt
+ dodoc lib/python/README.md
docinto snmp
dodoc snmp/README
docinto rdtset
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-10 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-27 16:10 [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/files/, sys-apps/intel-cmt-cat/ Haelwenn Monnier
-- strict thread matches above, loose matches on Subject: below --
2022-03-10 9:45 Ronny Gutbrod
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox