curiosity-ai / rocksdb-sharp

.net bindings for the rocksdb by facebook
BSD 2-Clause "Simplified" License
163 stars 41 forks source link

Support for win-arm64 #46

Open queequac opened 1 year ago

queequac commented 1 year ago

As the title already says, support for win-arm64 would be highly appreciated. Currently I have to run projects on my ARM-based windows machine through x64 packages, since native library is not available for win-arm64

theolivenbaum commented 1 year ago

Hi @queequac, could you try adapting the build file to run on win arm64? I don't have access to an ARM windows machine, and doing it on Azure DevOps on trial an error is a bit cumbersome. If you get it to build correctly, just post the final build file here and I'll adapt the build scripts later

You need to run it in a VS developer command line, as in: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\vsdevcmd" -arch=arm64 && bash build-rocksdb.sh

queequac commented 1 year ago

Will have to setup the whole build chain first, something I won't find the time for right now.

Just to be on the safe side: Currently the script builds in case of Windows x64 only, right? So I'd modify it until it builds arm64 and you'd finally merge this into the original build file?

queequac commented 11 months ago

To be honest, I have not really a clue how to adapt that file. ðŸ«