Skip to content

Commit

Permalink
science/py-tensorflow: Mark BROKEN
Browse files Browse the repository at this point in the history
Fails to build with:
variable has incomplete type 'StateSaver'
  • Loading branch information
5u623l20 committed Feb 17, 2024
1 parent 65c297f commit 463eb96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions science/py-tensorflow/Makefile
Expand Up @@ -14,6 +14,7 @@ WWW= https://www.tensorflow.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BROKEN= variable has incomplete type 'StateSaver'
ONLY_FOR_ARCHS= amd64

BUILD_DEPENDS= ${RUN_DEPENDS} \
Expand Down Expand Up @@ -112,7 +113,7 @@ post-patch:
${WRKSRC}/third_party/

@${LN} -s ${PYTHON_CMD} ${WRKDIR}/.bin/python3

@cd ${WRKSRC} && \
${REINPLACE_CMD} "s#--batch#${BAZEL_BOOT}\', \'--batch#" \
configure.py
Expand Down Expand Up @@ -214,7 +215,7 @@ do-install:
${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow_cc.pc

@${REINPLACE_CMD} "s#%%VERSION%%#${PORTVERSION}#" \
${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow.pc
${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow.pc

#cleanup
${RM} ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/*.bak
Expand Down

0 comments on commit 463eb96

Please sign in to comment.