PoC-Consortium / engraver

PoCC Burstcoin Reference Plotter
MIT License
63 stars 39 forks source link

Poorly-tested fix for MacOS #33

Closed jake-b closed 6 years ago

jake-b commented 6 years ago

MacOS does not have aligned_alloc(). Use posix_memalign() instead. Also added another iteration of the core0 test with the -D option just to exercise this codepath.

It seems to work, but as the title says, poorly tested.

MrDrProfK commented 6 years ago

For Mac users, this is essential. I can't compile otherwise.

MrDrProfK commented 6 years ago

@jake-b Why haven't you re-based your repo? It seems that your version only allows for PoC2 plot creation (at least based on the output file naming convention). It would be helpful to have your fix for Mac combined with PoC2 for easy cloning and building.