*/*: treeclean stale/unmaintained packages

Closes: https://bugs.gentoo.org/885347
Closes: https://bugs.gentoo.org/885345
Closes: https://bugs.gentoo.org/885343
Closes: https://bugs.gentoo.org/885341
Closes: https://bugs.gentoo.org/885339
Closes: https://bugs.gentoo.org/885337
Closes: https://bugs.gentoo.org/885335
Closes: https://bugs.gentoo.org/885331
Closes: https://bugs.gentoo.org/885329
Closes: https://bugs.gentoo.org/869230
Closes: https://bugs.gentoo.org/860975
Closes: https://bugs.gentoo.org/859664
Closes: https://bugs.gentoo.org/900362
Closes: https://bugs.gentoo.org/887439
Closes: https://bugs.gentoo.org/887433
Closes: https://bugs.gentoo.org/855116
Closes: https://bugs.gentoo.org/855107
Closes: https://bugs.gentoo.org/897656
Closes: https://bugs.gentoo.org/887955
Closes: https://bugs.gentoo.org/885293
Closes: https://bugs.gentoo.org/847322
Closes: https://bugs.gentoo.org/843524
Closes: https://bugs.gentoo.org/860012
Closes: https://bugs.gentoo.org/852032
Closes: https://bugs.gentoo.org/887193
Closes: https://bugs.gentoo.org/859646
Closes: https://bugs.gentoo.org/901025
Closes: https://bugs.gentoo.org/921735
Closes: https://bugs.gentoo.org/901027
Closes: https://bugs.gentoo.org/887209
Closes: https://bugs.gentoo.org/859649
Closes: https://bugs.gentoo.org/855125
Closes: https://bugs.gentoo.org/921751
Closes: https://bugs.gentoo.org/859673
Closes: https://bugs.gentoo.org/799449
Closes: https://bugs.gentoo.org/901127
Closes: https://bugs.gentoo.org/921740
Closes: https://bugs.gentoo.org/901163
Closes: https://bugs.gentoo.org/887313
Closes: https://bugs.gentoo.org/847325
Closes: https://bugs.gentoo.org/884553
Closes: https://bugs.gentoo.org/859700
Closes: https://bugs.gentoo.org/857633
Closes: https://bugs.gentoo.org/857630
Closes: https://bugs.gentoo.org/857627
Closes: https://bugs.gentoo.org/857624
Closes: https://bugs.gentoo.org/884565
Closes: https://bugs.gentoo.org/855080
Closes: https://bugs.gentoo.org/855119
Closes: https://bugs.gentoo.org/901167
Closes: https://bugs.gentoo.org/887413
Closes: https://bugs.gentoo.org/861707
Closes: https://bugs.gentoo.org/859715
Closes: https://bugs.gentoo.org/901179
Closes: https://bugs.gentoo.org/901181
Closes: https://bugs.gentoo.org/901141
Closes: https://bugs.gentoo.org/887435
Closes: https://bugs.gentoo.org/859718
Closes: https://bugs.gentoo.org/901177
Closes: https://bugs.gentoo.org/890893
Closes: https://bugs.gentoo.org/901185
Closes: https://bugs.gentoo.org/887445
Closes: https://bugs.gentoo.org/884579
Closes: https://bugs.gentoo.org/901193
Closes: https://bugs.gentoo.org/859724
Closes: https://bugs.gentoo.org/886629
Closes: https://bugs.gentoo.org/859730
Closes: https://bugs.gentoo.org/861974
Closes: https://bugs.gentoo.org/887511
Closes: https://bugs.gentoo.org/861977
Closes: https://bugs.gentoo.org/861980
Closes: https://bugs.gentoo.org/887513
Closes: https://bugs.gentoo.org/897392
Closes: https://bugs.gentoo.org/861983
Closes: https://bugs.gentoo.org/861986
Closes: https://bugs.gentoo.org/861989
Closes: https://bugs.gentoo.org/861992
Closes: https://bugs.gentoo.org/861995
Closes: https://bugs.gentoo.org/887515
Closes: https://bugs.gentoo.org/861998
Closes: https://bugs.gentoo.org/862001
Closes: https://bugs.gentoo.org/887517
Closes: https://bugs.gentoo.org/862004
Closes: https://bugs.gentoo.org/862007
Closes: https://bugs.gentoo.org/862010
Closes: https://bugs.gentoo.org/862013
Closes: https://bugs.gentoo.org/862016
Closes: https://bugs.gentoo.org/862079
Closes: https://bugs.gentoo.org/915488
Closes: https://bugs.gentoo.org/884693
Closes: https://bugs.gentoo.org/901149
Closes: https://bugs.gentoo.org/855278
Closes: https://bugs.gentoo.org/921779
Closes: https://bugs.gentoo.org/921885
Closes: https://bugs.gentoo.org/835485
Closes: https://bugs.gentoo.org/887659
Closes: https://bugs.gentoo.org/834741
Closes: https://bugs.gentoo.org/884695
Closes: https://bugs.gentoo.org/901297
Closes: https://bugs.gentoo.org/807703
Closes: https://bugs.gentoo.org/862957
Closes: https://bugs.gentoo.org/922022
Closes: https://bugs.gentoo.org/923917
Closes: https://bugs.gentoo.org/923916
Closes: https://bugs.gentoo.org/923918
Closes: https://bugs.gentoo.org/901287
Closes: https://bugs.gentoo.org/852047
Closes: https://bugs.gentoo.org/852035
Closes: https://bugs.gentoo.org/860333
Closes: https://bugs.gentoo.org/848039
Closes: https://bugs.gentoo.org/897650
Closes: https://bugs.gentoo.org/849071
Closes: https://bugs.gentoo.org/842342
Closes: https://bugs.gentoo.org/860471
Closes: https://bugs.gentoo.org/887953
Closes: https://bugs.gentoo.org/863371
Closes: https://bugs.gentoo.org/887951
Closes: https://bugs.gentoo.org/860459
Closes: https://bugs.gentoo.org/901407
Closes: https://bugs.gentoo.org/847352
Closes: https://bugs.gentoo.org/922042
Closes: https://bugs.gentoo.org/860462
Closes: https://bugs.gentoo.org/901409
Closes: https://bugs.gentoo.org/897652
Closes: https://bugs.gentoo.org/848021
Closes: https://bugs.gentoo.org/901405
Closes: https://bugs.gentoo.org/887959
Closes: https://bugs.gentoo.org/901411
Closes: https://bugs.gentoo.org/887961
Closes: https://bugs.gentoo.org/860465
Closes: https://bugs.gentoo.org/885291
Closes: https://bugs.gentoo.org/901413
Closes: https://bugs.gentoo.org/887967
Closes: https://bugs.gentoo.org/860468
Closes: https://bugs.gentoo.org/863377
Closes: https://bugs.gentoo.org/922043
Closes: https://bugs.gentoo.org/901425
Closes: https://bugs.gentoo.org/863380
Closes: https://bugs.gentoo.org/847319
Closes: https://bugs.gentoo.org/863383
Closes: https://bugs.gentoo.org/860474
Closes: https://bugs.gentoo.org/887989
Closes: https://bugs.gentoo.org/860477
Closes: https://bugs.gentoo.org/887991
Closes: https://bugs.gentoo.org/901427
Closes: https://bugs.gentoo.org/887993
Closes: https://bugs.gentoo.org/901429
Closes: https://bugs.gentoo.org/887997
Closes: https://bugs.gentoo.org/860480
Closes: https://bugs.gentoo.org/897654
Closes: https://bugs.gentoo.org/922047
Closes: https://bugs.gentoo.org/887999
Closes: https://bugs.gentoo.org/897664
Closes: https://bugs.gentoo.org/860531
Closes: https://bugs.gentoo.org/784665
Closes: https://bugs.gentoo.org/860525
Closes: https://bugs.gentoo.org/888003
Closes: https://bugs.gentoo.org/860537
Closes: https://bugs.gentoo.org/922052
Closes: https://bugs.gentoo.org/897662
Closes: https://bugs.gentoo.org/901421
Closes: https://bugs.gentoo.org/785535
Closes: https://bugs.gentoo.org/784644
Closes: https://bugs.gentoo.org/804831
Closes: https://bugs.gentoo.org/885365
Closes: https://bugs.gentoo.org/922053
Closes: https://bugs.gentoo.org/840707
Closes: https://bugs.gentoo.org/836142
Closes: https://bugs.gentoo.org/836153
Closes: https://bugs.gentoo.org/783675
Closes: https://bugs.gentoo.org/888005
Closes: https://bugs.gentoo.org/887879
Closes: https://bugs.gentoo.org/860528
Closes: https://bugs.gentoo.org/901417
Closes: https://bugs.gentoo.org/922055
Closes: https://bugs.gentoo.org/842807
Closes: https://bugs.gentoo.org/810287
Closes: https://bugs.gentoo.org/888007
Closes: https://bugs.gentoo.org/860540
Closes: https://bugs.gentoo.org/885373
Closes: https://bugs.gentoo.org/888011
Closes: https://bugs.gentoo.org/800995
Closes: https://bugs.gentoo.org/885375
Closes: https://bugs.gentoo.org/863758
Closes: https://bugs.gentoo.org/809320
Closes: https://bugs.gentoo.org/809440
Closes: https://bugs.gentoo.org/863779
Closes: https://bugs.gentoo.org/901431
Closes: https://bugs.gentoo.org/860774
Closes: https://bugs.gentoo.org/860768
Closes: https://bugs.gentoo.org/901433
Closes: https://bugs.gentoo.org/852989
Closes: https://bugs.gentoo.org/885367
Closes: https://bugs.gentoo.org/860771
Closes: https://bugs.gentoo.org/901435
Closes: https://bugs.gentoo.org/887881
Closes: https://bugs.gentoo.org/901437
Closes: https://bugs.gentoo.org/784668
Closes: https://bugs.gentoo.org/901439
Closes: https://bugs.gentoo.org/901419
Closes: https://bugs.gentoo.org/888017
Closes: https://bugs.gentoo.org/888019
Closes: https://bugs.gentoo.org/901441
Closes: https://bugs.gentoo.org/885377
Closes: https://bugs.gentoo.org/901443
Closes: https://bugs.gentoo.org/807115
Closes: https://bugs.gentoo.org/885363
Closes: https://bugs.gentoo.org/888021
Closes: https://bugs.gentoo.org/888023
Closes: https://bugs.gentoo.org/901445
Closes: https://bugs.gentoo.org/888015
Closes: https://bugs.gentoo.org/887921
Closes: https://bugs.gentoo.org/863821
Closes: https://bugs.gentoo.org/907907
Closes: https://bugs.gentoo.org/887883
Closes: https://bugs.gentoo.org/908948
Closes: https://bugs.gentoo.org/908947
Closes: https://bugs.gentoo.org/908951
Closes: https://bugs.gentoo.org/892694
Closes: https://bugs.gentoo.org/801016
Closes: https://bugs.gentoo.org/922082
Closes: https://bugs.gentoo.org/852260
Closes: https://bugs.gentoo.org/901451
Closes: https://bugs.gentoo.org/922083
Closes: https://bugs.gentoo.org/860777
Closes: https://bugs.gentoo.org/901449
Closes: https://bugs.gentoo.org/901453
Closes: https://bugs.gentoo.org/921785
Closes: https://bugs.gentoo.org/860969
Closes: https://bugs.gentoo.org/817227
Closes: https://bugs.gentoo.org/921788
Closes: https://bugs.gentoo.org/921789
Closes: https://bugs.gentoo.org/835527
Closes: https://bugs.gentoo.org/897414
Closes: https://bugs.gentoo.org/921781
Closes: https://bugs.gentoo.org/897430
Closes: https://bugs.gentoo.org/848720
Closes: https://bugs.gentoo.org/883173
Closes: https://bugs.gentoo.org/921800
Closes: https://bugs.gentoo.org/921803
Closes: https://bugs.gentoo.org/921804
Closes: https://bugs.gentoo.org/921807
Closes: https://bugs.gentoo.org/901479
Closes: https://bugs.gentoo.org/901483
Closes: https://bugs.gentoo.org/901151
Closes: https://bugs.gentoo.org/896028
Closes: https://bugs.gentoo.org/921783
Closes: https://bugs.gentoo.org/897432
Closes: https://bugs.gentoo.org/905472
Closes: https://bugs.gentoo.org/921810
Closes: https://bugs.gentoo.org/843485
Closes: https://bugs.gentoo.org/921816
Closes: https://bugs.gentoo.org/921818
Closes: https://bugs.gentoo.org/921825
Closes: https://bugs.gentoo.org/921822
Closes: https://bugs.gentoo.org/816654
Closes: https://bugs.gentoo.org/921775
Closes: https://bugs.gentoo.org/921777
Closes: https://bugs.gentoo.org/848723
Closes: https://bugs.gentoo.org/921853
Closes: https://bugs.gentoo.org/921895
Closes: https://bugs.gentoo.org/921855
Closes: https://bugs.gentoo.org/897506
Closes: https://bugs.gentoo.org/921857
Closes: https://bugs.gentoo.org/880013
Closes: https://bugs.gentoo.org/897542
Closes: https://bugs.gentoo.org/921864
Closes: https://bugs.gentoo.org/922915
Closes: https://bugs.gentoo.org/921897
Closes: https://bugs.gentoo.org/921900
Closes: https://bugs.gentoo.org/921865
Closes: https://bugs.gentoo.org/887637
Closes: https://bugs.gentoo.org/839306
Closes: https://bugs.gentoo.org/921868
Closes: https://bugs.gentoo.org/921869
Closes: https://bugs.gentoo.org/862082
Closes: https://bugs.gentoo.org/921873
Closes: https://bugs.gentoo.org/897588
Closes: https://bugs.gentoo.org/901221
Closes: https://bugs.gentoo.org/921808
Closes: https://bugs.gentoo.org/897590
Closes: https://bugs.gentoo.org/848549
Closes: https://bugs.gentoo.org/921876
Closes: https://bugs.gentoo.org/921878
Closes: https://bugs.gentoo.org/921879
Closes: https://bugs.gentoo.org/921880
Closes: https://bugs.gentoo.org/921797
Closes: https://bugs.gentoo.org/862765
Closes: https://bugs.gentoo.org/921780
Closes: https://bugs.gentoo.org/921881
Closes: https://bugs.gentoo.org/921813
Closes: https://bugs.gentoo.org/921784
Closes: https://bugs.gentoo.org/800076
Closes: https://bugs.gentoo.org/921884
Closes: https://bugs.gentoo.org/822456

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-02-22 19:46:50 -05:00
parent 48e042ef35
commit a6b3f15b1a
1906 changed files with 99 additions and 50951 deletions

View File

@@ -1,55 +0,0 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MYPV="pwr-v${PV}"
PYTHON_COMPAT=( python3_10 pypy3 )
inherit distutils-r1
DESCRIPTION="Python library providing various tools to work with Intel processors"
HOMEPAGE="https://github.com/intel/CommsPowerManagement"
SRC_URI="https://github.com/intel/CommsPowerManagement/archive/refs/tags/${MYPV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MYPV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="${PYTHON_DEPS}"
DEPEND="${RDEPEND}"
IUSE="ansible"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
distutils-r1_python_prepare_all
}
src_compile() {
pushd "pwr" || die
python_foreach_impl distutils-r1_python_compile
popd || die
}
src_install() {
python_foreach_impl python_install
dodoc *.md
#docinto telemetry
#dodoc telemetry/*.md
dodoc -r intel_sst_os_interface
#where to put those?
use ansible && dodoc -r ansible
}
python_install() {
pushd "pwr" || die
distutils-r1_python_install
popd || die
python_doscript power.py
python_doscript sst_bf.py
#python_doscript telemetry/pkgpower.py
}

View File

@@ -1 +0,0 @@
DIST CommsPowerManagement-0.2.1.tar.gz 32669 BLAKE2B 381aa8906377f0facdd909b53c4d8ba7d961a54691a4a3520f8c492aa6d97b55842536dcebd8f578373e2399a82af2c8098b2ac45332cfd1959e22e2e7de505d SHA512 6e449b7c2e199b67496b87725aa4595bd8107adfa1fb050b3cdd1c2db5620a3be4f784dd78f1e57bdea809a29cca7b27f55c08cfbc2b070f789100183508205a

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<bugs-to>https://github.com/intel/CommsPowerManagement/issues</bugs-to>
<remote-id type="github">intel/CommsPowerManagement</remote-id>
</upstream>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Introduction
Recent generations of the Intel® Xeon® family processors allow configurations where:
Turbo Boost can be enabled on a per-core basis.
Some cores can be given a higher base frequency than others
Overview
The scripts provided are as follows:
power.py allows the user to adjust the frequencies and Turbo-Boost availability on a core-by-core basis. This script allows the adjustment of P-states, C-states and Turbo-Boost.
sst_bf.py allows the user to confure the system for Intel® Speed Select Technology - Base Frequency (Intel® SST-BF). This allows some cores to run at a higher base frequency than others.
pwr.py a python library which can be imported into an application, to measure/modify core frequencies of a CPU to utilize Intel® Speed Select Technology.
The 'pwr' library is built to help take advantage of various Intel processor features such as:
- Core and uncore frequency scaling
- SST-BF technology
- SST-CP technology
It is intended to be used to build various orchestration and platform power management tools.
</longdescription>
<use>
<flag name="ansible">Install ansible playbook</flag>
</use>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST intel-cmt-cat-4.4.0.tar.gz 494818 BLAKE2B 827b5b001612ce0241088aabe2cfb87f460148e5321f92ff9f0a1b9d58ac1afe25e32afc3c842736f33f338e80a8ba64d983271504d8dc2cc89fcc95ff903b9a SHA512 3882304976f5a27bb7085a764ac481114c403281648e288f75db3dba325c46572b88d5d47841711cf1bdc77f4706fb28026036f871bbfb763a66bcc226e1728d

View File

@@ -1,47 +0,0 @@
--- a/pqos/Makefile
+++ b/pqos/Makefile
@@ -110,12 +110,12 @@
ifeq ($(shell uname), FreeBSD)
install -d $(BIN_DIR)
install -d $(MAN_DIR)
- install -s $(APP) $(BIN_DIR)
+ install $(APP) $(BIN_DIR)
install $(APP)-msr $(BIN_DIR)
install -m 0444 $(MAN) $(MAN_DIR)
ln -f -s $(MAN) $(MAN_DIR)/$(APP)-msr.8
else
- install -D -s $(APP) $(BIN_DIR)/$(APP)
+ install -D $(APP) $(BIN_DIR)/$(APP)
install -D $(APP)-msr $(BIN_DIR)/$(APP)-msr
install -D $(APP)-os $(BIN_DIR)/$(APP)-os
install -m 0444 $(MAN) -D $(MAN_DIR)/$(MAN)
--- a/rdtset/Makefile
+++ b/rdtset/Makefile
@@ -117,10 +117,10 @@
ifeq ($(shell uname), FreeBSD)
install -d $(BIN_DIR)
install -d $(MAN_DIR)
- install -s $(APP) $(BIN_DIR)
+ install $(APP) $(BIN_DIR)
install -m 0444 $(MAN) $(MAN_DIR)
else
- install -D -s $(APP) $(BIN_DIR)/$(APP)
+ install -D $(APP) $(BIN_DIR)/$(APP)
install -m 0444 $(MAN) -D $(MAN_DIR)/$(MAN)
endif
--- a/tools/membw/Makefile
+++ b/tools/membw/Makefile
@@ -94,10 +94,10 @@
ifeq ($(shell uname), FreeBSD)
install -d $(BIN_DIR)
install -d $(MAN_DIR)
- install -s $(APP) $(BIN_DIR)
+ install $(APP) $(BIN_DIR)
install -m 0444 $(MAN) $(MAN_DIR)
else
- install -D -s $(APP) $(BIN_DIR)/$(APP)
+ install -D $(APP) $(BIN_DIR)/$(APP)
install -m 0444 $(MAN) -D $(MAN_DIR)/$(MAN)
endif

View File

@@ -1,282 +0,0 @@
--- 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)

View File

@@ -1,15 +0,0 @@
--- a/tools/membw/Makefile
+++ b/tools/membw/Makefile
@@ -94,10 +94,10 @@
ifeq ($(shell uname), FreeBSD)
install -d $(BIN_DIR)
install -d $(MAN_DIR)
- install -s $(APP) $(BIN_DIR)
+ install $(APP) $(BIN_DIR)
install -m 0444 $(MAN) $(MAN_DIR)
else
- install -D -s $(APP) $(BIN_DIR)/$(APP)
+ install -D $(APP) $(BIN_DIR)/$(APP)
install -m 0444 $(MAN) -D $(MAN_DIR)/$(MAN)
endif

View File

@@ -1,22 +0,0 @@
--- 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 -Wno-misleading-indentation",
- 'LIBS' => ['-lpqos', '-L/usr/local/lib -lpqos'],
+ 'CCFLAGS' => "$Config{ccflags} -Wno-unused-variable -Wno-unused-value -Wno-misleading-indentation -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';

View File

@@ -1,22 +0,0 @@
--- 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';

View File

@@ -1,105 +0,0 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} ) #pypy3 has warnings
inherit distutils-r1 perl-module
DESCRIPTION="User space software for Intel(R) Resource Director Technology"
HOMEPAGE="
https://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"
IUSE="perl"
RDEPEND="perl? ( dev-lang/perl:= )"
PATCHES=(
"${FILESDIR}/${P}-perl-makefile.patch"
"${FILESDIR}/${P}-no-strip.patch"
"${FILESDIR}/${PN}-4.3.0-respect-flags.patch"
)
distutils_enable_tests unittest
src_prepare() {
mkdir -p "${T}/prefix" || die
distutils-r1_python_prepare_all
}
src_compile() {
emake all PREFIX="${T}/prefix"
pushd "lib/python" || die
python_foreach_impl distutils-r1_python_compile
popd || die
if use perl; then
pushd "lib/perl" || die
perl-module_src_configure
perl-module_src_compile
popd || die
fi
}
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.md
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.md
docinto snmp
dodoc snmp/README
docinto rdtset
dodoc rdtset/README
unset DOCS
python_foreach_impl python_install
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
}
src_test() {
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${S}/lib" python_foreach_impl python_test
}
python_install() {
pushd "lib/python" || die
distutils-r1_python_install
popd || die
}
python_test() {
pushd "lib/python" || die
eunittest
popd || die
}

View File

@@ -1,54 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://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 MSRs 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>
<use>
<flag name="appqos">Install App QoS, a software created to demonstrate the use of Intel(R) RDT technologies (CAT, MBA) to improve QoS for applications via partitioning system resources.</flag>
</use>
</pkgmetadata>

View File

@@ -1,2 +0,0 @@
DIST sysz-1.4.1.tar.gz 7631 BLAKE2B f93d89eb9fd6ca2e804a96fc41d921cf10ac2e115c9494a96bad4230ff22f89fcc40c2da6d825fdc693be94e0ab868cbb7f2e5e8017f80260ee07d8b4ee88ca7 SHA512 6fbaedefb133649ce3a24d1fb39cefd034f5c55b884c96d4b3eccecda0cf94372662a6858d25e7b72d4faa9fffaaa9dcfa92a291aad753c7500d19d0581c1db7
DIST sysz-1.4.3.tar.gz 7736 BLAKE2B e5f6021c1ab825c4b7129991391ed359a01459e492bcc5907eee1e2e2b2c54f441d3a2c9686c334adbf2d0fb50640902a967bb0a4035bec17a1d39ef9f6c1ca7 SHA512 ced6ea97594566fdf5ed642d31faa18fab230257bea4f9dc861e95a9c9ef6f2261d2cc3f579c55530c2f73c087c4d0c18f91a24fce79e34c5693c73a37d1e832

View File

@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/joehillen/sysz/issues</bugs-to>
<remote-id type="github">joehillen/sysz</remote-id>
</upstream>
<longdescription lang="en">
Features
See and filter both system and user units simultaneously.
Supports all unit types.
Units ordered by service, timer, socket, and the rest.
Runs sudo automatically and only if necessary.
Filter units by state using ctrl-s or the --state option.
Run daemon-reload with ctrl-r.
Has short versions of systemctl commands to reduce typing.
Runs status after other commands (start, stop, restart, etc).
Select multiple units, states, and commands using TAB.
Only prompts commands based on current state (e.g. show "start" only if the unit is inactive).
</longdescription>
</pkgmetadata>

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="An fzf terminal UI for systemctl"
HOMEPAGE="https://github.com/joehillen/sysz"
SRC_URI="https://github.com/joehillen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=app-shells/bash-4.3
>=app-shells/fzf-0.27.1
app-alternatives/awk
"
# removed to make GURU CI happy
# sys-apps/systemd
DOCS=( README.md CHANGELOG.md )
src_compile() {
:
}
src_install() {
dobin "${PN}"
einstalldocs
}

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="An fzf terminal UI for systemctl"
HOMEPAGE="https://github.com/joehillen/sysz"
SRC_URI="https://github.com/joehillen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=app-shells/bash-4.3
>=app-shells/fzf-0.27.1
app-alternatives/awk
"
# removed to make GURU CI happy
# sys-apps/systemd
DOCS=( README.md CHANGELOG.md )
src_compile() {
:
}
src_install() {
dobin "${PN}"
einstalldocs
}

View File

@@ -1 +0,0 @@
DIST watchdogd-3.5.gh.tar.gz 113820 BLAKE2B 8ff0a3c36806663fcbc4d003d93e7d76fa00e8414612832cacebc4bfbb254c8312673f31667dabb395884d0a81611718143a95eb40ff9a5ccde85d1b7769ef24 SHA512 7bbedae36c7a88924a03d478eef3c00100664a046f90dca9e56835c847fb338830cca29db582288f4ff997c841092078f07fa735b69cea19453cac1664b56909

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/troglobit/watchdogd/issues</bugs-to>
<remote-id type="github">troglobit/watchdogd</remote-id>
</upstream>
<use>
<flag name="compat">Enable compat supervisor.status and signals</flag>
<flag name="generic">Enable generic script monitor</flag>
<flag name="loadavg">Enable CPU load average monitor</flag>
<flag name="filenr">Enable file descriptor leak monitor</flag>
<flag name="meminfo">Enable memory leak monitor</flag>
</use>
</pkgmetadata>

View File

@@ -1,56 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools edo toolchain-funcs
DESCRIPTION="Advanced system & process supervisor for Linux"
HOMEPAGE="
https://troglobit.com/watchdogd.html
https://github.com/troglobit/watchdogd
"
SRC_URI="https://github.com/troglobit/watchdogd/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
IUSE="compat examples filenr generic loadavg meminfo systemd"
RDEPEND="
dev-libs/confuse:=
dev-libs/libite
dev-libs/libuev
systemd? ( sys-apps/systemd )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}
src_configure() {
tc-export CC
local myconf=(
$(use_enable compat)
$(use_enable examples)
$(use_with filenr)
$(use_with generic)
$(use_with loadavg)
$(use_with meminfo)
$(use_with systemd)
)
econf "${myconf[@]}"
}
src_install() {
default
dodoc README.md ChangeLog.md doc/*
if use examples; then
dodir "/usr/libexec/${PN}"
edo mv "${ED}"/usr/bin/ex* "${ED}/usr/libexec/${PN}/"
fi
edo find "${ED}" -name '*.la' -delete
}