Change executable_groups and add bin_dir hook

This commit is contained in:
Ulf Wiger
2025-05-21 22:40:40 +02:00
parent 476bedfdac
commit d45f64f027
5 changed files with 11 additions and 12 deletions
+3 -4
View File
@@ -66,7 +66,7 @@ pool_admin() ->
workers() ->
array(
#{default => [#{executable => <<"mean29-generic">>,
executable_group => <<"aecuckoo">>}],
executable_group => <<"cpu">>}],
description =>
<<"Definitions of workers' configurations. If no worker are configured one worker "
"is used as default, i.e. 'mean29-generic' executable without any extra args.">>},
@@ -83,9 +83,8 @@ workers() ->
"from faster CPU supporting AVX2 instructions).">>}),
executable_group =>
str(#{description => <<"Group of executable binaries of the worker.">>,
enum => [ <<"aecuckoo">>, <<"aecuckooprebuilt">>,
<<"gmcuckoo">>, <<"cuda">>, <<"gajumine">> ],
default => <<"aecuckoo">>}),
enum => [ <<"cpu">>, <<"cuda">> ],
default => <<"cpuo">>}),
extra_args =>
str(#{description => <<"Extra arguments to pass to the worker executable binary. "
"The safest choice is specifying no arguments i.e. empty string.">>,