* Fix build on i386 [1] * Fix science/code_saturne build with new openblas [2] * Avoid installing private headers [3] * Prevent build from optimizing for host by correcting build confg [4] * Bump portrevision of dependent ports [5] This is correcting issues from r523749 [1][2][4] and r515970 [3] PR: 231371 Reported by: build cluster [1] Reported by: Dima Pasechnik <dimpase+freebsd@gmail.com> [2] Reported by: many [5] Reviewed by: mat, bapt Approved by: implicit, since this is a build fix
30 lines
762 B
Makefile
30 lines
762 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ambit
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++ library for tensor product calculations
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
|
libomp.so:devel/openmp \
|
|
libopenblas.so:math/openblas \
|
|
libsz.so:science/szip
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jturney
|
|
|
|
# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch
|
|
CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON
|
|
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON
|
|
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24
|
|
|
|
.include <bsd.port.mk>
|