-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cache misses when launching through Add-AppPackage
on Windows
#13
Comments
Did you insert the depot at the start or end of |
The first entry of
|
Part of the issue seems to come from having |
Now, the
However, when installed from
The full log file is available in https://gist.github.com/JanisErdmanis/308c1a65ed7f065af69e60a5502ce5f7 |
The last issue is fixed with added |
I have been grappling with the intricacies of the cache relocability fix in julia-1.11 for AppBundler, particularly in my attempts to include the pkgimages in the bundle. While I've succeeded with MacOS and Linux snap bundles, but the journey has been arduous on Windows with MSIX packaging.
I have a PowerShell launch script that can run it as:
where the
main.jl
file sets upLOAD_PATH
andDEPOT_PATH
and launches the application itself. Before that, a cache is generated in a bundle directory with a separateprecompile.ps1
script. I have tested that moving the bundle around keeps the cache valid and is reused when loading the app.When running adding package with
Add-AppPackage -register MyApp\AppxManifest.xml
where the relevant part is underApplication
tag:With this configuration, I get some cache misses when I launch the application from the Start menu. Furthermore, the cache fails to recompile, as can be seen from the logs:
The logs for launching using
JULIA_DEBUG=loading
are available in a gist.The text was updated successfully, but these errors were encountered: