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

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Wed Oct 14 20:08:46 PDT 2009


Author: brysonda
Date: 2009-10-14 23:08:46 -0400 (Wed, 14 Oct 2009)
New Revision: 3486

Modified:
   branches/tcmalloc-1.4/CMakeLists.txt
Log:
Disable tcmalloc-1.4 under ICC again.  Although it yields performance gains in threaded analysis, there is an outsized loss in long/large run performance.  Ah well, something must not be playing nicely.  Still works great with pathCC and GCC on Linux and Mac.

Modified: branches/tcmalloc-1.4/CMakeLists.txt
===================================================================
--- branches/tcmalloc-1.4/CMakeLists.txt	2009-10-15 02:27:41 UTC (rev 3485)
+++ branches/tcmalloc-1.4/CMakeLists.txt	2009-10-15 03:08:46 UTC (rev 3486)
@@ -341,7 +341,11 @@
 # Build Instructions for the TCMalloc library
 # ------------------------------------------------------------------------------
 IF(UNIX)
-  SET(AVD_ENABLE_TCMALLOC TRUE)
+  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.*")
 ELSE(UNIX)
   SET(AVD_ENABLE_TCMALLOC FALSE)
 ENDIF(UNIX)




More information about the Avida-cvs mailing list