git: 03896b642b6e - main - cad/surelog: Add TCMALLOC option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jun 2023 21:11:01 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=03896b642b6e9e448ece02add1a88ef65385d505 commit 03896b642b6e9e448ece02add1a88ef65385d505 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-06-06 20:37:27 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-06-06 21:10:57 +0000 cad/surelog: Add TCMALLOC option --- cad/surelog/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cad/surelog/Makefile b/cad/surelog/Makefile index b83f6c38dc89..8e00f3df0dd4 100644 --- a/cad/surelog/Makefile +++ b/cad/surelog/Makefile @@ -1,6 +1,7 @@ PORTNAME= surelog DISTVERSIONPREFIX= v DISTVERSION= 1.61 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org @@ -17,7 +18,6 @@ BROKEN_i386= compilation fails: conversion function cannot be redeclared, see ht BUILD_DEPENDS= utf8cpp>0:devel/utf8cpp \ ${PYTHON_PKGNAMEPREFIX}orderedmultidict>0:devel/py-orderedmultidict@${PY_FLAVOR} LIB_DEPENDS= libcapnp.so:devel/capnproto \ - libtcmalloc.so:devel/google-perftools \ libuhdm.so:cad/uhdm USES= cmake:testing compiler:c++17-lang localbase:ldflags tcl:86,build @@ -47,8 +47,9 @@ BINARY_ALIAS= python3=${PYTHON_CMD} tclsh=${TCLSH} CONFLICTS_BUILD= openjdk8 openjdk11 openjdk18 openjdk19 -OPTIONS_DEFINE= PYTHON -OPTIONS_SUB= yes +OPTIONS_DEFINE= PYTHON TCMALLOC +OPTIONS_DEFAULT= PYTHON TCMALLOC # should be the same TCMALLOC default as in cad/yosys, cad/uhdm because surelog's lib is used in the yosys plugin cad/yosys-systemverilog +OPTIONS_SUB= yes PYTHON_USES= python PYTHON_USES_OFF= python:build @@ -56,6 +57,9 @@ PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_CMAKE_BOOL= SURELOG_WITH_PYTHON PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_DISTVERSION=${PYTHON_DISTVERSION} +TCMALLOC_CMAKE_BOOL= SURELOG_WITH_TCMALLOC +TCMALLOC_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools + PORTSCOUT= limit:^.*[0-9]\.[0-9] # prevent tags like 'show' post-install: # workaound for https://github.com/chipsalliance/Surelog/issues/3596