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

Allow ignoring the native cache within a pkgimage. #51412

Open
vchuravy opened this issue Sep 20, 2023 · 2 comments · Fixed by #52123
Open

Allow ignoring the native cache within a pkgimage. #51412

vchuravy opened this issue Sep 20, 2023 · 2 comments · Fixed by #52123
Labels
compiler:precompilation Precompilation of modules help wanted Indicates that a maintainer wants help on an issue or pull request pkgimage priority This should be addressed urgently

Comments

@vchuravy
Copy link
Member

Currently --pkgimage=no triggers the recreation of a new cache-file. So does a couple of other Julia options.
While for certain options this bifurcation of cache files might make sense, for others it's just duplicated work.

We could move the .data section back out of the .so and back into the .ji file, so allowing us to just load the .ji file and disregard the .so, or simply ignore the .text section and not wire up the native cache.

@gbaraldi had I think a couple of aborted attempts, but I don't think either of us currently have the time.

@vchuravy vchuravy added help wanted Indicates that a maintainer wants help on an issue or pull request compiler:precompilation Precompilation of modules pkgimage labels Sep 20, 2023
@vchuravy vchuravy added the priority This should be addressed urgently label Nov 3, 2023
@vchuravy
Copy link
Member Author

vchuravy commented Nov 3, 2023

The fact that we need to create 3 different package images has been identified as a source of slow-down for the CI infrastructure.

@vchuravy
Copy link
Member Author

@IanButterworth since you are on a roll, could you also add the equivalent to:

 --sysimage-native-code={yes*|no}
                            Use native code from system image if available

Or maybe we can just combine those flags.

@vchuravy vchuravy reopened this Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:precompilation Precompilation of modules help wanted Indicates that a maintainer wants help on an issue or pull request pkgimage priority This should be addressed urgently
Projects
None yet
1 participant