Skip to content
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

[icon4py,gt4py] How to interact with cmake to avoid full rebuilds? #679

Open
jonasjucker opened this issue Mar 2, 2023 · 0 comments
Open
Labels

Comments

@jonasjucker
Copy link
Contributor

jonasjucker commented Mar 2, 2023

Problem

cmake of icon-dsl checks if files changed in icon4py/gt4py, and only those changed are rebuilt.
With Spack you end-up with an installation, that is completely rewritten if you reinstall one of the packages.
Then this mechanism is not working anymore.

Solution 1

Test if one could use rsync as install for both python packages. Rsync would only change files that were modified.
Downside is that we hack an established install-method from Spack, this will fail/cause problems at some point for sure.

Solution 2

Figure out a smart mechanism using pip. Maybe the fancy Python world offers something.

Solution 3

Come up with a second version of the packages (py-gt4py-dev, py-icon4py-dev) that implement solution 1.
For basic users (non-developpers) the current situation is perfect. And don't want to add more complexity for the
least experienced users.

@jonasjucker jonasjucker added exclaim enhancement New feature or request labels Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants