Closed Gator96100 closed 7 years ago
Nice! But than your build env is x86 intel, and distribution of software that executes on multiple platforms is easily many more than you want to. Pushing in this limit into iceman fork is something I'm reluctant. For you bin-distro, I would suggest that you use these aformented params.
To quote what @aczid said about this matter. "my code is not really redistributable as binary, unless you hack in runtime detection or want to ship 3-8 versions 64/128/256/512 bit for intel/amd (and what about ARM, it works on ARM too) so could be 12 versions already"
It would be possible to move march=x86-64 into "ifneq (,$(findstring MINGW,$(platform)))" and have march=native in the other conditions. I think it is safe to assume that most Windows machines support the x86-64 architecture.
Great suggestion. Do it and I'll merge it
On 23 Apr 2017, at 12:27, Gator96100 notifications@github.com wrote:
It would be possible to move march=x86-64 into "ifneq (,$(findstring MINGW,$(platform)))" and have march=native in the other conditions. I think it is safe to assume that most Windows machines support the x86-64 architecture.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Thanks!
This will prevent crashes when the client is compiled with a different cpu without affecting the execution time. Execution times(average of 3 runs with the same nonces.bin file): march=native: 32.1s without march: 139.3s march=x86-64: 33.7s