~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to BUILD/compile-solaris-sparc-forte

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
# Assume Forte is installed in /opt/SUNWSpro and ld is installed in
 
4
# /usr/ccs/bin
 
5
 
 
6
# Example PATH. You will need to use CC from forte, but use GNU for pretty much everything else
 
7
# PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin:$PATH
 
8
 
 
9
PREFIX="/usr/local/mysql"
 
10
if test -n "$MYSQL_BUILD_PREFIX"
 
11
then
 
12
  PREFIX="$MYSQL_BUILD_PREFIX"
 
13
fi
 
14
 
 
15
make -k maintainer-clean || true
 
16
/bin/rm -f */.deps/*.P config.cache
 
17
 
 
18
path=`dirname $0`
 
19
. "$path/autorun.sh"
 
20
 
 
21
# For "optimal" code for this computer add -fast to EXTRA
 
22
# To compile 32/64 bit, uncomment/comment EXTRA_64_BIT
 
23
 
 
24
EXTRA_64_BIT="-m64"
 
25
EXTRA="-fast"                   # Remove comment to target current machine
 
26
 
 
27
#
 
28
# The following should not need to be touched
 
29
#
 
30
 
 
31
STD="-mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT"
 
32
CC=cc-5.0 CFLAGS="-Xa -xstrconst $STD" \
 
33
DTRACEFLAGS='-64' \
 
34
CXX=CC CXXFLAGS="-noex $STD" \
 
35
./configure --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --prefix=$PREFIX --with-plugins=max --enable-dtrace
 
36
 
 
37
make -j 4
 
38
if [ $? = 0 ]
 
39
then
 
40
  make test
 
41
fi