Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimalloc.o not available in vcpkg #907

Open
muhammadhamzasajjad opened this issue Jun 5, 2024 · 0 comments
Open

mimalloc.o not available in vcpkg #907

muhammadhamzasajjad opened this issue Jun 5, 2024 · 0 comments

Comments

@muhammadhamzasajjad
Copy link

muhammadhamzasajjad commented Jun 5, 2024

According to the docs for static override we should do

> gcc -o myprogram mimalloc.o  myfile1.c ...

I am using mimalloc from vcpkg. But the mimalloc.o file is not built by the vcpkg configuration of mimalloc as the target mimalloc-obj is also not built. In fact, MIMALLOC_OBJECT_DIR is not available which is supposed to be used for obtaining mimalloc.o.

How can we use mimalloc.o in vcpkg? Ideally I would want to be able to access mimalloc.o via CMake and then link it with the target. #532 seems similar but vcpkg build process for mimalloc doesn't make mimalloc-obj target available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant