Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/milk-org/milk into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
oguyon committed Jan 7, 2025
2 parents ce32f41 + 66e5b38 commit 41f3d92
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
5 changes: 4 additions & 1 deletion python_module/CacaoProcessTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,10 @@ If entry already exists, do not modify it
[](pyFps &cls) {
return cls.keys();
})

.def("signal_update",
&pyFps::signal_update,
R"pbdoc(Send update signal to FPS
)pbdoc")
.def("CONFstart",
&pyFps::CONFstart,
R"pbdoc(FPS start CONF process
Expand Down
6 changes: 6 additions & 0 deletions python_module/pyFps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ class pyFps
return levelKeys;
}

void signal_update()
{
fps_.md->signal |=
FUNCTION_PARAMETER_STRUCT_SIGNAL_UPDATE; // notify GUI loop to update
}

errno_t CONFstart()
{
return functionparameter_CONFstart(&fps_);
Expand Down
19 changes: 8 additions & 11 deletions src/CommandLineInterface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ find_package(GSL QUIET REQUIRED)
pkg_check_modules(FFTW REQUIRED fftw3)
pkg_check_modules(FFTWF REQUIRED fftw3f)
pkg_check_modules(NCURSES REQUIRED ncurses)
pkg_check_modules(READLINE REQUIRED readline)
find_package(OpenMP)

pkg_check_modules(HWLOC hwloc)
Expand Down Expand Up @@ -187,7 +188,7 @@ install(FILES CLIcore.h
standalone_dependencies.h
timeutils.h
DESTINATION include/${SRCNAME})

install(FILES CLIcore/CLIcore_UI.h
CLIcore/CLIcore_checkargs.h
CLIcore/CLIcore_datainit.h
Expand All @@ -198,7 +199,7 @@ install(FILES CLIcore/CLIcore_UI.h
CLIcore/CLIcore_signals.h
CLIcore/CLIcore_utils.h
DESTINATION include/${SRCNAME}/CLIcore)

install(FILES fps/fps_CONFstart.h
fps/fps_CONFstop.h
fps/fps_FPCONFexit.h
Expand Down Expand Up @@ -235,22 +236,22 @@ install(FILES fps/fps_CONFstart.h
fps/fps_tmux.h
fps/fps_userinputsetparamvalue.h
DESTINATION include/${SRCNAME}/fps)

install(FILES fpsCTRL/fpsCTRL_FPSdisplay.h
fpsCTRL/fpsCTRL_TUI.h
fpsCTRL/fpsCTRL_TUI_process_user_key.h
fpsCTRL/level0node_summary.h
fpsCTRL/print_nodeinfo.h
fpsCTRL/scheduler_display.h
DESTINATION include/${SRCNAME}/fpsCTRL)

install(FILES procCTRL/procCTRL_GetCPUloads.h
procCTRL/procCTRL_GetNumberCPUs.h
procCTRL/procCTRL_PIDcollectSystemInfo.h
procCTRL/procCTRL_TUI.h
procCTRL/procCTRL_processinfo_scan.h
DESTINATION include/${SRCNAME}/procCTRL)

install(FILES processinfo/processinfo_SIGexit.h
processinfo/processinfo_WriteMessage.h
processinfo/processinfo_exec_end.h
Expand All @@ -263,9 +264,9 @@ install(FILES processinfo/processinfo_SIGexit.h
processinfo/processinfo_shm_link.h
processinfo/processinfo_shm_list_create.h
processinfo/processinfo_signals.h
processinfo/processinfo_update_output_stream.h
processinfo/processinfo_update_output_stream.h
DESTINATION include/${SRCNAME}/processinfo)

install(FILES streamCTRL/streamCTRL_TUI.h
DESTINATION include/${SRCNAME}/streamCTRL)

Expand All @@ -281,7 +282,3 @@ add_test (NAME milklistim COMMAND milk-exec "listim")
set_property (TEST milklistim PROPERTY LABELS "CLI")
set_tests_properties(milklistim PROPERTIES TIMEOUT 1)
set_property (TEST milklistim PROPERTY PASS_REGULAR_EXPRESSION "0 image")




0 comments on commit 41f3d92

Please sign in to comment.