Skip to content

Commit

Permalink
added support for tcmalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto@debian32 committed May 12, 2011
1 parent 71cc6f6 commit d9630a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions buildconf/default.ini
Expand Up @@ -22,6 +22,7 @@ debug = false
unbit = false
xml_implementation = libxml2
yaml_implementation = auto
tcmalloc = false
plugins =
bin_name = uwsgi
plugin_dir = .
Expand Down
3 changes: 3 additions & 0 deletions uwsgiconfig.py
Expand Up @@ -350,6 +350,9 @@ def get_gcll(self):
self.cflags.append('-DUWSGI_EVENT_FILEMONITOR_USE_NONE')


if self.get('tcmalloc'):
self.libs.append('-ltcmalloc')

if self.get('embedded'):
self.cflags.append('-DUWSGI_EMBEDDED')

Expand Down

0 comments on commit d9630a3

Please sign in to comment.