~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2008-06-30 05:33:25 UTC
  • mfrom: (12.2.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630053325-mwrv6bjaufcpvj8n
merge my work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
 
3
 
gmake -k clean || true
4
 
/bin/rm -f */.deps/*.P config.cache
5
 
 
6
 
path=`dirname $0`
7
 
. "$path/autorun.sh"
8
 
 
9
 
# For "optimal" code for this computer add -fast to EXTRA
10
 
# To compile 64 bit, add -xarch=v9 to EXTRA_64_BIT
11
 
 
12
 
EXTRA_64_BIT="-xarch=amd64"
13
 
EXTRA="-fast"
14
 
 
15
 
#
16
 
# The following should not need to be touched
17
 
#
18
 
 
19
 
export CC CXX CFLAGS CXXFLAGS
20
 
STD="-g -mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT"
21
 
ASFLAGS="$EXTRA_64_BIT"
22
 
CC=cc-5.0
23
 
CFLAGS="-Xa -xstrconst $STD"
24
 
CXX=CC
25
 
CXXFLAGS="-noex $STD"
26
 
./configure \
27
 
    --prefix=/usr/local/mysql \
28
 
    --localstatedir=/usr/local/mysql/data \
29
 
    --libexecdir=/usr/local/mysql/bin \
30
 
    --with-extra-charsets=complex \
31
 
    --enable-thread-safe-client \
32
 
    --enable-local-infile \
33
 
    --with-zlib-dir=bundled \
34
 
    --with-big-tables \
35
 
    --with-readline \
36
 
    --with-archive-storage-engine \
37
 
    --with-named-curses=-lcurses \
38
 
    --with-big-tables \
39
 
    --with-innodb \
40
 
    --with-example-storage-engine \
41
 
    --with-blackhole-storage-engine \
42
 
    --with-federated-storage-engine \
43
 
    --with-csv-storage-engine \
44
 
    --with-ssl \
45
 
    --enable-assembler
46
 
 
47
 
# Not including:
48
 
#     --with-ndbcluster
49
 
#     --with-berkeley-db
50
 
 
51
 
gmake -j4
52
 
test $? = 0 && make test