diff options
Diffstat (limited to 'math/py-dgl/Makefile')
-rw-r--r-- | math/py-dgl/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/math/py-dgl/Makefile b/math/py-dgl/Makefile index f94131bdde5c..aab285be4877 100644 --- a/math/py-dgl/Makefile +++ b/math/py-dgl/Makefile @@ -1,6 +1,6 @@ PORTNAME= dgl DISTVERSION= 1.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -35,7 +35,7 @@ MAKE_ENV= DGL_LIBRARY_PATH=${LOCALBASE}/lib POST_PLIST= fix-plist OPTIONS_RADIO= BACKEND -OPTIONS_RADIO_BACKEND= PYTORCH TENSORFLOW MXNET +OPTIONS_RADIO_BACKEND= PYTORCH TENSORFLOW OPTIONS_DEFAULT= PYTORCH PYTORCH_DESC= Use PyTorch backend @@ -46,10 +46,6 @@ TENSORFLOW_DESC= Use TensorFlow backend TENSORFLOW_VARS= BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}tensorflow>0:science/py-tensorflow@${PY_FLAVOR} TENSORFLOW_MAKE_ENV= DGLBACKEND=tensorflow -MXNET_DESC= Use MXNET backend -MXNET_VARS= BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR} -MXNET_MAKE_ENV= DGLBACKEND=mxnet - post-install: # workaround for https://github.com/dmlc/dgl/issues/5665 @${RM} ${STAGEDIR}${PREFIX}/dgl/libdgl.so @@ -60,7 +56,7 @@ post-install: ${STAGEDIR}${PREFIX}/dgl/dgl_sparse \ ${STAGEDIR}${PREFIX}/dgl # strip binaries - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dgl/_ffi/_cy3/core${PYTHON_EXT_SUFFIX}.so + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dgl/_ffi/_cy3/core${PYTHON_TAG}.so fix-plist: # workaround for https://github.com/dmlc/dgl/issues/5665 |