diff --git a/eagle-fix-adaptor-linkage.patch b/eagle-fix-adaptor-linkage.patch new file mode 100644 index 0000000000000000000000000000000000000000..f0bea15ca01e1355a6005b2205465116001ea4d0 --- /dev/null +++ b/eagle-fix-adaptor-linkage.patch @@ -0,0 +1,10 @@ +--- eagle/src/pwrapi_adaptor/CMakeLists.txt.orig 2025-10-02 10:38:35.268824900 +0800 ++++ eagle/src/pwrapi_adaptor/CMakeLists.txt 2025-10-02 10:39:31.773700700 +0800 +@@ -14,6 +14,7 @@ + set (PG_NAME ${PROJECT_NAME}) + add_library(${PG_NAME} SHARED ${SCHED_SRC}) + set_target_properties(${PG_NAME} PROPERTIES LINKER_LANGUAGE C) ++target_link_libraries(${PG_NAME} pwrapi) + set (CMAKE_EXPORT_COMPILE_COMMANDS ON) + + if(BUILD_LLT) diff --git a/eagle.spec b/eagle.spec index 3ac89c7df6bd12b97801c47d47709a5c76cdb590..8dee263a346777319f8839b88dd2d54e54a51559 100644 --- a/eagle.spec +++ b/eagle.spec @@ -1,13 +1,13 @@ Name: eagle Version: 1.1.0 -Release: 6 +Release: 7 Summary: eagle kit License: Mulan PSL v2 URL: https://gitee.com/openeuler/eagle Source0: eagle-mpctool.tar.gz Source1: eagle-1.1.0.tar.gz +Patch0: eagle-fix-adaptor-linkage.patch BuildRequires: gcc, make, cmake, powerapi-devel, numactl-devel -Requires: powerapi, numactl-libs, tar %description 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 %prep %setup -n mpctool -b 0 -T %setup -n eagle -b 1 -T +%patch -P0 -p1 %build cd %{_builddir}/mpctool @@ -98,6 +99,9 @@ systemctl disable mpctool.service %{python3_sitelib}/* %changelog +* Thu Oct 02 2025 Funda Wang - 1.1.0-7 +- fix linkage of pwrapi_adaptor + * Mon Dec 9 2024 heppen - 1.1.0-6 - Bug fix: spelling errors of freq_service and idle_service