missing pthread barriers (add implementation for hodl)
various macros defined in hodl-endian.h are also useful on OSX
There are limitations though. The native Clang (on Sierra at least) still cannot handle assembly for the Scrypt bits and GCC cannot process them either. While these issues may never be fixed, in the meantime I can compile using the following way using homebrew:
Macs aren't of much interest for mining but this may prove useful to some anyhow. :)
NOTE: Using the native assembler also works but produces slower binaries. In Cryptonight the difference is around 2-3H/s per core on a i7-3615QM. AVX2 is not supported.
This fixes a few issues on OSX including:
There are limitations though. The native Clang (on Sierra at least) still cannot handle assembly for the Scrypt bits and GCC cannot process them either. While these issues may never be fixed, in the meantime I can compile using the following way using homebrew:
Macs aren't of much interest for mining but this may prove useful to some anyhow. :)
NOTE: Using the native assembler also works but produces slower binaries. In Cryptonight the difference is around 2-3H/s per core on a i7-3615QM. AVX2 is not supported.