Compare commits
No commits in common. "spivee/disable-avx2" and "master" have entirely different histories.
spivee/dis
...
master
@ -205,7 +205,10 @@ do_start_stop(#s{acc = PubKey, keys = Keys, network = Network, max_cores = MaxCo
|
||||
{Fatness, Type} =
|
||||
case os:type() of
|
||||
{unix, linux} ->
|
||||
{"mean", "generic"};
|
||||
case Network of
|
||||
<<"mainnet">> -> {"mean", "avx2"};
|
||||
<<"testnet">> -> {"mean", "generic"}
|
||||
end;
|
||||
{unix, darwin} ->
|
||||
% Check memory. >7gb gets mean, <7gb gets lean
|
||||
{"mean", "generic"};
|
||||
@ -213,7 +216,10 @@ do_start_stop(#s{acc = PubKey, keys = Keys, network = Network, max_cores = MaxCo
|
||||
% Check memory. >7gb gets mean, <7gb gets lean
|
||||
% Check avx2.
|
||||
% Both should be provided by the F# start program
|
||||
{"mean", "generic"}
|
||||
case Network of
|
||||
<<"mainnet">> -> {"mean", "avx2.exe"};
|
||||
<<"testnet">> -> {"mean", "generic.exe"}
|
||||
end
|
||||
end,
|
||||
Miner = filename:join(platform_dir(), unicode:characters_to_binary([Fatness, Bits, "-", Type])),
|
||||
Count = optimize_count(MaxCores, MaxMem),
|
||||
|
Loading…
x
Reference in New Issue
Block a user