mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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
2 changed files with 3 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
||||||
PORTNAME= tmv
|
PORTNAME= tmv
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 0.75
|
DISTVERSION= 0.75
|
||||||
PORTREVISION= 5
|
PORTREVISION= 6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
MAINTAINER= yuri@FreeBSD.org
|
MAINTAINER= yuri@FreeBSD.org
|
||||||
|
@ -12,9 +12,7 @@ COMMENT= Fast, intuitive linear algebra library for C++
|
||||||
LICENSE= BSD2CLAUSE
|
LICENSE= BSD2CLAUSE
|
||||||
LICENSE_FILE= ${WRKSRC}/TMV_LICENSE
|
LICENSE_FILE= ${WRKSRC}/TMV_LICENSE
|
||||||
|
|
||||||
LIB_DEPENDS= libomp.so:devel/openmp
|
USES= compiler:openmp gmake blaslapack:netlib localbase
|
||||||
|
|
||||||
USES= gmake blaslapack:netlib localbase
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= rmjarvis
|
GH_ACCOUNT= rmjarvis
|
||||||
USE_LDCONFIG= yes
|
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
|
LIB2= libtmv_symband.so.0
|
||||||
|
|
||||||
CXXFLAGS+= -I../include -fopenmp -fPIC -DTMV_NDEBUG -DFBLAS -DNOLAP
|
CXXFLAGS+= -I../include -fopenmp -fPIC -DTMV_NDEBUG -DFBLAS -DNOLAP
|
||||||
LDFLAGS+= -lblas -lomp
|
LDFLAGS+= -lblas
|
||||||
|
|
||||||
SRCS1= $(addsuffix .cpp, $(LST1))
|
SRCS1= $(addsuffix .cpp, $(LST1))
|
||||||
SRCS2= $(addsuffix .cpp, $(LST2))
|
SRCS2= $(addsuffix .cpp, $(LST2))
|
||||||
|
|
Loading…
Add table
Reference in a new issue