Commit Graph

13 Commits

Author SHA1 Message Date
Aleric Inglewood
5d87098bd0 Port Viewer 2 indra/llvfs
This introduces some API changes, like the new LLDirIterator,
that causes changes elsewhere.

It also include Log Linden's cache changes that aren't in
viewer-development yet that increase the maximum cache size
to ~10 GB.
2011-06-06 21:38:58 +02:00
Aleric Inglewood
474acdbff9 Add support for libcwd.
This patch has no influence if you don't have libcwd installed.
Note that libcwd (http://libcwd.sourceforge.net/) is only
available for linux.

A default compile of libcwd does memory allocation tracking,
which is too slow for everyday usage of the viewer (usable,
but notably slower) and we don't need that. Configure your
libcwd as follows:

./configure --prefix=/sl/usr --disable-alloc --enable-optimize

Or whatever prefix you prefer (add --enable-maintainer-mode
if you're compiling it from the SVN repository), add
--disable-nonthreading to compile twice as fast.

If you have it installed you can activate it's use by setting a
few environment variables:

CXXFLAGS="$(pkg-config --cflags libcwd_r)"
LDFLAGS="$(pkg-config --libs libcwd_r) -lpthread"

and then reconfiguring the viewer.

The -lpthread is needed when using ld.gold, however, if you
leave it out you might get an LDFLAGS that ends on trailing
whitespaces, which doesn't work for some reason.

Also, if you installed it in a non-standard place (/sl/usr
above) then you need this to run the viewer (and tests):

export LD_LIBRARY_PATH="/sl/usr/lib"
2011-05-08 17:08:48 +02:00
Aleric Inglewood
4d932d5e2d Added a thread-safe and robust wrapper for APR pools.
See http://redmine.imprudenceviewer.org/issues/590
and https://jira.secondlife.com/browse/SNOW-596
2011-05-05 02:52:55 +02:00
Siana Gearz
293e6a5487 Merge remote branch 'upstream/master'
Conflicts:
	indra/llcommon/llversionviewer.h
	indra/newview/English.lproj/InfoPlist.strings
	indra/newview/llappviewerlinux.cpp
2010-10-18 14:01:09 +02:00
Beeks
21d092705c fixfixfixfixfixfixfixfixfixfixfixfixfixfixfixfixfixfixfixfix
Signed-off-by: Beeks <HgDelirium@gmail.com>
2010-10-10 21:55:19 -04:00
Siana Gearz
6192edf353 Revert "Fixes for Linux ID0"
This reverts commit 184de6a6c5.
2010-10-11 03:09:44 +02:00
Beeks
184de6a6c5 Fixes for Linux ID0
Signed-off-by: Beeks <HgDelirium@gmail.com>
2010-10-05 11:09:05 -04:00
Beeks
9e91f88696 Change in the linux code - Some old Inertia stuff was lurking undetected in it.
Signed-off-by: Beeks <HgDelirium@gmail.com>
2010-09-22 06:39:14 -04:00
Hazim Gazov
f4857c6afb adding some floaters I forgot 2010-04-23 10:17:08 -03:00
Hazim Gazov
e204d77d52 added some settings from SLPE 2010-04-23 09:34:47 -03:00
Hazim Gazov
929694dc07 Added macro around texture exporter to ensure tpv compliance, started messing with develop.py 2010-04-19 23:12:15 -03:00
Hazim Gazov
0dbd278707 Added preliminary support for volume id checks on linux (depends on udev) 2010-04-19 19:22:46 -03:00
Hazim Gazov
7a86d01598 Imported existing code 2010-04-02 02:48:44 -03:00