Date: Sun, 14 Jun 2020 09:14:04 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538716 - head/science/bagel Message-ID: <202006140914.05E9E4Ob001329@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Sun Jun 14 09:14:03 2020 New Revision: 538716 URL: https://svnweb.freebsd.org/changeset/ports/538716 Log: Chase ScaLAPACKĀ“s upgrade and resolve conflict between cblas and openblas. Approved by: yuri (maintainer) Modified: head/science/bagel/Makefile Modified: head/science/bagel/Makefile ============================================================================== --- head/science/bagel/Makefile Sun Jun 14 09:13:28 2020 (r538715) +++ head/science/bagel/Makefile Sun Jun 14 09:14:03 2020 (r538716) @@ -3,7 +3,7 @@ PORTNAME= bagel DISTVERSIONPREFIX= v DISTVERSION= 1.2.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -14,10 +14,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= error: static_assert failed "size_t is assumed to be the same size as unsigned long long" -LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ - libcblas.so:math/cblas +LIB_DEPENDS= libboost_serialization.so:devel/boost-libs -USES= autoreconf compiler:c++11-lang fortran gmake libtool localbase python:build +USES= autoreconf blaslapack:openblas compiler:c++11-lang fortran gmake libtool localbase python:build GNU_CONFIGURE= yes CONFIGURE_ARGS= --datarootdir=${DATADIR} USE_GITHUB= yes @@ -38,11 +37,9 @@ LIBXC_LIB_DEPENDS= libxc.so:science/libxc SCALAPACK_DESC= Use ScaLapack library for parallelized linear algebra SCALAPACK_CONFIGURE_ENABLE= scalapack -SCALAPACK_VARS= LDFLAGS+="-lcblas -lscalapack" -SCALAPACK_VARS_OFF= LDFLAGS+="-lcblas -llapack -lblas" # -llapack -lblas are a replacement of libscalapack +SCALAPACK_VARS= LDFLAGS+="-lscalapack" +SCALAPACK_VARS_OFF= LDFLAGS+="${BLASLIB} ${LAPACKLIB}" # -llapack -lblas are a replacement of libscalapack SCALAPACK_LIB_DEPENDS= libscalapack.so:math/scalapack -SCALAPACK_LIB_DEPENDS_OFF= liblapack.so:math/lapack \ - libblas.so:math/blas SCALAPACK_IMPLIES= MPI SMITH_DESC= Compile SMITH generated code
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006140914.05E9E4Ob001329>