Changeset 9615


Ignore:
Timestamp:
May 28, 2008, 5:37:22 PM (11 years ago)
Author:
rme
Message:

Teach script about x86 lisp kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/scripts/openmcl

    r6 r9615  
    2626if [ -z "$OPENMCL_KERNEL" ]; then
    2727  case `uname -s` in
    28     Darwin)
    29     OPENMCL_KERNEL=dppccl
    30     ;;
    31     Linux)
    32     OPENMCL_KERNEL=ppccl
    33     ;;
    34     *)
    35     echo "Can't determine host OS.  Fix this."
    36     exit 1
    37     ;;
     28    Darwin) case `arch` in
     29              ppc*) OPENMCL_KERNEL=dppccl ;;
     30              i386|x86_64) OPENMCL_KERNEL=dx86cl ;;
     31            esac ;;
     32    Linux) case `uname -m` in
     33             ppc*) OPENMCL_KERNEL=ppccl ;;
     34             i386|x86_64) OPENMCL_KERNEL=lx86cl ;;
     35           esac ;;
     36    *) echo "Can't determine host OS.  Fix this."
     37       exit 1 ;;
    3838  esac
    3939fi
Note: See TracChangeset for help on using the changeset viewer.