[Avida-SVN] r3482 - branches/tcmalloc-1.4

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Wed Oct 14 13:36:59 PDT 2009


Author: brysonda
Date: 2009-10-14 16:36:59 -0400 (Wed, 14 Oct 2009)
New Revision: 3482

Modified:
   branches/tcmalloc-1.4/CMakeLists.txt
Log:
Enable TCMalloc under ICC.  This works fine with the new version 1.4 and yields a 6-14% performance improvement for basic threaded analysis runs.   No change for run performance.

Modified: branches/tcmalloc-1.4/CMakeLists.txt
===================================================================
--- branches/tcmalloc-1.4/CMakeLists.txt	2009-10-14 20:30:14 UTC (rev 3481)
+++ branches/tcmalloc-1.4/CMakeLists.txt	2009-10-14 20:36:59 UTC (rev 3482)
@@ -341,11 +341,7 @@
 # Build Instructions for the TCMalloc library
 # ------------------------------------------------------------------------------
 IF(UNIX)
-  IF (CMAKE_CXX_COMPILER MATCHES ".*icpc.*")
-    SET(AVD_ENABLE_TCMALLOC FALSE)
-  ELSE (CMAKE_CXX_COMPILER MATCHES ".*icpc.*")
-    SET(AVD_ENABLE_TCMALLOC TRUE)
-  ENDIF (CMAKE_CXX_COMPILER MATCHES ".*icpc.*")
+  SET(AVD_ENABLE_TCMALLOC TRUE)
 ELSE(UNIX)
   SET(AVD_ENABLE_TCMALLOC FALSE)
 ENDIF(UNIX)




More information about the Avida-cvs mailing list