summaryrefslogtreecommitdiff
path: root/math/py-dgl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-dgl/Makefile')
-rw-r--r--math/py-dgl/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/math/py-dgl/Makefile b/math/py-dgl/Makefile
index f94131bdde5c..0b39e1c13120 100644
--- a/math/py-dgl/Makefile
+++ b/math/py-dgl/Makefile
@@ -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