blob: adce2a2bbb040e6c1e989a926763c5c064cb3a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# WAAS (Workload-Aware Application Scheduling) codeploy service.
#
# Upstream ships a flat Python application (src/*.py) with no setup.py or
# pyproject.toml, therefore it is packaged as an application rather than an
# importable library. The scripts import each other by bare module name, so
# they are installed together under /usr/libexec/waas and exposed through a
# small launcher in /usr/bin.
#
# Runtime note: src/metric_monitor.py imports the BoostKit "kperf" module,
# which is not shipped in the openEuler repositories; it is expected to be
# provided by the WAAS deployment environment.
Name: waas
Version: 25.3.T7.B083
Release: 1%{?dist}
Summary: WAAS codeploy service for workload-aware resource scheduling
License: Apache-2.0
URL: https://gitcode.com/boostkit/waas
Source0: https://gitcode.com/boostkit/waas/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: python3
Requires: python3-psutil
%description
WAAS (Workload-Aware Application Scheduling) codeploy is a DaemonSet-style
service that binds target processes to CPU cores, performs NUMA-aware
migration and enforces cgroup / resctrl resource restrictions on nodes.
This package provides the waas_codeploy Python service and its helper
modules.
%prep
%autosetup -n %{name}-%{version}
%build
# Pure Python application: nothing to compile.
%install
install -d %{buildroot}%{_libexecdir}/%{name}
install -m 0644 src/*.py %{buildroot}%{_libexecdir}/%{name}/
install -d %{buildroot}%{_bindir}
cat > %{buildroot}%{_bindir}/waas_codeploy << 'EOF'
#!/bin/sh
exec python3 %{_libexecdir}/waas/waas_codeploy.py "$@"
EOF
chmod 0755 %{buildroot}%{_bindir}/waas_codeploy
%files
%license LICENSE
%doc README.md README.en.md
%{_libexecdir}/%{name}/
%{_bindir}/waas_codeploy
%changelog
* Thu Nov 26 2026 Python_Bot <Python_Bot@openeuler.org> - 25.3.T7.B083-1
- Initial package
|