# HG changeset patch
# User David Kirkby <david.kirkby@onetel.net>
# Date 1275265635 -3600
# Node ID ddaf03893942bdfe6305edbbd6772efe9cb45ebe
# Parent e8eac19d18ce2fcf24381b540633e375da94b085
#8089 Disable assembly code with --with-dffi=no option to configure script on OpenSolaris
diff -r e8eac19d18ce -r ddaf03893942 SPKG.txt
a
|
b
|
|
45 | 45 | |
46 | 46 | == Changelog == |
47 | 47 | |
| 48 | === ecl-10.2.1.p0 (David Kirkby, 31st May 2010) === |
| 49 | * #8089 Add the configure option '--with-dffi=no' on |
| 50 | OpenSolaris on the x86 processor. This disables assembly code. |
| 51 | |
48 | 52 | === ecl-10.2.1 (William Stein, 14 February 2010) === |
49 | 53 | * Upgrade to latest stable upstream release. |
50 | 54 | |
diff -r e8eac19d18ce -r ddaf03893942 spkg-install
a
|
b
|
|
158 | 158 | |
159 | 159 | cd src |
160 | 160 | |
161 | | ./configure --prefix=$SAGE_LOCAL |
| 161 | if [ "x`uname -rsm`" = "xSunOS 5.11 i86pc" ] && [ "x$SAGE64" = xyes ] ; then |
| 162 | # Need to add --with-dffi=no to disable assembly code on OpenSolaris x64. |
| 163 | # This may be needed for other variants of Solaris, but for now at least |
| 164 | # the option is only given if all the following are true |
| 165 | # 1) OpenSolaris (SunOS 5.11) |
| 166 | # 2) Intel or AMD CPU |
| 167 | # 3) 64-bit build |
| 168 | ./configure --prefix=$SAGE_LOCAL --with-dffi=no |
| 169 | else |
| 170 | ./configure --prefix=$SAGE_LOCAL |
| 171 | fi |
| 172 | |
162 | 173 | if [ $? -ne 0 ]; then |
163 | 174 | echo "Failed to configure ECL ... exiting" |
164 | 175 | exit 1 |