git: dabb33e785e4 - main - math/symengine: Disable TCMALLOC option

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 08 Aug 2022 01:47:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dabb33e785e42f41b8a68869442ef60e0e7262c8

commit dabb33e785e42f41b8a68869442ef60e0e7262c8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-08 01:43:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-08 01:47:06 +0000

    math/symengine: Disable TCMALLOC option
    
    ... because it triggers memory corruption in math/py-symengine.
---
 math/symengine/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/math/symengine/Makefile b/math/symengine/Makefile
index c6df8f2fe882..7cc6c5b05c4c 100644
--- a/math/symengine/Makefile
+++ b/math/symengine/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	symengine
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -23,7 +23,7 @@ CMAKE_OFF=	BUILD_BENCHMARKS WITH_COTIRE
 OPTIONS_DEFINE=			ARB ECM LLVM MPC TCMALLOC ASSERT
 OPTIONS_SINGLE=			INTCLASS
 OPTIONS_SINGLE_INTCLASS=	GMP GMPXX BOOSTMP FLINT PIRANHA
-OPTIONS_DEFAULT=		ARB ECM LLVM MPC TCMALLOC FLINT # FLINT choice is based on best performance
+OPTIONS_DEFAULT=		ARB ECM LLVM MPC FLINT # FLINT choice is based on best performance, TCMALLOC is broken due to memory corruption issues, see https://github.com/symengine/symengine.py/issues/412
 
 INTCLASS_DESC=		Integer class, use integers from:
 
@@ -50,6 +50,7 @@ MPC_LIB_DEPENDS=	libmpc.so:math/mpc
 TCMALLOC_DESC=		Use tcmalloc from google-perftools (improves performance)
 TCMALLOC_CMAKE_BOOL=	WITH_TCMALLOC
 TCMALLOC_LIB_DEPENDS=	libtcmalloc.so:devel/google-perftools
+TCMALLOC_BROKEN=	associated with a suspected memory corruption problem, see https://github.com/symengine/symengine.py/issues/412
 
 ASSERT_CMAKE_BOOL=	WITH_SYMENGINE_ASSERT