已开启
fix linkage of pwrapi_adaptor #60
Funda Wang创建于 2025年10月2日
fix linkage of pwrapi_adaptor #60
已开启
从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 @@ | |||
| 1 | Name: eagle | 1 | Name: eagle |
| 2 | Version: 1.1.0 | 2 | Version: 1.1.0 |
| 3 | -Release: 6 | 3 | +Release: 7 |
| 4 | Summary: eagle kit | 4 | Summary: eagle kit |
| 5 | License: Mulan PSL v2 | 5 | License: Mulan PSL v2 |
| 6 | URL: https://gitee.com/openeuler/eagle | 6 | URL: https://gitee.com/openeuler/eagle |
| 7 | Source0: eagle-mpctool.tar.gz | 7 | Source0: eagle-mpctool.tar.gz |
| 8 | Source1: eagle-1.1.0.tar.gz | 8 | Source1: eagle-1.1.0.tar.gz |
| 9 | +Patch0: eagle-fix-adaptor-linkage.patch | ||
| 9 | BuildRequires: gcc, make, cmake, powerapi-devel, numactl-devel | 10 | BuildRequires: gcc, make, cmake, powerapi-devel, numactl-devel |
| 10 | -Requires: powerapi, numactl-libs, tar | ||
| 11 | 11 | ||
| 12 | %description | 12 | %description |
| 13 | EAGLE(Energy Aware intelliGent scheduler) is a service for dynamically tuning the OS based on energy efficiency. | 13 | EAGLE(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 | %prep | 25 | %prep |
| 26 | %setup -n mpctool -b 0 -T | 26 | %setup -n mpctool -b 0 -T |
| 27 | %setup -n eagle -b 1 -T | 27 | %setup -n eagle -b 1 -T |
| 28 | +%patch -P0 -p1 | ||
| 28 | 29 | ||
| 29 | %build | 30 | %build |
| 30 | cd %{_builddir}/mpctool | 31 | cd %{_builddir}/mpctool |
| @@ -98,6 +99,9 @@ systemctl disable mpctool.service | |||
| 98 | %{python3_sitelib}/* | 99 | %{python3_sitelib}/* |
| 99 | 100 | ||
| 100 | %changelog | 101 | %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-6 | 105 | * Mon Dec 9 2024 heppen<hepeng68@huawei.com> - 1.1.0-6 |
| 102 | - Bug fix: spelling errors of freq_service and idle_service | 106 | - Bug fix: spelling errors of freq_service and idle_service |
| 103 | 107 | ||
powerapi 和 numactl-libs 作为上游库,通过二进制依赖关系,可以自动带入。不需要手动说明
整个源代码中找不到与 tar 有关的代码,予以删除。