Skip to content

Conversation

@ExpHP
Copy link

@ExpHP ExpHP commented Apr 17, 2025

  • Add submodules for xtl and xtensor. Never tell people to clone repos into some relative path. You are subjecting them to version hell. Git submodules exist for this very purpose, and they ensure that any given version of your code is getting the correct version of its dependencies. I had to experiment a whole bunch to figure out what versions of the libraries this code actually supports.
  • compile.bat was generating files in the source tree, yet there was no .gitignore, so one has been added.
  • The CMakeLists.txt required you to run cmake in the source root directory, which is.... bananas. I fixed it so it can be used anywhere, and changed the instructions to use a dedicated binary directory, per universally-accepted best practices.
  • This was so close to supporting Linux. I added a simple linux wrapper around compile.bat.

ExpHP added 2 commits April 17, 2025 12:46
Use submodules so that people trying to build this don't
have to experiment to figure out which version of xtl and xtensor
this code supports. (hint: it's not the latest versions!)
Extensionless and callable from anywhere, by linix standards.
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.

1 participant