#4666: Add William's "personal souped up version of sage -bdist" to Sage
---------------------------------+------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-5.0
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: William Stein | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Changes (by {'newvalue': u'William Stein', 'oldvalue': ''}):
* priority: critical => major
* upstream: => N/A
* author: => William Stein
Old description:
> When we are producing binaries for sagemath.org the naming scheme is
> often inconsistent and some times even outright misleading.
>
> On Linux -bdist should produce consistent names for binaries, so use
> lsb_release when available. I.e. on an x86 Fedora Core 9 system a
> {{{
> ./sage -bdist 3.2.1
> }}}
> would yield
> {{{
> sage-3.2.1-Fedora-9-x86.tar.gz
> }}}
> This info can be extracted on Linux via lsb_release
> {{{
> [mabshoff@eno ~]$ lsb_release -i -s
> Fedora
> [mabshoff@eno ~]$ lsb_release -r -s
> 9
> }}}
> On OSX use uname to specify OSX release, CPU architecture and 32 vs. 64
> bit builds.
>
> On other systems as they become officially supported we should use the
> best local identification tools available or also fall back to uname.
>
> Cheers,
>
> Michael
New description:
The buildbots are using a script, originally written by William, to
produce the binaries. It automatically builds a "Mac App" on OS X and
chooses a meaningful name for the binary.
Some version of this script should be added to Sage itself, I propose to
call it {{{sage-autobdist}}}. Then {{{sage-bdist}}} can handle the low-
level stuff of actually building the binary.
I'm adding the script as reference, but it needs some work to integrate it
in Sage.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4666#comment:7>
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.