-
Notifications
You must be signed in to change notification settings - Fork 68
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
Prebuilt Binary Release to PyPi #187
Comments
If you can provide config for any CI which builds binary packages it would be helpful. Currently i replaced cmake with meson to get rid of issues which you are describing. https://github.com/Nic30/hdlConvertor/tree/mesonbuild Currently I am saturated. So if you can help me with fixing this issue I will be super happy otherwise I will have to do it alone, probably in the time of yet another worst crisis of my life. It would be ideal if we can:
|
@Nic30 However, I can build Binary Python bundles for most of the Python + Linux Distro with your original So what I can offer is:
I will submit an MR |
@Nic30 May I ask for the intention of moving from CMake to Meson? |
What's the issue you're having with coverage? https://mesonbuild.com/Unit-tests.html#coverage |
It seems to me like this mesonbuild/meson#9585 but it should be fixed. https://github.com/Nic30/hdlConvertor/blob/mesonbuild/.circleci/config.yml#L51 I do not know how to force meson to enable coverage for I am would like to do something like this https://shenxianpeng.github.io/2021/07/gcov-example/ Currently we are not using meson defined tests, in this project the meson is used only to build python c++ extension ( But the problem is that the |
Building and using ANTRL4 from Meson is more simple, readable and reliable. (It was more easy to move to meson than implement all optional downloads and path patching than in cmake to make ANTRL4 work reliably on any machine.) |
@Nic30 PR submitted. |
@eli-schwartz I asked in meson matrix about this https://app.element.io/#/room/#mesonbuild:matrix.org I probably have everything solved. Currently the only problem is how to add .gcno files to whl or how to build in-tree. Because currently coverage files are not preserved because of how build builds staff. I did not find any option for in-tree build in that library. |
Status update: mesonbuild branch is now working for several months, but I did not find time to fix circleci orb publishing circleci-orb-python-all-in-1. This obscurity currently preventing me from merging of meson branch which will provide binary packages and compatibility with newer antlr. If someone is reading this, and you have some best practice for maintaining CI for large number of python/js/ts/c++ libraries, I would be happy to hear it. |
I can't comment on automation running on circleci for publishing, but it seems to me that current head of mensonbuild branch fail to pass the testsuite.
github workflow is still running and not more align with build procedure. |
Mentioned test are failing because other library was just updated (and reference file is just old). There is like 10h of work (circle-ci tuning, package checking) to get mesonbuild branch to work and to publish a new package, yet there is always some urgent stuff to do, currently until 15th. This is really annoying. |
How can we progress on this ? hdlConvertorAst 1.2 is the last published version if I am correct. |
Hi Nic
I found
hdlConvertor
interesting for my coming project (on Python generated SV), and would like to use it.However, I would like my user can use
hdlConvertor
directly from a simplepip install hdlConvertor
, without building it from the source every time. (e.g.apt install ...
and the build process duringpip install hdlConvertor
)So, I would like to have a built version of
hdlConvertor
with ANTLR4 library and I am more than happy to contribute.We might expect the following in the Wheel bundle:
hdlConvertor
shared library, with Python WrapperANTLR4
shared libraryExample: Test PyPi page
I can provide the GitHub Action to achieve this by:
hdlConvertor-binary
May I have your thoughts on this proposal?
Looking forward to contributing with you 😄
The text was updated successfully, but these errors were encountered: