-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add macos support to lv2-sys? #110
Comments
If i remember correctly, we don't have macos support because this require having a macos to generate the lv2 binding and no maintainer have one. However, We have a tool You may use to enable macos support. Step to follow
|
Ok! I'd be happy to help out where I can with the maintaining. I don't have a huge amount of experience with c or llvm but I'd love to help and I can do macos testing. I'm trying to run the tool with the following command: "cargo r -p systool -- --lv2 sys/lv2 --out |
Ooops, this is a bug from systool. try to workaround by passing a clang args. For example, use "-v", for verbose, this shouldn't affect the generated file |
It generated a ton of warnings but it does work. Still wondering why you needed an actual mac to generate the bindings as the tool docs literally have a section on how to cross-compile. |
honestly, i don't remember why we didn't include mac suppport. I was convinced this was because it require some header that can only be found on mac, but i just tried to generate from my linux machine and it worked. |
Ok. What's the process to fix this for the repo? |
You just need to do a pull request that pass all the checks and wait somebody validate the pull request. This may take a long... |
Well what do I change for the PR? I include the generated file, right? Just want to clarify |
Yes, name your file "macos.rs", include it in sys/src, and add |
Ok new to github. I made my fork and am trying to merge onto master in my fork. It says that it requires maintainer permission and is waiting on workflow checks. What do I do? |
I don't know why workflow checks stuck. I just realized we need to add workflow checks for macos, but this is beyond the scope of my knowledge for now. Except that, what you did is correct, you just need to wait for a maintainer to validate the pull request. Maybe we can call one :) |
I also would like to see this getting merged please! |
I would also like to see this merged. Are there still maintainers around for this project?? |
As it stands, macos is unsupported, as stated by an error message that greets anyone who tries to compile on mac. It's kind of odd to me that windows is supported but not macos. I'd like to use the crate but I can't on my macbook as it stands.
The text was updated successfully, but these errors were encountered: