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

too much stuff generated by default #725

Open
JeffBezanson opened this issue Sep 22, 2022 · 2 comments
Open

too much stuff generated by default #725

JeffBezanson opened this issue Sep 22, 2022 · 2 comments

Comments

@JeffBezanson
Copy link
Member

If I generate a simple app, lib/julia contains

-rw-rw-r-- 1 jeff jeff  17734957 Sep 20 16:07 corecompiler.ji
-rw-rw-r-- 1 jeff jeff 234258408 Sep 20 16:07 sys-debug-o.a
-rwxrwxr-x 1 jeff jeff 201407816 Sep 20 16:07 sys-debug.so
-rw-rw-r-- 1 jeff jeff 106505394 Sep 20 16:07 sys.ji
-rw-rw-r-- 1 jeff jeff 211870856 Sep 20 16:07 sys-o.a
-rwxrwxr-x 1 jeff jeff  72735752 Sep 20 16:18 sys.so

Now, many rightly complain that the 70MB sys.so is too big, but this is actually not too bad by our standards! However this is somewhat undermined by the presence of 730MB of extra stuff that is not needed to run the app. The other files should not be included by default. The .ji and .a files can always be deleted, and the debug image should be optional. Other low-hanging fruit would be to delete .a files in lib/ as well, which removes another ~180MB.

@KristofferC
Copy link
Member

PackageCompiler is not very smart when you use a local build that includes a bunch of extra stuff that is not present in a release build that your download. But we can teach it, yeah

@Octogonapus
Copy link

Was this indeed fixed by #823, and should be closed?

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

No branches or pull requests

3 participants