#4666: Make -bdist create canonical binary names
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.2
Component: build | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by mabshoff):
* summary: Make -bdist use canonical binary names => Make -bdist create
canonical binary names
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
> {{{
> [EMAIL PROTECTED] ~]$ lsb_release -i -s
> Fedora
> [EMAIL PROTECTED] ~]$ lsb_release -r -s
> 9
> }}}
> On OSX use uname to specify OSX release, CPU architecture and 32 vs. 64
> bit builds.
>
> Cheers,
>
> Michael
New 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
{{{
[EMAIL PROTECTED] ~]$ lsb_release -i -s
Fedora
[EMAIL PROTECTED] ~]$ 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
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4666#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---