Patch fix to make Windows use generic until we fix AVX2

This commit is contained in:
Craig Everett 2025-08-11 17:43:08 +09:00
parent be63fe141b
commit 7eaacaddce
7 changed files with 10 additions and 9 deletions

View File

@ -3,6 +3,6 @@
{registered,[]}, {registered,[]},
{included_applications,[]}, {included_applications,[]},
{applications,[stdlib,kernel]}, {applications,[stdlib,kernel]},
{vsn,"0.2.6"}, {vsn,"0.2.7"},
{modules,[gajumine,gmc_con,gmc_conf,gmc_gui,gmc_sup]}, {modules,[gajumine,gmc_con,gmc_conf,gmc_gui,gmc_sup]},
{mod,{gajumine,[]}}]}. {mod,{gajumine,[]}}]}.

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gajumine). -module(gajumine).
-vsn("0.2.6"). -vsn("0.2.7").
-behavior(application). -behavior(application).
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>"). -copyright("QPQ AG <craigeverett@qpq.swiss>").

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gmc_con). -module(gmc_con).
-vsn("0.2.6"). -vsn("0.2.7").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>"). -copyright("QPQ AG <craigeverett@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").
@ -229,7 +229,8 @@ do_start_stop(#s{acc = PubKey, keys = Keys, network = Network, max_cores = MaxCo
% Check avx2. % Check avx2.
% Both should be provided by the F# start program % Both should be provided by the F# start program
case Network of case Network of
<<"mainnet">> -> {"mean", "avx2.exe"}; % <<"mainnet">> -> {"mean", "avx2.exe"};
<<"mainnet">> -> {"mean", "generic.exe"};
<<"testnet">> -> {"mean", "generic.exe"} <<"testnet">> -> {"mean", "generic.exe"}
end end
end, end,

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gmc_conf). -module(gmc_conf).
-vsn("0.2.6"). -vsn("0.2.7").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>"). -copyright("QPQ AG <craigeverett@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gmc_gui). -module(gmc_gui).
-vsn("0.2.6"). -vsn("0.2.7").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>"). -copyright("QPQ AG <craigeverett@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -12,7 +12,7 @@
%%% @end %%% @end
-module(gmc_sup). -module(gmc_sup).
-vsn("0.2.6"). -vsn("0.2.7").
-behaviour(supervisor). -behaviour(supervisor).
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>"). -copyright("QPQ AG <craigeverett@qpq.swiss>").

View File

@ -1,10 +1,10 @@
{name,"GajuMine"}. {name,"GajuMine"}.
{type,gui}. {type,gui}.
{modules,[]}. {modules,[]}.
{author,"Craig Everett"}.
{prefix,"gmc"}. {prefix,"gmc"}.
{desc,"Mining client for the Gajumaru Root"}. {desc,"Mining client for the Gajumaru Root"}.
{author,"Craig Everett"}. {package_id,{"qpq","gajumine",{0,2,7}}}.
{package_id,{"qpq","gajumine",{0,2,6}}}.
{deps,[{"uwiger","gmhive_worker",{0,4,0}}, {deps,[{"uwiger","gmhive_worker",{0,4,0}},
{"qpq","cuckoo_cpu",{0,3,1}}, {"qpq","cuckoo_cpu",{0,3,1}},
{"uwiger","gmhive_client",{0,4,4}}, {"uwiger","gmhive_client",{0,4,4}},