On Tue, Dec 29, 2009 at 3:06 PM, Dr. David Kirkby
<[email protected]> wrote:
> In $SAGE_LOCAL/bin/sage-check-64 it says the following.
>
> ---------------------------------------------------
> # If SAGE64 is set to yes check if $SAGE_LOCAL/lib exists on Solaris as well 
> as
> # OSX since those are currently the only two platforms which require SAGE64. 
> If
> # it does not exist create the directory and then create a file sage-64.txt
> # Eventually Linux PPC on the PS3 might need to be added here
>
> if [ "$SAGE64" = "yes" ]; then
>     CHECKFILE="no"
>     if [ `uname` = "SunOS" ]; then
>         echo "Building Sage on Solaris in 64-bit mode"
>         CHECKFILE="yes"
>     fi
>     if [ `uname` = "Darwin" ]; then
>         echo "Building Sage on OS X in 64-bit mode"
>         CHECKFILE="yes"
>     fi
>     if [ $CHECKFILE = "yes" ]; then
>         if ! [ -d "$SAGE_LOCAL"/lib ]; then
>             echo "Creating SAGE_LOCAL/lib since it does not exist"
>             mkdir "$SAGE_LOCAL"/lib
>         fi
>         echo "Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist"
>         touch "$SAGE_LOCAL"/lib/sage-64.txt
>     fi
> fi
> --------------------------------------------
>
>
> Is there any reason for limiting this check to Solaris and OS X now? Since the
> comments suggest it might be needed on 'Linux PPC on the PS3', why not simply
> have it work on every platform, if SAGE64 is set to yes? Can it do any harm?
>
> There are several platforms which support building 32 and 64 bit binaries -
> Solaris, OS X, AIX, HP-UX and I guess from the above comments Linux PPC.
>
> I'd propose simply removing the checks for OS X and Solaris, and letting the
> code work on any platform.
>

That sounds reasonable to me.

William

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to