-
Notifications
You must be signed in to change notification settings - Fork 20
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
[QUESTION] Conan C++ support #1
Comments
I think that'd be fine to add! For me at least this is the first piece of C++ I've ever published as a library, so I'm pretty new to this. I've never worked with Conan myself, but would you be up for sending a PR? Ideally it'd include CI to test the build configuration too |
It would require to write pr into conan-center-index |
Ah ok, well if I can help out with that let me know! I unfortunately don't know enough about Conan to make a PR myself though. |
I know how to do it ... Do you need a help with this wrapper ? |
Also seems like conan is not needed for current implementation because all wrapper functionallity is header only ... |
Oh no the wrapper is ready to go and can be used whenever. It's header-only because the actual implementation comes from |
er sorry didn't mean to close.. I meant to say though that I don't know if Conan supports header-only libraries? Or if it supports a header-only library with a Rust C API as a backend? |
@alexcrichton Yes, conan supports header only library, but during installation it also verify system dependencies, compiler versions and so on Actually, conan for C++ (with conanfile.txt) is like cargo for Rust (with Cargo.toml) |
Does it mean that |
The |
It think I would have some time on the week to create receipt for wasmtime-cpp, but it could require small changes in CMakeLists.txt |
Oh that's fine! This was the first time I've ever written a |
@alexcrichton What kind of features from C++20 do you use ? |
I believe it's only the |
@alexcrichton Here is initial receipt for Then I will added separate package |
@alexcrichton Do you consider adding tags for versions ? |
Sure! I just pushed up a v0.28.0 tag |
@alexcrichton The basic wasmtime package almost merged ... I need it to know for making next package for wasmtime-cpp ... |
@alexcrichton I have create PR in wasmtime for C Conan package bytecodealliance/wasmtime#3307 |
@alexcrichton I've started working on wasmtime-cpp packaging conan-io/conan-center-index#7188 |
Awesome, thanks! Let me know if you need anything from my end. The plan is indeed to have the wasmtime-cpp and wasmtime versions sync'd. I don't know really where to specify a version in this repository beyond tags, but I can create a 0.29 tag if so necessary. |
@alexcrichton Seems like you added It means you need to change commit for tag v0.29.0 otherwise dependency do not works |
Oops sorry yeah I'll try to find a better 0.29.0 tag later this week. |
@alexcrichton There are only two possible commits Fix including wasmtime.hh in multiple CGUs (#9) 3ee46ce and Instead of converting wasmtime::Span added ifdef with type alias for … 69829db |
Ok I've updated the v0.29.0 tag to be the same as the v0.28.0 tag since that's the latest commit that works. |
@alexcrichton Thanks a lot !! |
@alexcrichton Now when you will have new release for wasmtime just create PR to https://github.com/conan-io/conan-center-index and add new version to receipt https://github.com/conan-io/conan-center-index/tree/master/recipes/wasmtime in The same for wasmtime-cpp https://github.com/conan-io/conan-center-index/tree/master/recipes/wasmtime-cpp |
Ok great! I'll probably lean on you to update the conan packages, but would you like me to notify you on releases/tags? |
Yeah, would be nice ... I will provide PR and you will learn how to update package version by yourself |
Ok, I'm going to close this because I think this is done now. |
Do you consider supporting Conan C++ as package manager for this wrapper ?
The text was updated successfully, but these errors were encountered: