Date: Mon, 10 Feb 2020 13:23:56 +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: r525704 - head/math/hmat-oss Message-ID: <202002101323.01ADNuln021504@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Feb 10 13:23:56 2020 New Revision: 525704 URL: https://svnweb.freebsd.org/changeset/ports/525704 Log: math/hmat-oss: fix build on GCC architectures After OpenBLAS update, new GCC is required: CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find CBLAS (missing: CBLAS_LIBRARIES) Modified: head/math/hmat-oss/Makefile Modified: head/math/hmat-oss/Makefile ============================================================================== --- head/math/hmat-oss/Makefile Mon Feb 10 12:48:50 2020 (r525703) +++ head/math/hmat-oss/Makefile Mon Feb 10 13:23:56 2020 (r525704) @@ -22,6 +22,12 @@ USE_LDCONFIG= yes CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \ -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} == gcc +USE_GCC= yes +.endif + do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_EXAMPLES:BOOL=ON ${CMAKE_SOURCE_PATH} && \ @@ -29,4 +35,4 @@ do-test: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002101323.01ADNuln021504>