#22: [with patch, needs review] add persistent SAGE64 building switch on OSX and
Solaris
-------------------------+--------------------------------------------------
Reporter: was | Owner: mabshoff
Type: enhancement | Status: assigned
Priority: minor | Milestone: sage-3.3
Component: build | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by mabshoff):
Having thought about this and played around a little with uname it seems
that it will not work and is not fine grained enough anyway. I would
suggest to do write a small C program that identifies the following:
* mode: i.e. 32, 64 bit
* os: linux, osx, solaris, freebsd, cygwin
* release: this would be the distribution on Linux, OSX 10.4/10.5,
Solaris 10/Solaris 11/Opensolaris and so on
The way we can properly identify the build platform and decide more
intelligently if we issue a warning, i.e running the Fedora 10 build on a
Fedora 9 box should abort since it doesn't work. The test should be
wrapped in a shell script since the binary will obviously only run on a
subset of arches, i.e. if the binary fails to run we just about and print
a canned warning together with a config info saved as text that is created
when building the binary.
This is enough a task to split it off to a new ticket. I have some basic
code that does some of the above already for OSX since I need this kind of
code while cleaning up the build system.
Thoughts?
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/22#comment:13>
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
-~----------~----~----~----~------~----~------~--~---