Changeset View
Changeset View
Standalone View
Standalone View
math/ambit/Makefile
Show All 21 Lines | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= jturney | GH_ACCOUNT= jturney | ||||
# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch | # 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+= -DSHARED_ONLY:BOOL=ON | ||||
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON # bug#223678: find_package(OpenMP) doesn't find the openmp package | CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON # bug#223678: find_package(OpenMP) doesn't find the openmp package | ||||
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24 | CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24 | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.mk> | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 | |||||
# It requires clang version >3.6 | |||||
BUILD_DEPENDS+= clang60:devel/llvm60 | |||||
RUN_DEPENDS+= clang60:devel/llvm60 | |||||
CC= clang60 | |||||
CXX= clang++60 | |||||
.endif | |||||
.include <bsd.port.post.mk> |