已开启
fix linkage of pwrapi_adaptor #60
Funda Wang创建于 2025年10月2日
fix linkage of pwrapi_adaptor #60
已开启
Funda Wang创建于 2025年10月2日
从refs/pull/60/head合入到master
共 2 个文件变更+16-2
@@ -0,0 +1,10 @@
1+--- eagle/src/pwrapi_adaptor/CMakeLists.txt.orig 2025-10-02 10:38:35.268824900 +0800
2++++ eagle/src/pwrapi_adaptor/CMakeLists.txt 2025-10-02 10:39:31.773700700 +0800
3+@@ -14,6 +14,7 @@
4+ set (PG_NAME ${PROJECT_NAME})
5+ add_library(${PG_NAME} SHARED ${SCHED_SRC})
6+ set_target_properties(${PG_NAME} PROPERTIES LINKER_LANGUAGE C)
7++target_link_libraries(${PG_NAME} pwrapi)
8+ set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
9+
10+ if(BUILD_LLT)
@@ -1,13 +1,13 @@
1Name: eagle1Name: eagle
Funda Wang
Funda WangFunda Wang2025年10月2日

powerapi 和 numactl-libs 作为上游库,通过二进制依赖关系,可以自动带入。不需要手动说明

整个源代码中找不到与 tar 有关的代码,予以删除。

likedislike
2Version: 1.1.02Version: 1.1.0
3-Release: 63+Release: 7
4Summary: eagle kit4Summary: eagle kit
5License: Mulan PSL v25License: Mulan PSL v2
6URL: https://gitee.com/openeuler/eagle6URL: https://gitee.com/openeuler/eagle
7Source0: eagle-mpctool.tar.gz7Source0: eagle-mpctool.tar.gz
8Source1: eagle-1.1.0.tar.gz8Source1: eagle-1.1.0.tar.gz
9+Patch0: eagle-fix-adaptor-linkage.patch
9BuildRequires: gcc, make, cmake, powerapi-devel, numactl-devel10BuildRequires: gcc, make, cmake, powerapi-devel, numactl-devel
10-Requires: powerapi, numactl-libs, tar
11 11 
12%description12%description
13EAGLE(Energy Aware intelliGent scheduler) is a service for dynamically tuning the OS based on energy efficiency.13EAGLE(Energy Aware intelliGent scheduler) is a service for dynamically tuning the OS based on energy efficiency.
@@ -25,6 +25,7 @@ Requires: python3-numpy python3-pandas python3-psutil python3-scipy ip
25%prep25%prep
26%setup -n mpctool -b 0 -T26%setup -n mpctool -b 0 -T
27%setup -n eagle -b 1 -T27%setup -n eagle -b 1 -T
28+%patch -P0 -p1
28 29 
29%build30%build
30cd %{_builddir}/mpctool31cd %{_builddir}/mpctool
@@ -98,6 +99,9 @@ systemctl disable mpctool.service
98%{python3_sitelib}/*99%{python3_sitelib}/*
99 100 
100%changelog101%changelog
102+* Thu Oct 02 2025 Funda Wang <fundawang@yeah.net> - 1.1.0-7
103+- fix linkage of pwrapi_adaptor
104+ 
101* Mon Dec 9 2024 heppen<hepeng68@huawei.com> - 1.1.0-6105* Mon Dec 9 2024 heppen<hepeng68@huawei.com> - 1.1.0-6
102- Bug fix: spelling errors of freq_service and idle_service106- Bug fix: spelling errors of freq_service and idle_service
103 107