Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 14:30:38 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 169b8d35ec7a - main - devel/mimalloc: Don't depend on gcc
Message-ID:  <202108201430.17KEUc95007875@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

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

commit 169b8d35ec7ae204ad56af65f9fa330f9f9ef892
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2021-08-20 14:28:23 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2021-08-20 14:30:23 +0000

    devel/mimalloc: Don't depend on gcc
    
    - No longer depend on gcc
    - Add a test target
    - Pacify portclippy/portfmt
    
    Reported by:    diizzy
---
 devel/mimalloc/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/devel/mimalloc/Makefile b/devel/mimalloc/Makefile
index a62fe4bc2030..9aa9f3e7a751 100644
--- a/devel/mimalloc/Makefile
+++ b/devel/mimalloc/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	mimalloc
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.0.2
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -11,17 +12,15 @@ COMMENT=	General-purpose allocator with excellent performance characteristics
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS_i386=	libatomic_ops>0:devel/libatomic_ops
-
-USES=		cmake compiler:gcc-c++11-lib
+USES=		cmake compiler:c++17-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	microsoft
 USE_LDCONFIG=	yes
 
 CMAKE_ON=	MI_INSTALL_TOPLEVEL
+TEST_TARGET=	test
 
-LDFLAGS_i386=	-latomic
-LDFLAGS_powerpc=-latomic
+LDFLAGS_powerpc=	-latomic
 
 # ci pipeline creates transient tags
 PORTSCOUT=	ignore:1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108201430.17KEUc95007875>