Closed bkmgit closed 9 months ago
I would like to but It's not possible. LZ4 and ZSTD both have a mechanism for enabling the use of another memory manager (replacing malloc, calloc, and free) but those method require a recompilation of those libraries. I'm required to use the malloc/calloc/realloc/free dictated by the user application. So it's not possible to use any system library copy of LZ4 and ZSTD.
For xxHash, I require a copy with some compile-time options set, and I also require a patch regarding the use of stdalign.h, which is broken when using MSVC in the distributed version of xxHash. You can see the difference by comparing my copy of xxhash.h with the one on the xxHash github repo as of June 16, 2023.
Enable building using system installations of lz4, xxhash and zstd.