diff options
author | David Walter Seikel | 2014-02-03 15:23:22 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-02-03 15:23:22 +1000 |
commit | d056a17f05a1f90708f554651475e116a2ddbd68 (patch) | |
tree | 07fa4f1cca2a25548b8d2d6b4752b07d8efbd2ff /linden/scripts/linux/config-SL-source | |
parent | Updating tree and volume LOD. These go to eleven. (diff) | |
parent | Fix up OTR prefs to not crash. (diff) | |
download | meta-impy-next.zip meta-impy-next.tar.gz meta-impy-next.tar.bz2 meta-impy-next.tar.xz |
Diffstat (limited to 'linden/scripts/linux/config-SL-source')
-rw-r--r-- | linden/scripts/linux/config-SL-source | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/linden/scripts/linux/config-SL-source b/linden/scripts/linux/config-SL-source index 174d7d4..f60fd92 100644 --- a/linden/scripts/linux/config-SL-source +++ b/linden/scripts/linux/config-SL-source | |||
@@ -9,6 +9,9 @@ | |||
9 | # accordingly, so that you (should) end up with a properly packaged client. | 9 | # accordingly, so that you (should) end up with a properly packaged client. |
10 | 10 | ||
11 | PWD=`pwd` | 11 | PWD=`pwd` |
12 | os_extra='' | ||
13 | ionice='ionice -c 3' | ||
14 | |||
12 | 15 | ||
13 | # Where the sources of the client will be held (defaults to "./linden"): | 16 | # Where the sources of the client will be held (defaults to "./linden"): |
14 | PATH_TO_SOURCES="$PWD/../.." | 17 | PATH_TO_SOURCES="$PWD/../.." |
@@ -18,6 +21,8 @@ PATH_TO_PATCHES="$PWD/../../patches" | |||
18 | TEMP_DIR="/tmp/SL-$USER" | 21 | TEMP_DIR="/tmp/SL-$USER" |
19 | mkdir -p $TEMP_DIR | 22 | mkdir -p $TEMP_DIR |
20 | 23 | ||
24 | TYPE="RelWithDebInfo" | ||
25 | |||
21 | USE_SYSTEM_GTK="no" | 26 | USE_SYSTEM_GTK="no" |
22 | USE_SYSTEM_SDL="no" | 27 | USE_SYSTEM_SDL="no" |
23 | USE_SYSTEM_SSL="no" | 28 | USE_SYSTEM_SSL="no" |
@@ -53,7 +58,7 @@ USE_SYSTEM_BOOST="no" | |||
53 | # You may add tune flags here, to optimize the code for your processor. | 58 | # You may add tune flags here, to optimize the code for your processor. |
54 | # Example, for an Athlon XP: | 59 | # Example, for an Athlon XP: |
55 | # TUNE_FLAGS="-march=athlon-xp" | 60 | # TUNE_FLAGS="-march=athlon-xp" |
56 | TUNE_FLAGS="-fomit-frame-pointer -frename-registers -ftree-vectorize -fweb -fexpensive-optimizations -msse -mfpmath=sse" | 61 | TUNE_FLAGS="-O2 -fomit-frame-pointer -frename-registers -ftree-vectorize -fweb -fexpensive-optimizations -msse -mfpmath=sse" |
57 | # Set this to "yes" to force vectorization use in the viewer code (only for | 62 | # Set this to "yes" to force vectorization use in the viewer code (only for |
58 | # processors with SSE or Altivec units, and only if you did enable them via | 63 | # processors with SSE or Altivec units, and only if you did enable them via |
59 | # the TUNE_FLAGS. | 64 | # the TUNE_FLAGS. |
@@ -61,3 +66,18 @@ FORCE_VECTORIZE="yes" | |||
61 | 66 | ||
62 | # When using gcc v4.3 or later, you might have to set this to yes... | 67 | # When using gcc v4.3 or later, you might have to set this to yes... |
63 | ALLOW_WARNINGS="yes" | 68 | ALLOW_WARNINGS="yes" |
69 | |||
70 | |||
71 | # Change it all for cygwin. | ||
72 | if [ "$OSTYPE" == "cygwin" ] ; then | ||
73 | os_extra='-G nmake' | ||
74 | ionice='' | ||
75 | USE_SYSTEM_LIBSTDC="no" | ||
76 | TUNE_FLAGS="/EHsc /GR /Zm1000 /DWIN32 /D_WINDOWS " | ||
77 | FORCE_VECTORIZE="no" | ||
78 | ALLOW_WARNINGS="no" | ||
79 | fi | ||
80 | |||
81 | |||
82 | # Work around python problems. | ||
83 | export PYTHONUNBUFFERED='True' | ||