adamfowleruk / groundupdb

Creating a database from the ground up in C++ for fun!
Apache License 2.0
109 stars 25 forks source link

Support Arm64 on Apple Silicon #33

Closed adamfowleruk closed 1 year ago

adamfowleruk commented 1 year ago

Please start with a use case description for a USER of this work [Who] As a Developer [What] I need to compile and use groundupdb on arm64 on Apple Silicon [Value] In order to be able to develop groundupdb myself, and allow others to use on Apple Silicon

Describe the solution you'd like Compile and run on arm64 on Apple Silicon

Describe alternatives you've considered N/A

Additional context None

adamfowleruk commented 1 year ago

This requires a migration from HighwayHash (which hasn't been updated in 2 years) to another hash as the current google/highwayhash code doesn't compile on Apple Silicon.

adamfowleruk commented 1 year ago

Turns out our use of highwayhash via the header file still works - just independent compilation of highwayhash's static library fails. I've retested all samples, tests, and the CLI and it works. Will commit an update that includes README and submodule version fixes, and a Catch2 library update.