[asterisk-commits] seanbright: branch seanbright/hoard-integration r126512 - /team/seanbright/ho...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 30 06:27:58 CDT 2008


Author: seanbright
Date: Mon Jun 30 06:27:57 2008
New Revision: 126512

URL: http://svn.digium.com/view/asterisk?view=rev&rev=126512
Log:
Add a doc detailing how to get asterisk to link against the Hoard memory
allocator instead of the system default one.  Still have to actually get
the Makefile magic in place to do that (without cheating *cough*).

Added:
    team/seanbright/hoard-integration/doc/hoard.txt   (with props)

Added: team/seanbright/hoard-integration/doc/hoard.txt
URL: http://svn.digium.com/view/asterisk/team/seanbright/hoard-integration/doc/hoard.txt?view=auto&rev=126512
==============================================================================
--- team/seanbright/hoard-integration/doc/hoard.txt (added)
+++ team/seanbright/hoard-integration/doc/hoard.txt Mon Jun 30 06:27:57 2008
@@ -1,0 +1,40 @@
+Using the Hoard Memory Allocator with Asterisk
+==============================================
+
+1) Install the Hoard Memory Allocator
+
+   Download Hoard from http://www.hoard.org/ either via a package or the source
+   tarball.
+
+   If downloading the source, unpack the tarball and follow the instructions in
+   the README file to build libhoard for your platform.
+
+2) Configure asterisk
+
+   Run ./configure in the root of the asterisk source directory, passing the
+   --with-hoard option specifying the location of the libhoard shared library.
+
+   For example:
+
+	   ./configure --with-hoard=/usr/src/hoard-371/src/
+
+   Note that we don't specify the full path to libhoard.so, just the directory
+   where it resides.
+
+3) Enable Hoard in menuselect
+
+   Run 'make menuselect' in the root of the asterisk source distribution.  Under
+   'Compiler Flags' select the 'USE_HOARD_ALLOCATOR' option.  If the option is
+   not available (shows up with XXX next to it) this means that configure was
+   not able to find libhoard.so.  Check that the path you passed to the
+   --with-hoard option is correct.
+
+4) Make and install asterisk
+
+   Run the standard build commands:
+
+	   # make
+	   # make install
+
+
+	   

Propchange: team/seanbright/hoard-integration/doc/hoard.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/seanbright/hoard-integration/doc/hoard.txt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/seanbright/hoard-integration/doc/hoard.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list