mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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)
This commit is contained in:
parent
13f6aa2bdd
commit
a4e6755318
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513778
@ -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
|
||||
|
@ -9,7 +9,7 @@ LST2= TMV_BandMatrix TMV_MultBV TMV_MultXB TMV_AddBB TMV_MultBM TMV_MultBB TMV_B
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user