Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2019 20:40:34 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513778 - in head/math/tmv: . files
Message-ID:  <201910042040.x94KeYbO021531@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri Oct  4 20:40:33 2019
New Revision: 513778
URL: https://svnweb.freebsd.org/changeset/ports/513778

Log:
  math/tmv: fix build on GCC architectures
  
  Instead of depending on libomp, set USES=compiler:openmp.
  
  Also don't link to libomp.
  
  PR:		241050
  Approved by:	linimon (mentor), yuri (maintainer)

Modified:
  head/math/tmv/Makefile
  head/math/tmv/files/Makefile

Modified: head/math/tmv/Makefile
==============================================================================
--- head/math/tmv/Makefile	Fri Oct  4 20:09:12 2019	(r513777)
+++ head/math/tmv/Makefile	Fri Oct  4 20:40:33 2019	(r513778)
@@ -3,7 +3,7 @@
 PORTNAME=	tmv
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.75
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,9 +12,7 @@ COMMENT=	Fast, intuitive linear algebra library for C+
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/TMV_LICENSE
 
-LIB_DEPENDS=	libomp.so:devel/openmp
-
-USES=		gmake blaslapack:netlib localbase
+USES=		compiler:openmp gmake blaslapack:netlib localbase
 USE_GITHUB=	yes
 GH_ACCOUNT=	rmjarvis
 USE_LDCONFIG=	yes

Modified: head/math/tmv/files/Makefile
==============================================================================
--- head/math/tmv/files/Makefile	Fri Oct  4 20:09:12 2019	(r513777)
+++ head/math/tmv/files/Makefile	Fri Oct  4 20:40:33 2019	(r513778)
@@ -9,7 +9,7 @@ LST2= TMV_BandMatrix TMV_MultBV TMV_MultXB TMV_AddBB T
 LIB2=      libtmv_symband.so.0
 
 CXXFLAGS+= -I../include -fopenmp -fPIC -DTMV_NDEBUG -DFBLAS -DNOLAP
-LDFLAGS+=  -lblas -lomp
+LDFLAGS+=  -lblas
 
 SRCS1=  $(addsuffix .cpp, $(LST1))
 SRCS2=  $(addsuffix .cpp, $(LST2))



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