Skip to content

Provide bindings to C/C++/Python with CMake #2

Open
daskol wants to merge 3 commits into
RodniO:masterfrom
daskol:build/cmake
Open

Provide bindings to C/C++/Python with CMake #2
daskol wants to merge 3 commits into
RodniO:masterfrom
daskol:build/cmake

Conversation

@daskol
Copy link
Copy Markdown

@daskol daskol commented Apr 6, 2025

No description provided.

@RodniO RodniO self-assigned this Apr 10, 2025
@RodniO
Copy link
Copy Markdown
Owner

RodniO commented Apr 10, 2025

Why cmake 4.0? Current latest version in Ubuntu is 3.28. I have tried to install the new version, which took an hour and just broke the old version, and I need additional steps to make 4.0 the default. Unfortunately, I already spent two hours and will spend even more to roll back to 3.28. Not to mention other requirements also seem too new. So, unfortunately, I do not have time for that now. Also, note that I have included in the README the requirements and steps to run the code (and, well, at least gnu version always worked for other people). Assume I have never used cmake, github and so on. So, maybe, after I defend the thesis, and solve problems with the conference application and so on I will return and try to modify your commit, but now I really can't (without clear instructions which can be performed in, let's say, 10 minutes).

@RodniO
Copy link
Copy Markdown
Owner

RodniO commented Apr 10, 2025

Funny how 3.28 is reinstalled in two minutes, while installing 4.0 from source literally took an hour.

@RodniO
Copy link
Copy Markdown
Owner

RodniO commented Apr 10, 2025

And sorry, I really am too busy in the near future.

@daskol
Copy link
Copy Markdown
Author

daskol commented Apr 10, 2025

Why cmake 4.0?

It introduced a lot of breaking changes and deprecations and removed old policies which are mostly bugs. The main reason is that this project will exist for a long time and will likely experience a lack of support and maintenance. Thus it is basically reasonable to have all dependency as new as possible at the moment.

Unfortunately, I already spent two hours and will spend even more to roll back to 3.28.

Sad to hear that. Usually, it is easy to installed directly within binary distribution or package manager like apt [1]. However, I expected building issues and provide self-contained building and release environment based on ciwheelbuild. It is essentially end-to-end tool to build a Python wheel in clean and isolated environment. It literally takes a single command and about 20 minutes to fetch all dependencies and build the project.

So, maybe, after I defend the thesis, and solve problems with the conference application and so on I will return

Good luck with your thesis defense then!

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

Successfully merging this pull request may close these issues.

2 participants