mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
science/py-phono3py: Fix build on 12/13 (broken due to missing libgomp.so); Add USES=blaslapack:openblas
libgomp.so was found in gcc8, which this ports doesn't explicitly depend on, and openmp wasn't installed but the build was failing later on 12 due to the lack of libgomp.so. Solution: Move openmp dependency from LIB_DEPENDS to BUILD_DEPENDS/RUN_DEPENDS. Reported by: Gleb Popov <6yearold@gmail.com> (USES=blaslapack:openblas)
This commit is contained in:
parent
d1c5d80eec
commit
a60337fb4e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502028
@ -18,16 +18,16 @@ BUILD_DEPENDS= ${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}phonopy>=1.13.2:science/py-phonopy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
|
||||
${LOCALBASE}/include/lapacke.h:math/lapacke
|
||||
LIB_DEPENDS= libgomp.so:devel/openmp \
|
||||
libopenblas.so:math/openblas
|
||||
${LOCALBASE}/include/lapacke.h:math/lapacke \
|
||||
openmp>0:devel/openmp
|
||||
RUN_DEPENDS= ${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}phonopy>=1.13.2:science/py-phonopy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
|
||||
openmp>0:devel/openmp
|
||||
|
||||
USES= localbase python
|
||||
USES= blaslapack:openblas localbase python
|
||||
USE_PYTHON= distutils cython autoplist
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user