#10801: Create a new option: "sage -strip" which deletes things that aren't
needed
for a binary distribution of sage, or for people that will never develop or
upgrade
-------------------------------------------+--------------------------------
Reporter: was | Owner: tbd
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.7.2
Component: packages | Keywords: sd32
Work_issues: | Upstream: N/A
Reviewer: Benjamin Jones, Keshav Kini | Author: William Stein,
Keshav Kini
Merged: | Dependencies:
-------------------------------------------+--------------------------------
Description changed by leif:
Old description:
> This is a frequently requested feature. We should start with some little
> script that does this, and build on it. I tried all the following, and
> ran the test suite and it worked fine.
>
> - rm SAGE_ROOT/local/lib/*.a
> - rm SAGE_ROOT/devel/sage/build/lib.*
> - rm SAGE_ROOT/devel/sage/build/temp.*
> - strip SAGE_ROOT/local/bin/Singular-* SAGE_ROOT/local/bin/gfan
> # gfan is a huge win.
> - jsmath image fonts are in MoinMoin and are *HUGE*. Just delete
> everything related to moinmoin...
> - strip SAGE_ROOT/local/lib/*.so
> - rm -rf SAGE_ROOT/local/python/site-package/MoinMoin
> - rm all files in SAGE_ROOT/devel/sage/sage/ that begin "*
> Generated by Cython" (I didn't do that)
New description:
This is a frequently requested feature. We should start with some little
script that does this, and build on it. I tried all the following, and
ran the test suite and it worked fine.
- rm SAGE_ROOT/local/lib/*.a
- rm SAGE_ROOT/devel/sage/build/lib.*
- rm SAGE_ROOT/devel/sage/build/temp.*
- strip SAGE_ROOT/local/bin/Singular-* SAGE_ROOT/local/bin/gfan #
gfan is a huge win.
- jsmath image fonts are in MoinMoin and are *HUGE*. Just delete
everything related to moinmoin...
- strip SAGE_ROOT/local/lib/*.so
- rm -rf SAGE_ROOT/local/python/site-package/MoinMoin
- rm all files in SAGE_ROOT/devel/sage/sage/ that begin "*
Generated by Cython" (I didn't do that)
----
The patches below actually provide a new `make` target, "`micro_release`",
rather than adding a new option to `sage`.
----
Apply [attachment:trac_10801-root_repo.patch] to the Sage '''root
repository'''.
Apply [attachment:trac_10801-local_bin_repo.patch] to the Sage '''scripts
repository'''.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10801#comment:28>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.