svn commit: r516173 - in head: devel devel/bazel029 science/py-tensorflow

Yuri Victorovich yuri at FreeBSD.org
Thu Oct 31 15:10:48 UTC 2019


Author: yuri
Date: Thu Oct 31 15:10:46 2019
New Revision: 516173
URL: https://svnweb.freebsd.org/changeset/ports/516173

Log:
  science/py-tensorflow: Fix build by using the version of devel/bazel (0.29.0) that is known to be able to build it
  
  One of the previous commits to devel/bazel broke tensorflow.
  
  Fun fact: the latest version of tensorflow-2.0.0 also fails to build with the latest version of bazel-1.1.0.

Added:
  head/devel/bazel029/
     - copied from r513871, head/devel/bazel/
Modified:
  head/devel/Makefile
  head/devel/bazel029/Makefile
  head/science/py-tensorflow/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Oct 31 14:51:23 2019	(r516172)
+++ head/devel/Makefile	Thu Oct 31 15:10:46 2019	(r516173)
@@ -213,6 +213,7 @@
     SUBDIR += bashdb
     SUBDIR += bats-core
     SUBDIR += bazel
+    SUBDIR += bazel029
     SUBDIR += bazel-buildtools
     SUBDIR += bbfreeze
     SUBDIR += bbfreeze-loader

Modified: head/devel/bazel029/Makefile
==============================================================================
--- head/devel/bazel/Makefile	Sun Oct  6 06:47:52 2019	(r513871)
+++ head/devel/bazel029/Makefile	Thu Oct 31 15:10:46 2019	(r516173)
@@ -6,6 +6,7 @@ DISTVERSION=	0.29.0
 CATEGORIES=	devel java
 MASTER_SITES=	https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
 DISTNAME=	bazel-${PORTVERSION}rc${FINALRC}-dist
+PKGNAMESUFFIX=	029
 
 MAINTAINER=	aehlig at linta.de
 COMMENT=	Fast and correct build system

Modified: head/science/py-tensorflow/Makefile
==============================================================================
--- head/science/py-tensorflow/Makefile	Thu Oct 31 14:51:23 2019	(r516172)
+++ head/science/py-tensorflow/Makefile	Thu Oct 31 15:10:46 2019	(r516173)
@@ -15,7 +15,6 @@ COMMENT=	Computation using data flow graphs for scalab
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		fails to build
 ONLY_FOR_ARCHS=	amd64
 
 BUILD_DEPENDS=	${RUN_DEPENDS} \
@@ -23,7 +22,7 @@ BUILD_DEPENDS=	${RUN_DEPENDS} \
 		bash:shells/bash \
 		cython:lang/cython \
 		swig3.0:devel/swig30 \
-		bazel:devel/bazel
+		bazel:devel/bazel029
 LIB_DEPENDS=	libsnappy.so:archivers/snappy \
 		liblmdb.so:databases/lmdb \
 		libsqlite3.so:databases/sqlite3 \


More information about the svn-ports-head mailing list