View | Details | Raw Unified | Return to bug 250646 | Differences between
and this patch

Collapse All | Expand All

(-)science/Makefile (+1 lines)
Lines 286-291 Link Here
286
    SUBDIR += py-scoria
286
    SUBDIR += py-scoria
287
    SUBDIR += py-spglib
287
    SUBDIR += py-spglib
288
    SUBDIR += py-tensorflow
288
    SUBDIR += py-tensorflow
289
    SUBDIR += py-tensorflow-estimator
289
    SUBDIR += py-veusz
290
    SUBDIR += py-veusz
290
    SUBDIR += pybrain
291
    SUBDIR += pybrain
291
    SUBDIR += pynn
292
    SUBDIR += pynn
(-)science/py-tensorflow/Makefile (-12 / +14 lines)
Lines 2-9 Link Here
2
2
3
PORTNAME=	tensorflow
3
PORTNAME=	tensorflow
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	1.14.0
5
DISTVERSION=	1.15.4
6
PORTREVISION=	11
7
CATEGORIES=	science python
6
CATEGORIES=	science python
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
DIST_SUBDIR=	${PORTNAME}
8
DIST_SUBDIR=	${PORTNAME}
Lines 15-21 Link Here
15
LICENSE=	APACHE20
14
LICENSE=	APACHE20
16
LICENSE_FILE=	${WRKSRC}/LICENSE
15
LICENSE_FILE=	${WRKSRC}/LICENSE
17
16
18
BROKEN=		fails to build
19
ONLY_FOR_ARCHS=	amd64
17
ONLY_FOR_ARCHS=	amd64
20
18
21
BUILD_DEPENDS=	${RUN_DEPENDS} \
19
BUILD_DEPENDS=	${RUN_DEPENDS} \
Lines 23-34 Link Here
23
		bash:shells/bash \
21
		bash:shells/bash \
24
		cython:lang/cython \
22
		cython:lang/cython \
25
		swig:devel/swig \
23
		swig:devel/swig \
26
		bazel:devel/bazel029
24
		bazel:devel/bazel029 \
25
		git:devel/git
27
LIB_DEPENDS=	libsnappy.so:archivers/snappy \
26
LIB_DEPENDS=	libsnappy.so:archivers/snappy \
28
		liblmdb.so:databases/lmdb \
27
		liblmdb.so:databases/lmdb \
29
		libsqlite3.so:databases/sqlite3 \
28
		libsqlite3.so:databases/sqlite3 \
30
		libicuio.so:devel/icu \
29
		libicuio.so:devel/icu \
31
		libjsoncpp.so:devel/jsoncpp \
32
		libpcre.so:devel/pcre \
30
		libpcre.so:devel/pcre \
33
		libnsync.so:devel/nsync \
31
		libnsync.so:devel/nsync \
34
		libprotobuf.so:devel/protobuf \
32
		libprotobuf.so:devel/protobuf \
Lines 123-138 Link Here
123
		TF_IGNORE_MAX_BAZEL_VERSION=1 \
121
		TF_IGNORE_MAX_BAZEL_VERSION=1 \
124
		CC_OPT_FLAGS="-march=${CPU_TARGET} -I${LOCALBASE}/include" \
122
		CC_OPT_FLAGS="-march=${CPU_TARGET} -I${LOCALBASE}/include" \
125
		PREFIX="${LOCALBASE}" \
123
		PREFIX="${LOCALBASE}" \
126
		TF_SYSTEM_LIBS="absl_py astor_archive boringssl com_github_googleapis_googleapis com_github_googlecloudplatform_google_cloud_cpp com_google_protobuf \
124
		TF_SYSTEM_LIBS="astor_archive boringssl com_github_googleapis_googleapis com_github_googlecloudplatform_google_cloud_cpp com_google_protobuf \
127
				com_google_protobuf_cc com_googlesource_code_re2 curl cython double_conversion enum34_archive flatbuffers gast_archive gif_archive \
125
				com_googlesource_code_re2 curl com_google_protobuf cython double_conversion flatbuffers gast_archive \
128
				grpc hwloc icu jpeg jsoncpp_git keras_applications_archive lmdb nasm nsync org_sqlite pasta pcre png_archive protobuf_archive \
126
				grpc hwloc icu jpeg keras_applications_archive lmdb nasm nsync org_sqlite pasta pcre \
129
				six_archive snappy swig termcolor_archive wrapt zlib_archive" \
127
				six_archive snappy swig termcolor_archive wrapt zlib_archive" \
130
		./configure
128
		./configure
131
129
130
# --bazelrc="${WRKDIR}/bazelrc"
131
132
do-build:
132
do-build:
133
	@cd ${WRKSRC} && \
133
	@cd ${WRKSRC} && \
134
		bazel --bazelrc="${WRKDIR}/bazelrc" ${BAZEL_BOOT} build ${BAZEL_COPT} --host_copt="-I${LOCALBASE}/include" \
134
		bazel --bazelrc="${WRKDIR}/bazelrc" ${BAZEL_BOOT} build --jobs 1 ${BAZEL_COPT} --host_copt="-I${LOCALBASE}/include" \
135
		--host_linkopt="-L${LOCALBASE}/lib" --linkopt="-L${LOCALBASE}/lib" --config=opt \
135
		--host_linkopt=-L${LOCALBASE}/lib --host_linkopt=-lexecinfo --linkopt=-L${LOCALBASE}/lib --linkopt=-lexecinfo --config=opt \
136
		--incompatible_no_support_tools_in_action_inputs=false \
136
		--incompatible_no_support_tools_in_action_inputs=false \
137
		--verbose_failures -s \
137
		--verbose_failures -s \
138
		//tensorflow:libtensorflow.so \
138
		//tensorflow:libtensorflow.so \
Lines 149-160 Link Here
149
	@${UNZIP_NATIVE_CMD} -d ${WRKDIR}/tmp ${WRKDIR}/whl/${PORTNAME}-${PORTVERSION}-*.whl
149
	@${UNZIP_NATIVE_CMD} -d ${WRKDIR}/tmp ${WRKDIR}/whl/${PORTNAME}-${PORTVERSION}-*.whl
150
	@${FIND} ${WRKDIR}/tmp -name "*.so*" | ${XARGS} ${STRIP_CMD}
150
	@${FIND} ${WRKDIR}/tmp -name "*.so*" | ${XARGS} ${STRIP_CMD}
151
	cd ${WRKDIR}/tmp && ${COPYTREE_SHARE} ${PORTNAME}-${PORTVERSION}.dist-info \
151
	cd ${WRKDIR}/tmp && ${COPYTREE_SHARE} ${PORTNAME}-${PORTVERSION}.dist-info \
152
		${STAGEDIR}${PYTHON_SITELIBDIR}
152
		${STAGEDIR}${PYTHON_SITELIBDIR} \
153
		&& ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PYTHON_SITELIBDIR} \
154
		&& ${COPYTREE_SHARE} ${PORTNAME}_core ${STAGEDIR}${PYTHON_SITELIBDIR}
153
	cd ${WRKDIR}/tmp/${PORTNAME}-${PORTVERSION}.data/purelib && \
155
	cd ${WRKDIR}/tmp/${PORTNAME}-${PORTVERSION}.data/purelib && \
154
		${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}
156
		${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}
155
157
156
post-install: # autoplist: thousands of files, all under ${PYTHON_SITELIBDIR}
158
post-install: # autoplist: thousands of files, all under ${PYTHON_SITELIBDIR}
157
	@cd ${STAGEDIR}${PREFIX} && \
159
	@cd ${STAGEDIR}${PREFIX} && \
158
		${FIND} ${PYTHON_SITELIBDIR:C|^${LOCALBASE}/||} -type f -or -type l | grep -v "egg-info/" >> ${TMPPLIST}
160
		${FIND} ${PYTHON_SITELIBDIR:C|^${LOCALBASE}/||} -type f -or -type l | ${GREP} -v "egg-info/" >> ${TMPPLIST}
159
161
160
.include <bsd.port.mk>
162
.include <bsd.port.mk>
(-)science/py-tensorflow/Makefile.MASTER_SITES (-11 / +39 lines)
Lines 1-36 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
DISTFILES+=	v0.18.tar.gz:mkldnn \
3
DISTFILES+=	v0.18.tar.gz:mkldnn \
4
		daf381e8535a1f1f1b8a75966a74e7cca63dee89.tar.gz:abseil \
4
		43ef2148c0936ebf7cb4be6b19927a9d9d145b8f.tar.gz:abseil \
5
		a0d250e79c79.tar.gz:eigen \
5
		pypi-v0.7.1.tar.gz:absl_py \
6
		49177915a14a.tar.gz:eigen \
7
		opt_einsum-2.3.2.tar.gz:opt_einsum \
6
		12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip:gemmlowp \
8
		12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip:gemmlowp \
7
		816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz:farmhash \
9
		816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz:farmhash \
8
		cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz:closure \
9
		94d31935a2c94fe7e7c7379a0f3393e181928ff7.tar.gz:toolchain \
10
		b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz:docker \
10
		b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz:docker \
11
		0.6.0.tar.gz:skylib \
11
		308b05b2419edb5c8ee0471b67a40403df940149.tar.gz:closure \
12
		rules_swift.0.9.0.tar.gz:swift \
12
		92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz:toolchain \
13
		rules_docker-v0.15.0.tar.gz:docker2 \
14
		bazel-skylib.0.8.0.tar.gz:skylib \
15
		rules_swift.0.11.1.tar.gz:swift \
13
		fft.tgz:fft \
16
		fft.tgz:fft \
14
		1200fe90bb174a6224a525ee60148671a786a71f.tar.gz:neon \
17
		1200fe90bb174a6224a525ee60148671a786a71f.tar.gz:neon \
15
		fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz:highway \
18
		fd3d9af80465e4383162e4a7c5e2f406e82dd968.tar.gz:highway \
16
		license.rst.txt:license \
19
		license.rst.txt:license \
17
		backports.weakref-1.0rc1.tar.gz:weakref \
20
		backports.weakref-1.0rc1.tar.gz:weakref \
18
		0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip:rulescc
21
		0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip:rulescc \
22
		functools32-3.2.3-2.tar.gz:functools \
23
		v2.3.0.tar.gz:pybind \
24
		enum34-1.1.6.tar.gz:enum34 \
25
		7a7e03f906aada0cf4b749b51213fe5784eeff84.tar.gz:llvm \
26
		fft2d.tgz:fft \
27
		1.9.2.tar.gz:jsoncpp \
28
		giflib-5.2.1.tar.gz:giflib \
29
		36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz:kissfft \
30
		v0.11.5.tar.gz:kafka \
31
		v1.6.37.tar.gz:glennrp \
32
		v0.20.6.tar.gz:mkl_dnn
19
33
20
34
21
MASTER_SITES+=	https://github.com/intel/mkl-dnn/archive/:mkldnn \
35
MASTER_SITES+=	https://github.com/intel/mkl-dnn/archive/:mkldnn \
22
		https://github.com/abseil/abseil-cpp/archive/:abseil \
36
		https://github.com/abseil/abseil-cpp/archive/:abseil \
23
		https://bitbucket.org/eigen/eigen/get/:eigen \
37
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-py/archive/:absl_py \
38
		https://storage.googleapis.com/mirror.tensorflow.org/bitbucket.org/eigen/eigen/get/:eigen \
39
		https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/f6/d6/44792ec668bcda7d91913c75237314e688f70415ab2acd7172c845f0b24f/:opt_einsum \
40
		https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/:functools \
41
		https://github.com/pybind/pybind11/archive/:pybind \
24
		https://github.com/google/gemmlowp/archive/:gemmlowp \
42
		https://github.com/google/gemmlowp/archive/:gemmlowp \
25
		https://github.com/google/farmhash/archive/:farmhash \
43
		https://github.com/google/farmhash/archive/:farmhash \
26
		https://github.com/bazelbuild/rules_closure/archive/:closure \
44
		https://github.com/bazelbuild/rules_closure/archive/:closure \
27
		http://mirror.tensorflow.org/github.com/bazelbuild/bazel-toolchains/archive/:toolchain \
45
		http://mirror.tensorflow.org/github.com/bazelbuild/bazel-toolchains/archive/:toolchain \
28
		https://github.com/bazelbuild/rules_docker/archive/:docker \
46
		https://github.com/bazelbuild/rules_docker/archive/:docker \
29
		https://github.com/bazelbuild/bazel-skylib/archive/:skylib \
47
		https://github.com/bazelbuild/rules_docker/releases/download/v0.15.0/:docker2 \
30
		https://github.com/bazelbuild/rules_swift/releases/download/0.9.0/:swift \
48
		https://github.com/bazelbuild/bazel-skylib/releases/download/0.8.0/:skylib \
49
		https://github.com/bazelbuild/rules_swift/releases/download/0.11.1/:swift \
31
		http://www.kurims.kyoto-u.ac.jp/~ooura/:fft \
50
		http://www.kurims.kyoto-u.ac.jp/~ooura/:fft \
32
		http://mirror.tensorflow.org/github.com/intel/ARM_NEON_2_x86_SSE/archive/:neon \
51
		http://mirror.tensorflow.org/github.com/intel/ARM_NEON_2_x86_SSE/archive/:neon \
33
		http://mirror.tensorflow.org/github.com/google/highwayhash/archive/:highway \
52
		http://mirror.tensorflow.org/github.com/google/highwayhash/archive/:highway \
34
		http://mirror.tensorflow.org/docs.python.org/2.7/_sources/:license \
53
		http://mirror.tensorflow.org/docs.python.org/2.7/_sources/:license \
35
		https://pypi.python.org/packages/bc/cc/3cdb0a02e7e96f6c70bd971bc8a90b8463fda83e264fa9c5c1c98ceabd81/:weakref \
54
		https://pypi.python.org/packages/bc/cc/3cdb0a02e7e96f6c70bd971bc8a90b8463fda83e264fa9c5c1c98ceabd81/:weakref \
36
		https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/:rulescc
55
		https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/:rulescc \
56
		https://storage.googleapis.com/mirror.tensorflow.org/pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/:enum34 \
57
		https://github.com/llvm-mirror/llvm/archive/:llvm \
58
		https://storage.googleapis.com/mirror.tensorflow.org/www.kurims.kyoto-u.ac.jp/~ooura/:fft \
59
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/open-source-parsers/jsoncpp/archive/:jsoncpp \
60
		https://storage.googleapis.com/mirror.tensorflow.org/pilotfiber.dl.sourceforge.net/project/giflib/:giflib \
61
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/mborgerding/kissfft/archive/:kissfft \
62
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/edenhill/librdkafka/archive/:kafka \
63
		https://github.com/glennrp/libpng/archive/:glennrp \
64
		https://storage.googleapis.com/mirror.tensorflow.org/github.com/intel/mkl-dnn/archive/:mkl_dnn
(-)science/py-tensorflow/distinfo (-15 / +43 lines)
Lines 1-24 Link Here
1
TIMESTAMP = 1570325271
1
TIMESTAMP = 1605716485
2
SHA256 (tensorflow/v0.18.tar.gz) = 38a1c02104ee9f630c1ad68164119cd58ad0aaf59e04ccbe7bd5781add7bfbea
2
SHA256 (tensorflow/v0.18.tar.gz) = 38a1c02104ee9f630c1ad68164119cd58ad0aaf59e04ccbe7bd5781add7bfbea
3
SIZE (tensorflow/v0.18.tar.gz) = 1497239
3
SIZE (tensorflow/v0.18.tar.gz) = 1497239
4
SHA256 (tensorflow/daf381e8535a1f1f1b8a75966a74e7cca63dee89.tar.gz) = 56cd3fbbbd94468a5fff58f5df2b6f9de7a0272870c61f6ca05b869934f4802a
4
SHA256 (tensorflow/43ef2148c0936ebf7cb4be6b19927a9d9d145b8f.tar.gz) = acd93f6baaedc4414ebd08b33bebca7c7a46888916101d8c0b8083573526d070
5
SIZE (tensorflow/daf381e8535a1f1f1b8a75966a74e7cca63dee89.tar.gz) = 1275955
5
SIZE (tensorflow/43ef2148c0936ebf7cb4be6b19927a9d9d145b8f.tar.gz) = 1281523
6
SHA256 (tensorflow/a0d250e79c79.tar.gz) = 0dde8fb87f5dad2e409c9f4ea1bebc54e694cf4f3b633081b0d51a55c00f9c9f
6
SHA256 (tensorflow/pypi-v0.7.1.tar.gz) = 3d0f39e0920379ff1393de04b573bca3484d82a5f8b939e9e83b20b6106c9bbe
7
SIZE (tensorflow/a0d250e79c79.tar.gz) = 2468318
7
SIZE (tensorflow/pypi-v0.7.1.tar.gz) = 215669
8
SHA256 (tensorflow/49177915a14a.tar.gz) = b3e1c3df05377d22bb960f54acce8d7018bc9477f37e8f39f9d3c784f5aaa87f
9
SIZE (tensorflow/49177915a14a.tar.gz) = 2496808
10
SHA256 (tensorflow/opt_einsum-2.3.2.tar.gz) = d3d464b4da7ef09e444c30e4003a27def37f85ff10ff2671e5f7d7813adac35b
11
SIZE (tensorflow/opt_einsum-2.3.2.tar.gz) = 59489
8
SHA256 (tensorflow/12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip) = 6678b484d929f2d0d3229d8ac4e3b815a950c86bb9f17851471d143f6d4f7834
12
SHA256 (tensorflow/12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip) = 6678b484d929f2d0d3229d8ac4e3b815a950c86bb9f17851471d143f6d4f7834
9
SIZE (tensorflow/12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip) = 935628
13
SIZE (tensorflow/12fed0cd7cfcd9e169bf1925bc3a7a58725fdcc3.zip) = 935628
10
SHA256 (tensorflow/816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz) = 6560547c63e4af82b0f202cb710ceabb3f21347a4b996db565a411da5b17aba0
14
SHA256 (tensorflow/816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz) = 6560547c63e4af82b0f202cb710ceabb3f21347a4b996db565a411da5b17aba0
11
SIZE (tensorflow/816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz) = 467122
15
SIZE (tensorflow/816a4ae622e964763ca0862d9dbd19324a1eaf45.tar.gz) = 467122
12
SHA256 (tensorflow/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz) = e0a111000aeed2051f29fcc7a3f83be3ad8c6c93c186e64beb1ad313f0c7f9f9
13
SIZE (tensorflow/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz) = 462798
14
SHA256 (tensorflow/94d31935a2c94fe7e7c7379a0f3393e181928ff7.tar.gz) = 109a99384f9d08f9e75136d218ebaebc68cc810c56897aea2224c57932052d30
15
SIZE (tensorflow/94d31935a2c94fe7e7c7379a0f3393e181928ff7.tar.gz) = 505681
16
SHA256 (tensorflow/b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz) = 4abb48f56b838957c9c72ac511b44f79612fcf39d08338fad14a8e3f6b0572ea
16
SHA256 (tensorflow/b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz) = 4abb48f56b838957c9c72ac511b44f79612fcf39d08338fad14a8e3f6b0572ea
17
SIZE (tensorflow/b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz) = 460121
17
SIZE (tensorflow/b8ff6a85ec359db3fd5657accd3e524daf12016d.tar.gz) = 460121
18
SHA256 (tensorflow/0.6.0.tar.gz) = eb5c57e4c12e68c0c20bc774bfbc60a568e800d025557bc4ea022c6479acc867
18
SHA256 (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9
19
SIZE (tensorflow/0.6.0.tar.gz) = 29330
19
SIZE (tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz) = 464906
20
SHA256 (tensorflow/rules_swift.0.9.0.tar.gz) = 9efe9699e9765e6b4a5e063e4a08f6b163cccaf0443f775d935baf5c3cd6ed0e
20
SHA256 (tensorflow/92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz) = 88e818f9f03628eef609c8429c210ecf265ffe46c2af095f36c7ef8b1855fef5
21
SIZE (tensorflow/rules_swift.0.9.0.tar.gz) = 105918
21
SIZE (tensorflow/92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz) = 660374
22
SHA256 (tensorflow/rules_docker-v0.15.0.tar.gz) = 1698624e878b0607052ae6131aa216d45ebb63871ec497f26c67455b34119c80
23
SIZE (tensorflow/rules_docker-v0.15.0.tar.gz) = 576385
24
SHA256 (tensorflow/bazel-skylib.0.8.0.tar.gz) = 2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e
25
SIZE (tensorflow/bazel-skylib.0.8.0.tar.gz) = 72941
26
SHA256 (tensorflow/rules_swift.0.11.1.tar.gz) = 96a86afcbdab215f8363e65a10cf023b752e90b23abf02272c4fc668fcb70311
27
SIZE (tensorflow/rules_swift.0.11.1.tar.gz) = 107453
22
SHA256 (tensorflow/fft.tgz) = 52bb637c70b971958ec79c9c8752b1df5ff0218a4db4510e60826e0cb79b5296
28
SHA256 (tensorflow/fft.tgz) = 52bb637c70b971958ec79c9c8752b1df5ff0218a4db4510e60826e0cb79b5296
23
SIZE (tensorflow/fft.tgz) = 72213
29
SIZE (tensorflow/fft.tgz) = 72213
24
SHA256 (tensorflow/1200fe90bb174a6224a525ee60148671a786a71f.tar.gz) = 213733991310b904b11b053ac224fee2d4e0179e46b52fe7f8735b8831e04dcc
30
SHA256 (tensorflow/1200fe90bb174a6224a525ee60148671a786a71f.tar.gz) = 213733991310b904b11b053ac224fee2d4e0179e46b52fe7f8735b8831e04dcc
Lines 31-35 Link Here
31
SIZE (tensorflow/backports.weakref-1.0rc1.tar.gz) = 7761
37
SIZE (tensorflow/backports.weakref-1.0rc1.tar.gz) = 7761
32
SHA256 (tensorflow/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip) = 36fa66d4d49debd71d05fba55c1353b522e8caef4a20f8080a3d17cdda001d89
38
SHA256 (tensorflow/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip) = 36fa66d4d49debd71d05fba55c1353b522e8caef4a20f8080a3d17cdda001d89
33
SIZE (tensorflow/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip) = 72534
39
SIZE (tensorflow/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip) = 72534
34
SHA256 (tensorflow/tensorflow-tensorflow-v1.14.0_GH0.tar.gz) = aa2a6a1daafa3af66807cfe0bc77bfe1144a9a53df9a96bab52e3e575b3047ed
40
SHA256 (tensorflow/functools32-3.2.3-2.tar.gz) = f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d
35
SIZE (tensorflow/tensorflow-tensorflow-v1.14.0_GH0.tar.gz) = 41335204
41
SIZE (tensorflow/functools32-3.2.3-2.tar.gz) = 31171
42
SHA256 (tensorflow/v2.3.0.tar.gz) = 0f34838f2c8024a6765168227ba587b3687729ebf03dc912f88ff75c7aa9cfe8
43
SIZE (tensorflow/v2.3.0.tar.gz) = 564520
44
SHA256 (tensorflow/enum34-1.1.6.tar.gz) = 8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1
45
SIZE (tensorflow/enum34-1.1.6.tar.gz) = 40048
46
SHA256 (tensorflow/7a7e03f906aada0cf4b749b51213fe5784eeff84.tar.gz) = 599b89411df88b9e2be40b019e7ab0f7c9c10dd5ab1c948cd22e678cc8f8f352
47
SIZE (tensorflow/7a7e03f906aada0cf4b749b51213fe5784eeff84.tar.gz) = 50144723
48
SHA256 (tensorflow/fft2d.tgz) = ada7e99087c4ed477bfdf11413f2ba8db8a840ba9bbf8ac94f4f3972e2a7cec9
49
SIZE (tensorflow/fft2d.tgz) = 54434
50
SHA256 (tensorflow/1.9.2.tar.gz) = 77a402fb577b2e0e5d0bdc1cf9c65278915cdb25171e3452c68b6da8a561f8f0
51
SIZE (tensorflow/1.9.2.tar.gz) = 211341
52
SHA256 (tensorflow/giflib-5.2.1.tar.gz) = 31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd
53
SIZE (tensorflow/giflib-5.2.1.tar.gz) = 444187
54
SHA256 (tensorflow/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz) = 42b7ef406d5aa2d57a7b3b56fc44e8ad3011581692458a69958a911071efdcf2
55
SIZE (tensorflow/36dbc057604f00aacfc0288ddad57e3b21cfc1b8.tar.gz) = 44744
56
SHA256 (tensorflow/v0.11.5.tar.gz) = cc6ebbcd0a826eec1b8ce1f625ffe71b53ef3290f8192b6cae38412a958f4fd3
57
SIZE (tensorflow/v0.11.5.tar.gz) = 1984510
58
SHA256 (tensorflow/v1.6.37.tar.gz) = ca74a0dace179a8422187671aee97dd3892b53e168627145271cad5b5ac81307
59
SIZE (tensorflow/v1.6.37.tar.gz) = 1508805
60
SHA256 (tensorflow/v0.20.6.tar.gz) = 74675e93eef339ff3d9a9be95c15d0c7ad8736a5356c23428ab2e33dcdb8e3e1
61
SIZE (tensorflow/v0.20.6.tar.gz) = 1680815
62
SHA256 (tensorflow/tensorflow-tensorflow-v1.15.4_GH0.tar.gz) = e18c55e771ad136f9bf3a70ea8f0e2d36662b2ba7c890f9eaf7950554557c7fa
63
SIZE (tensorflow/tensorflow-tensorflow-v1.15.4_GH0.tar.gz) = 46210943
(-)science/py-tensorflow/files/bazelrc (-1 / +1 lines)
Lines 14-17 Link Here
14
build --define=PREFIX=%%LOCALBASE%%
14
build --define=PREFIX=%%LOCALBASE%%
15
build --define=LIBDIR=%%LOCALBASE%%/lib
15
build --define=LIBDIR=%%LOCALBASE%%/lib
16
16
17
build --config=noaws --config=nohdfs --config=noignite --config=nokafka
17
build --config=noaws --config=nohdfs --config=opt --linkopt=-lexecinfo --host_linkopt=-lexecinfo
(-)science/py-tensorflow/files/patch-WORKSPACE (+17 lines)
Line 0 Link Here
1
--- WORKSPACE.orig	2020-09-22 01:53:53 UTC
2
+++ WORKSPACE
3
@@ -2,6 +2,14 @@ workspace(name = "org_tensorflow")
4
 
5
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
6
 
7
+# Download the rules_docker repository at release v0.14.4
8
+http_archive(
9
+    name = "io_bazel_rules_docker",
10
+    sha256 = "1698624e878b0607052ae6131aa216d45ebb63871ec497f26c67455b34119c80",
11
+    strip_prefix = "rules_docker-0.15.0",
12
+    urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.15.0/rules_docker-v0.15.0.tar.gz"],
13
+)
14
+
15
 http_archive(
16
     name = "io_bazel_rules_closure",
17
     sha256 = "5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9",
(-)science/py-tensorflow/files/patch-tensorflow_compiler_mlir_lite_BUILD (+11 lines)
Line 0 Link Here
1
--- tensorflow/compiler/mlir/lite/BUILD.orig	2020-09-22 01:53:53 UTC
2
+++ tensorflow/compiler/mlir/lite/BUILD
3
@@ -203,7 +203,7 @@ cc_library(
4
     hdrs = [
5
         "transforms/passes.h",
6
     ],
7
-    copts = ["-std=c++14"],
8
+    copts = ["-std=c++14 -lexecinfo"],
9
     deps = [
10
         ":tensorflow_lite",
11
         ":validators",
(-)science/py-tensorflow/files/patch-tensorflow_compiler_mlir_lite_quantization_BUILD (+11 lines)
Line 0 Link Here
1
--- tensorflow/compiler/mlir/lite/quantization/BUILD.orig	2020-10-22 17:50:49 UTC
2
+++ tensorflow/compiler/mlir/lite/quantization/BUILD
3
@@ -33,7 +33,7 @@ cc_library(
4
     hdrs = [
5
         "quantization_utils.h",
6
     ],
7
-    copts = ["-std=c++14"],
8
+    copts = ["-std=c++14 -lexecinfo"],
9
     deps = [
10
         "@com_google_absl//absl/memory",
11
         "@llvm//:support",
(-)science/py-tensorflow/files/patch-tensorflow_contrib_boosted__trees_build (-24 lines)
Lines 1-24 Link Here
1
--- tensorflow/contrib/boosted_trees/BUILD.orig	2019-07-07 15:35:52.034885000 +0100
2
+++ tensorflow/contrib/boosted_trees/BUILD	2019-07-07 15:50:02.149725000 +0100
3
@@ -27,6 +27,10 @@
4
         ":stats_accumulator_ops_kernels",
5
         ":training_ops_kernels",
6
     ],
7
+    linkopts = select({
8
+        "//tensorflow:freebsd": ["-lm", "-lexecinfo",],
9
+    }),
10
+
11
     alwayslink = 1,
12
 )
13
 
14
@@ -40,6 +44,10 @@
15
         ":stats_accumulator_ops_op_lib",
16
         ":training_ops_op_lib",
17
     ],
18
+    linkopts = select({
19
+        "//tensorflow:freebsd": ["-lm", "-lexecinfo",],
20
+    }),
21
+
22
 )
23
 
24
 py_library(
(-)science/py-tensorflow/files/patch-tensorflow_contrib_ignite_kernels_client_ignite__plain__client__unix.cc (-13 lines)
Lines 1-13 Link Here
1
--- tensorflow/contrib/ignite/kernels/client/ignite_plain_client_unix.cc.orig	2019-07-07 13:40:21.593527000 +0100
2
+++ tensorflow/contrib/ignite/kernels/client/ignite_plain_client_unix.cc	2019-07-07 13:40:59.586340000 +0100
3
@@ -20,6 +20,10 @@
4
 #include <sys/socket.h>
5
 #include <unistd.h>
6
 
7
+#ifdef __FreeBSD__
8
+#include <netinet/in.h>
9
+#endif
10
+
11
 #include <iostream>
12
 #include <map>
13
 
(-)science/py-tensorflow/files/patch-tensorflow_contrib_makefile_makefile (-49 lines)
Lines 1-49 Link Here
1
--- ./tensorflow/contrib/makefile/Makefile.orig	2019-07-08 16:51:36.748365000 +0100
2
+++ ./tensorflow/contrib/makefile/Makefile	2019-07-08 16:51:21.774903000 +0100
3
@@ -60,12 +60,15 @@
4
 	ifeq ($(UNAME_S),Linux)
5
 	        HOST_OS := LINUX
6
 	endif
7
+        ifeq ($(UNAME_S),FreeBSD)
8
+                HOST_OS := FREEBSD
9
+        endif
10
 	ifeq ($(UNAME_S),Darwin)
11
 		HOST_OS := OSX
12
 	endif
13
 endif
14
 
15
-HOST_ARCH := $(shell if [[ $(shell uname -m) =~ i[345678]86 ]]; then echo x86_32; else echo $(shell uname -m); fi)
16
+HOST_ARCH := $(shell if uname -m | grep -q i[345678]86; then echo x86_32; elif uname -m | grep -q amd64; then echo x86_64; else uname -m; fi)
17
 
18
 # Where compiled objects are stored.
19
 HOST_OBJDIR := $(MAKEFILE_DIR)/gen/host_obj/
20
@@ -111,6 +114,9 @@
21
 ifeq ($(HOST_OS),LINUX)
22
 	HOST_LIBS += -ldl -lpthread
23
 endif
24
+ifeq ($(HOST_OS),FREEBSD)
25
+        HOST_LIBS += -lexecinfo -lpthread
26
+endif
27
 
28
 # If we're on a Pi, link in pthreads and dl
29
 ifeq ($(HOST_OS),PI)
30
@@ -248,7 +254,7 @@
31
 	LDFLAGS += -all_load
32
 endif
33
 # Make sure that we don't strip global constructors on Linux.
34
-ifeq ($(TARGET),LINUX)
35
+ifeq ($(TARGET),LINUX,FREEBSD)
36
 ifeq ($(HAS_GEN_HOST_PROTOC),true)
37
 	LIBFLAGS += -L$(MAKEFILE_DIR)/gen/protobuf-host/lib
38
 	export LD_LIBRARY_PATH=$(MAKEFILE_DIR)/gen/protobuf-host/lib
39
@@ -261,6 +267,10 @@
40
 ifeq ($(TARGET),LINUX)
41
 	LIBS += -ldl -lpthread
42
 endif
43
+ifeq ($(TARGET),FREEBSD)
44
+        LIBS += -lexecinfo -lpthread
45
+endif
46
+
47
 # If we're cross-compiling for the Raspberry Pi, use the right gcc.
48
 ifeq ($(TARGET),PI)
49
 	CXXFLAGS += $(ANDROID_TYPES) -DRASPBERRY_PI
(-)science/py-tensorflow/files/patch-tensorflow_core_BUILD (-17 / +8 lines)
Lines 1-24 Link Here
1
--- tensorflow/core/BUILD.orig	2019-06-18 23:48:23.000000000 +0100
1
--- tensorflow/core/BUILD.orig	2020-09-22 01:53:53 UTC
2
+++ tensorflow/core/BUILD	2019-07-14 09:27:38.471527000 +0100
2
+++ tensorflow/core/BUILD
3
@@ -2412,7 +2412,7 @@
3
@@ -2432,7 +2432,7 @@ cc_library(
4
     copts = tf_copts(),
4
     copts = tf_copts(),
5
     defines = LIB_INTERNAL_DEFINES,
5
     defines = LIB_INTERNAL_DEFINES,
6
     linkopts = select({
6
     linkopts = select({
7
-        "//tensorflow:freebsd": [],
7
-        "//tensorflow:freebsd": [],
8
+        "//tensorflow:freebsd": ["-lexecinfo",],
8
+        "//tensorflow:freebsd": ["-lexecinfo"],
9
         "//tensorflow:windows": [],
9
         "//tensorflow:windows": [],
10
         "//tensorflow:android": [],
10
         "//tensorflow:android": [],
11
         "//conditions:default": [
11
         "//conditions:default": [
12
@@ -2512,7 +2512,7 @@
12
@@ -2515,7 +2515,7 @@ cc_library(
13
     hdrs = ["lib/gif/gif_io.h"],
13
     hdrs = ["lib/gif/gif_io.h"],
14
     copts = tf_copts(),
14
     copts = tf_copts(),
15
     linkopts = select({
15
     linkopts = select({
16
-        "//tensorflow:freebsd": [],
16
-        "//tensorflow:freebsd": [],
17
+        "//tensorflow:freebsd": ["-lexecinfo",],
17
+        "//tensorflow:freebsd": ["-lexecinfo"],
18
         "//tensorflow:windows": [],
18
         "//tensorflow:windows": [],
19
         "//conditions:default": ["-ldl"],
19
         "//conditions:default": ["-ldl"],
20
     }),
20
     }),
21
@@ -2536,7 +2536,7 @@
21
@@ -2539,7 +2539,7 @@ cc_library(
22
     ],
22
     ],
23
     copts = tf_copts(),
23
     copts = tf_copts(),
24
     linkopts = select({
24
     linkopts = select({
Lines 27-42 Link Here
27
         "//tensorflow:windows": [],
27
         "//tensorflow:windows": [],
28
         "//conditions:default": ["-ldl"],
28
         "//conditions:default": ["-ldl"],
29
     }),
29
     }),
30
@@ -2566,7 +2566,7 @@
30
@@ -2907,7 +2907,7 @@ tf_cuda_library(
31
     ],
32
     copts = tf_copts(),
33
     linkopts = select({
34
-        "//tensorflow:freebsd": [],
35
+        "//tensorflow:freebsd": ["-lexecinfo",],
36
         "//tensorflow:windows": [],
37
         "//conditions:default": ["-ldl"],
38
     }),
39
@@ -2897,7 +2897,7 @@
40
     hdrs = FRAMEWORK_INTERNAL_PUBLIC_HEADERS,
31
     hdrs = FRAMEWORK_INTERNAL_PUBLIC_HEADERS,
41
     copts = tf_copts(),
32
     copts = tf_copts(),
42
     linkopts = select({
33
     linkopts = select({
(-)science/py-tensorflow/files/patch-tensorflow_core_platform_cloud_gcs__dns__cache.cc (-3 / +3 lines)
Lines 1-6 Link Here
1
--- tensorflow/core/platform/cloud/gcs_dns_cache.cc.orig	2019-06-18 23:48:23.000000000 +0100
1
--- tensorflow/core/platform/cloud/gcs_dns_cache.cc.orig	2020-01-07 16:57:39 UTC
2
+++ tensorflow/core/platform/cloud/gcs_dns_cache.cc	2019-07-06 18:15:09.827112000 +0100
2
+++ tensorflow/core/platform/cloud/gcs_dns_cache.cc
3
@@ -24,6 +24,11 @@
3
@@ -26,6 +26,11 @@ limitations under the License.
4
 #endif
4
 #endif
5
 #include <sys/types.h>
5
 #include <sys/types.h>
6
 
6
 
(-)science/py-tensorflow/files/patch-tensorflow_core_platform_default_build__config.bzl (-13 lines)
Lines 1-13 Link Here
1
--- tensorflow/core/platform/default/build_config.bzl.orig	2019-07-06 21:55:11.899673000 +0100
2
+++ tensorflow/core/platform/default/build_config.bzl	2019-07-06 21:56:04.571430000 +0100
3
@@ -796,9 +796,7 @@
4
         "//tensorflow:ios": [],
5
         "//tensorflow:windows": [],
6
         "//tensorflow:macos": [],
7
-        "//conditions:default": [
8
-            "@hwloc",
9
-        ],
10
+        "//tensorflow:freebsd": [],
11
     })
12
 
13
 def tf_additional_numa_copts():
(-)science/py-tensorflow/files/patch-tensorflow_core_platform_posix_env.cc (-31 lines)
Lines 1-31 Link Here
1
--- tensorflow/core/platform/posix/env.cc.orig	2019-06-18 23:48:23.000000000 +0100
2
+++ tensorflow/core/platform/posix/env.cc	2019-07-06 21:03:28.090735000 +0100
3
@@ -28,6 +28,10 @@
4
 #include <thread>
5
 #include <vector>
6
 
7
+#ifdef __FREEBSD__
8
+#include <pthread.h>
9
+#endif
10
+
11
 #include "tensorflow/core/lib/core/error_codes.pb.h"
12
 #include "tensorflow/core/platform/env.h"
13
 #include "tensorflow/core/platform/load_library.h"
14
@@ -113,7 +117,7 @@
15
     // Has to be casted to long first, else this error appears:
16
     // static_cast from 'pthread_t' (aka 'pthread *') to 'int32' (aka 'int')
17
     // is not allowed
18
-    return static_cast<int32>(static_cast<int64>(pthread_self()));
19
+    return static_cast<int32>((int64)(pthread_self()));
20
 #else
21
     return static_cast<int32>(pthread_self());
22
 #endif
23
@@ -129,7 +133,7 @@
24
         return true;
25
       }
26
     }
27
-#if defined(__ANDROID__) || defined(__EMSCRIPTEN__)
28
+#if defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__FreeBSD__)
29
     return false;
30
 #else
31
     char buf[100];
(-)science/py-tensorflow/files/patch-tensorflow_lite_experimental_micro_tools_make_targets_freebsd__makefile.inc (-2 / +2 lines)
Lines 1-5 Link Here
1
--- /dev/null	2019-07-08 14:38:21.999045000 +0100
1
--- tensorflow/lite/experimental/micro/tools/make/targets/freebsd_makefile.inc.orig	2020-10-22 03:18:00 UTC
2
+++ tensorflow/lite/experimental/micro/tools/make/targets/freebsd_makefile.inc	2019-07-08 14:37:33.196932000 +0100
2
+++ tensorflow/lite/experimental/micro/tools/make/targets/freebsd_makefile.inc
3
@@ -0,0 +1,10 @@
3
@@ -0,0 +1,10 @@
4
+# Settings for x86 on FreeBSD
4
+# Settings for x86 on FreeBSD
5
+ifeq ($(TARGET), freebsd)
5
+ifeq ($(TARGET), freebsd)
(-)science/py-tensorflow/files/patch-tensorflow_lite_python_interpreter__wrapper_BUILD (+19 lines)
Line 0 Link Here
1
--- tensorflow/lite/python/interpreter_wrapper/BUILD.orig	2020-09-22 01:53:53 UTC
2
+++ tensorflow/lite/python/interpreter_wrapper/BUILD
3
@@ -30,6 +30,8 @@ cc_library(
4
         "//tensorflow/lite/c:c_api_internal",
5
         "//tensorflow/lite/kernels:builtin_ops",
6
         "//third_party/python_runtime:headers",
7
+	"@com_google_absl//absl/strings",
8
+	"@com_google_absl//absl/base:core_headers",
9
         "@com_google_absl//absl/memory",
10
     ],
11
 )
12
@@ -63,5 +65,7 @@ tf_py_wrap_cc(
13
     deps = [
14
         ":interpreter_wrapper_lib",
15
         "//third_party/python_runtime:headers",
16
+	"@com_google_absl//absl/strings",
17
+	"@com_google_absl//absl/base:core_headers",
18
     ],
19
 )
(-)science/py-tensorflow/files/patch-tensorflow_lite_tools_make_targets_freebsd__makefile.inc (-2 / +2 lines)
Lines 1-5 Link Here
1
--- /dev/null	2019-07-08 14:12:50.536743000 +0100
1
--- tensorflow/lite/tools/make/targets/freebsd_makefile.inc.orig	2020-10-22 03:18:00 UTC
2
+++ tensorflow/lite/tools/make/targets/freebsd_makefile.inc	2019-07-08 14:11:35.495868000 +0100
2
+++ tensorflow/lite/tools/make/targets/freebsd_makefile.inc
3
@@ -0,0 +1,16 @@
3
@@ -0,0 +1,16 @@
4
+# Settings for FreeBSD.
4
+# Settings for FreeBSD.
5
+ifeq ($(TARGET), freebsd)
5
+ifeq ($(TARGET), freebsd)
(-)science/py-tensorflow/files/patch-tensorflow_lite_tools_optimize_BUILD (+20 lines)
Line 0 Link Here
1
--- tensorflow/lite/tools/optimize/BUILD.orig	2020-10-22 18:40:46 UTC
2
+++ tensorflow/lite/tools/optimize/BUILD
3
@@ -25,6 +25,8 @@ cc_library(
4
         "//tensorflow/lite/kernels/internal:types",
5
         "//tensorflow/lite/schema:schema_fbs",
6
         "//third_party/eigen3",
7
+	"@com_google_absl//absl/strings",
8
+	"@com_google_absl//absl/base:core_headers",
9
         "@com_google_absl//absl/memory",
10
     ],
11
 )
12
@@ -39,6 +41,8 @@ cc_library(
13
         "//tensorflow/lite/kernels/internal:tensor_utils",
14
         "//tensorflow/lite/kernels/internal:types",
15
         "//tensorflow/lite/schema:schema_fbs",
16
+	"@com_google_absl//absl/strings",
17
+	"@com_google_absl//absl/base:core_headers",
18
         "@com_google_absl//absl/memory",
19
     ],
20
 )
(-)science/py-tensorflow/files/patch-tensorflow_lite_tools_optimize_calibration_BUILD (+31 lines)
Line 0 Link Here
1
--- tensorflow/lite/tools/optimize/calibration/BUILD.orig	2020-09-22 01:53:53 UTC
2
+++ tensorflow/lite/tools/optimize/calibration/BUILD
3
@@ -24,7 +24,10 @@ cc_library(
4
         "//tensorflow/lite/core/api",
5
         "//tensorflow/lite/kernels:builtin_ops",
6
         "//tensorflow/lite/schema:schema_fbs",
7
+	"@com_google_absl//absl/strings",
8
         "@com_google_absl//absl/memory",
9
+	"@com_google_absl//absl/base",
10
+	"@com_google_absl//absl/types:any",
11
         "@flatbuffers",
12
     ],
13
 )
14
@@ -62,6 +65,9 @@ cc_library(
15
         "//tensorflow/lite:framework",
16
         "//tensorflow/lite/core/api",
17
         "@com_google_absl//absl/memory",
18
+	"@com_google_absl//absl/base",
19
+	"@com_google_absl//absl/strings",
20
+	"@com_google_absl//absl/types:any",
21
     ],
22
 )
23
 
24
@@ -84,6 +90,7 @@ cc_library(
25
         ":calibration_logger",
26
         "//tensorflow/lite:framework",
27
         "@com_google_absl//absl/memory",
28
+	"@com_google_absl//absl/base:core_headers",
29
     ],
30
 )
31
 
(-)science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl (-13 / +13 lines)
Lines 1-14 Link Here
1
--- tensorflow/tensorflow.bzl.orig	2019-06-18 23:48:23.000000000 +0100
1
--- tensorflow/tensorflow.bzl.orig	2020-09-22 01:53:53 UTC
2
+++ tensorflow/tensorflow.bzl	2019-07-13 13:57:17.579194000 +0100
2
+++ tensorflow/tensorflow.bzl
3
@@ -287,6 +287,7 @@
3
@@ -289,6 +289,7 @@ def tf_copts(
4
             "-Iexternal/gemmlowp",
4
             "-Wno-sign-compare",
5
             "-Wno-sign-compare",
5
             "-fno-exceptions",
6
             "-ftemplate-depth=900",
6
             "-ftemplate-depth=900",
7
+	    "-I%%LOCALBASE%%/include",
7
+	    "-I/usr/local/include",
8
         ]) +
8
         ]) +
9
         (if_not_windows(["-fno-exceptions"]) if not allow_exceptions else []) +
9
         if_cuda(["-DGOOGLE_CUDA=1"]) +
10
         if_cuda(["-DGOOGLE_CUDA=1"]) +
10
         if_tensorrt(["-DGOOGLE_TENSORRT=1"]) +
11
@@ -628,7 +629,7 @@ def tf_cc_binary(
11
@@ -603,7 +604,7 @@
12
                 ],
12
                 ],
13
             ),
13
             ),
14
             data = depset(data + added_data_deps),
14
             data = depset(data + added_data_deps),
Lines 17-23 Link Here
17
             visibility = visibility,
17
             visibility = visibility,
18
             **kwargs
18
             **kwargs
19
         )
19
         )
20
@@ -657,7 +658,7 @@
20
@@ -693,7 +694,7 @@ def tf_gen_op_wrapper_cc(
21
     tf_cc_binary(
21
     tf_cc_binary(
22
         name = tool,
22
         name = tool,
23
         copts = tf_copts(),
23
         copts = tf_copts(),
Lines 26-41 Link Here
26
         linkstatic = 1,  # Faster to link this one-time-use binary dynamically
26
         linkstatic = 1,  # Faster to link this one-time-use binary dynamically
27
         deps = [op_gen] + deps,
27
         deps = [op_gen] + deps,
28
     )
28
     )
29
@@ -839,7 +840,7 @@
29
@@ -878,7 +879,7 @@ def tf_gen_op_wrapper_py(
30
     tf_cc_binary(
30
     tf_cc_binary(
31
         name = tool_name,
31
         name = tool_name,
32
         copts = tf_copts(),
32
         copts = tf_copts(),
33
-        linkopts = if_not_windows(["-lm", "-Wl,-ldl"]) + cc_linkopts,
33
-        linkopts = if_not_windows(["-lm", "-Wl,-ldl"]) + cc_linkopts,
34
+        linkopts = if_not_windows(["-L%%LOCALBASE%%/lib", "-lm", "-Wl, -lexecinfo"]) + cc_linkopts,
34
+        linkopts = if_not_windows(["-L/usr/local/lib", "-lm", "-Wl, -lexecinfo"]) + cc_linkopts,
35
         linkstatic = 1,  # Faster to link this one-time-use binary dynamically
35
         linkstatic = 1,  # Faster to link this one-time-use binary dynamically
36
         visibility = [clean_dep("//tensorflow:internal")],
36
         visibility = [clean_dep("//tensorflow:internal")],
37
         deps = ([
37
         deps = ([
38
@@ -954,8 +955,9 @@
38
@@ -992,8 +993,9 @@ def tf_cc_test(
39
             "//conditions:default": [
39
             "//conditions:default": [
40
                 "-lpthread",
40
                 "-lpthread",
41
                 "-lm",
41
                 "-lm",
Lines 46-52 Link Here
46
         deps = deps + tf_binary_dynamic_kernel_deps(kernels) + if_mkl_ml(
46
         deps = deps + tf_binary_dynamic_kernel_deps(kernels) + if_mkl_ml(
47
             [
47
             [
48
                 clean_dep("//third_party/mkl:intel_binary_blob"),
48
                 clean_dep("//third_party/mkl:intel_binary_blob"),
49
@@ -1103,7 +1105,7 @@
49
@@ -1140,7 +1142,7 @@ def tf_gpu_only_cc_test(
50
         ]) + if_rocm_is_configured([
50
         ]) + if_rocm_is_configured([
51
             clean_dep("//tensorflow/core:gpu_lib"),
51
             clean_dep("//tensorflow/core:gpu_lib"),
52
         ]),
52
         ]),
Lines 55-61 Link Here
55
         linkstatic = linkstatic or select({
55
         linkstatic = linkstatic or select({
56
             # cc_tests with ".so"s in srcs incorrectly link on Darwin
56
             # cc_tests with ".so"s in srcs incorrectly link on Darwin
57
             # unless linkstatic=1.
57
             # unless linkstatic=1.
58
@@ -1784,6 +1786,7 @@
58
@@ -1820,6 +1822,7 @@ def tf_custom_op_library(name, srcs = [], gpu_srcs = [
59
         linkopts = linkopts + select({
59
         linkopts = linkopts + select({
60
             "//conditions:default": [
60
             "//conditions:default": [
61
                 "-lm",
61
                 "-lm",
(-)science/py-tensorflow/files/patch-tensorflow_workspace.bzl (-7 / +16 lines)
Lines 1-10 Link Here
1
--- tensorflow/workspace.bzl.orig	2019-07-11 15:46:44.460265000 +0100
1
--- tensorflow/workspace.bzl.orig	2020-09-22 01:53:53 UTC
2
+++ tensorflow/workspace.bzl	2019-07-11 15:47:14.104299000 +0100
2
+++ tensorflow/workspace.bzl
3
@@ -346,6 +346,7 @@
3
@@ -570,12 +570,12 @@ def tf_repositories(path_prefix = "", tf_repo_name = "
4
     tf_http_archive(
5
         name = "jsoncpp_git",
6
         build_file = clean_dep("//third_party:jsoncpp.BUILD"),
7
-        sha256 = "c49deac9e0933bcb7044f08516861a2d560988540b23de2ac1ad443b219afdb6",
8
-        strip_prefix = "jsoncpp-1.8.4",
9
+        sha256 = "77a402fb577b2e0e5d0bdc1cf9c65278915cdb25171e3452c68b6da8a561f8f0",
10
+        strip_prefix = "jsoncpp-1.9.2",
11
         system_build_file = clean_dep("//third_party/systemlibs:jsoncpp.BUILD"),
12
         urls = [
13
-            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz",
14
-            "https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz",
15
+            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/open-source-parsers/jsoncpp/archive/1.9.2.tar.gz",
16
+            "https://github.com/open-source-parsers/jsoncpp/archive/1.9.2.tar.gz",
4
         ],
17
         ],
5
         sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1",
6
         build_file = clean_dep("//third_party:enum34.BUILD"),
7
+	system_build_file = clean_dep("//third_party/systemlibs:enum34.BUILD"),
8
         strip_prefix = "enum34-1.1.6/enum",
9
     )
18
     )
10
 
19
 
(-)science/py-tensorflow/files/patch-third__party_jsoncpp.BUILD (+16 lines)
Line 0 Link Here
1
--- third_party/jsoncpp.BUILD.orig	2020-10-22 16:09:57 UTC
2
+++ third_party/jsoncpp.BUILD
3
@@ -12,11 +12,12 @@ cc_library(
4
         "src/lib_json/json_writer.cpp",
5
     ],
6
     hdrs = [
7
+    	"include/json/allocator.h",
8
         "include/json/autolink.h",
9
         "include/json/config.h",
10
-        "include/json/features.h",
11
         "include/json/forwards.h",
12
         "include/json/json.h",
13
+	"include/json/json_features.h",
14
         "include/json/reader.h",
15
         "include/json/value.h",
16
         "include/json/version.h",
(-)science/py-tensorflow/files/patch-third__party_systemlibs_jsoncpp.build (-23 lines)
Lines 1-23 Link Here
1
--- third_party/systemlibs/jsoncpp.BUILD.orig	2019-06-19 00:48:23.000000000 +0200
2
+++ third_party/systemlibs/jsoncpp.BUILD	2020-01-13 00:12:53.470881000 +0100
3
@@ -7,8 +7,10 @@
4
 
5
 HEADERS = [
6
     "include/json/autolink.h",
7
+    "include/json/allocator.h",
8
+    "include/json/assertions.h",
9
     "include/json/config.h",
10
-    "include/json/features.h",
11
+    "include/json/json_features.h",
12
     "include/json/forwards.h",
13
     "include/json/json.h",
14
     "include/json/reader.h",
15
@@ -23,7 +25,7 @@
16
     cmd = """
17
       for i in $(OUTS); do
18
         i=$${i##*/}
19
-        ln -sf $(INCLUDEDIR)/jsoncpp/json/$$i $(@D)/include/json/$$i
20
+        ln -sf $(INCLUDEDIR)/json/$$i $(@D)/include/json/$$i
21
       done
22
     """,
23
 )
(-)science/py-tensorflow/files/patch-third__party_systemlibs_protobuf.bzl (-4 / +4 lines)
Lines 1-11 Link Here
1
--- third_party/systemlibs/protobuf.bzl.orig	2019-07-26 12:28:57.790848000 +0100
1
--- third_party/systemlibs/protobuf.bzl.orig	2020-01-07 16:57:39 UTC
2
+++ third_party/systemlibs/protobuf.bzl	2019-07-26 12:29:42.978059000 +0100
2
+++ third_party/systemlibs/protobuf.bzl
3
@@ -76,7 +76,7 @@
3
@@ -76,7 +76,7 @@ def _proto_gen_impl(ctx):
4
     source_dir = _SourceDir(ctx)
4
     source_dir = _SourceDir(ctx)
5
     gen_dir = _GenDir(ctx)
5
     gen_dir = _GenDir(ctx)
6
     if source_dir:
6
     if source_dir:
7
-        import_flags = ["-I" + source_dir, "-I" + gen_dir]
7
-        import_flags = ["-I" + source_dir, "-I" + gen_dir]
8
+        import_flags = ["-I%%LOCALBASE%%/include", "-I" + source_dir, "-I" + gen_dir]
8
+        import_flags = ["-I/usr/local/include", "-I" + source_dir, "-I" + gen_dir]
9
     else:
9
     else:
10
         import_flags = ["-I."]
10
         import_flags = ["-I."]
11
 
11
 
(-)science/py-tensorflow/files/patch-third__party_systemlibs_syslibs__configure.bzl (-10 lines)
Lines 1-10 Link Here
1
--- third_party/systemlibs/syslibs_configure.bzl.orig	2019-07-11 15:43:32.713320000 +0100
2
+++ third_party/systemlibs/syslibs_configure.bzl	2019-07-11 15:43:54.448882000 +0100
3
@@ -21,6 +21,7 @@
4
     "curl",
5
     "cython",
6
     "double_conversion",
7
+    "enum34_archive",
8
     "flatbuffers",
9
     "gast_archive",
10
     "gif_archive",
(-)science/py-tensorflow/files/patch-third_party_gpus_rocm_configure.bzl (-11 lines)
Lines 1-11 Link Here
1
--- third_party/gpus/rocm_configure.bzl.orig	2019-06-18 23:48:23.000000000 +0100
2
+++ third_party/gpus/rocm_configure.bzl	2019-07-06 21:35:41.445803000 +0100
3
@@ -308,7 +308,7 @@
4
     Returns:
5
       The platform-specific name of the library.
6
     """
7
-    if cpu_value in ("Linux"):
8
+    if cpu_value in ("Linux", "FreeBSD"):
9
         if static:
10
             return "lib%s.a" % lib
11
         else:
(-)science/py-tensorflow-estimator/Makefile (+50 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	tensorflow-estimator
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	1.14.0
6
PORTREVISION=	0
7
CATEGORIES=	science python
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
10
MAINTAINER=	amzo1337@gmail.com
11
COMMENT=	TensorFlow Estimator, an API to simplify machine learning programming
12
13
LICENSE=	APACHE20
14
15
BUILD_DEPENDS=	bash:shells/bash \
16
		bazel:devel/bazel029 \
17
		${PYTHON_PKGNAMEPREFIX}tensorflow>=1.15.0:science/py-tensorflow@${PY_FLAVOR}
18
19
USES=		python shebangfix
20
SHEBANG_GLOB=	*.py
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	tensorflow
23
GH_PROJECT=	estimator
24
25
NO_ARCH=	yes
26
27
BAZEL_BOOT=	--output_user_root=${WRKDIR}/bazel_out
28
29
post-patch:
30
	@${REINPLACE_CMD} "s#%%PYTHON%%#${PYTHON_CMD}#" \
31
		${WRKSRC}/tensorflow_estimator/tools/pip_package/build_pip_package.sh
32
33
do-build:
34
	@cd ${WRKSRC} && \
35
		bazel ${BAZEL_BOOT} build -s \
36
			//tensorflow_estimator/tools/pip_package:build_pip_package
37
	@cd ${WRKSRC} && ${SETENV} TMPDIR=${WRKDIR} && \
38
		bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package \
39
			${WRKDIR}/whl
40
41
do-install:
42
	@${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}
43
	@${MKDIR} ${WRKDIR}/tmp
44
	@${UNZIP_NATIVE_CMD} -d ${WRKDIR}/tmp ${WRKDIR}/whl/${PORTNAME:S/-/_/}-${PORTVERSION}-*.whl
45
	cd ${WRKDIR}/tmp && ${COPYTREE_SHARE} ${PORTNAME:S/-/_/} \
46
		${STAGEDIR}${PYTHON_SITELIBDIR}
47
	cd ${WRKDIR}/tmp && ${COPYTREE_SHARE} ${PORTNAME:S/-/_/}-${PORTVERSION}.dist-info \
48
		${STAGEDIR}${PYTHON_SITELIBDIR}
49
50
.include <bsd.port.mk>
(-)science/py-tensorflow-estimator/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1603427882
2
SHA256 (tensorflow-estimator-v1.14.0_GH0.tar.gz) = 1f0b80b8067a52cc33bbe390d34791eb3e12453c506daa1b4c8fc07fbf962d9f
3
SIZE (tensorflow-estimator-v1.14.0_GH0.tar.gz) = 670750
(-)science/py-tensorflow-estimator/files/patch-tensorflow__estimator_tools_pip__package_build__pip__package.sh (+20 lines)
Line 0 Link Here
1
--- tensorflow_estimator/tools/pip_package/build_pip_package.sh.orig	2019-06-11 17:18:02 UTC
2
+++ tensorflow_estimator/tools/pip_package/build_pip_package.sh
3
@@ -38,7 +38,7 @@ function prepare_src() {
4
 
5
   # Verifies all expected files are in pip.
6
   # Creates init files in all directory in pip.
7
-  python tensorflow_estimator/tools/pip_package/create_pip_helper.py --pip-root "${TMPDIR}/tensorflow_estimator/" --bazel-root "./tensorflow_estimator"
8
+  %%PYTHON%% tensorflow_estimator/tools/pip_package/create_pip_helper.py --pip-root "${TMPDIR}/tensorflow_estimator/" --bazel-root "./tensorflow_estimator"
9
 }
10
 
11
 function build_wheel() {
12
@@ -53,7 +53,7 @@ function build_wheel() {
13
 
14
   pushd ${TMPDIR} > /dev/null
15
   echo $(date) : "=== Building wheel"
16
-  "${PYTHON_BIN_PATH:-python}" setup.py bdist_wheel --universal --project_name $PROJECT_NAME
17
+  %%PYTHON%% setup.py bdist_wheel --universal --project_name $PROJECT_NAME
18
   mkdir -p ${DEST}
19
   cp dist/* ${DEST}
20
   popd > /dev/null
(-)science/py-tensorflow-estimator/pkg-descr (+5 lines)
Line 0 Link Here
1
TensorFlow Estimator is a high-level TensorFlow API that greatly
2
simplifies machine learning programming. Estimators encapsulate
3
training, evaluation, prediction, and exporting for your model.
4
5
WWW: https://github.com/tensorflow/estimator
(-)science/py-tensorflow-estimator/pkg-plist (+133 lines)
Line 0 Link Here
1
%%PYTHON_SITELIBDIR%%/tensorflow_estimator-1.14.0.dist-info/DESCRIPTION.rst
2
%%PYTHON_SITELIBDIR%%/tensorflow_estimator-1.14.0.dist-info/METADATA
3
%%PYTHON_SITELIBDIR%%/tensorflow_estimator-1.14.0.dist-info/RECORD
4
%%PYTHON_SITELIBDIR%%/tensorflow_estimator-1.14.0.dist-info/WHEEL
5
%%PYTHON_SITELIBDIR%%/tensorflow_estimator-1.14.0.dist-info/metadata.json
6
%%PYTHON_SITELIBDIR%%/tensorflow_estimator-1.14.0.dist-info/top_level.txt
7
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/__init__.py
8
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/__init__.py
9
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v1/__init__.py
10
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v1/estimator/__init__.py
11
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v1/estimator/experimental/__init__.py
12
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v1/estimator/export/__init__.py
13
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v1/estimator/inputs/__init__.py
14
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v1/estimator/tpu/__init__.py
15
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v1/v1.py
16
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v2/__init__.py
17
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v2/estimator/__init__.py
18
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v2/estimator/experimental/__init__.py
19
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v2/estimator/export/__init__.py
20
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v2/estimator/inputs/__init__.py
21
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/_api/v2/v2.py
22
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/__init__.py
23
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/__init__.py
24
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/__init__.py
25
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/__init__.py
26
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/boosted_trees.py
27
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/dnn_with_layer_annotations.py
28
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/export.py
29
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/exporter.py
30
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/extenders.py
31
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/head.py
32
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/logit_fns.py
33
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/multi_head.py
34
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/replicate_model_fn.py
35
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/rnn.py
36
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/rnn_v2.py
37
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/contrib/estimator/python/estimator/saved_model_estimator.py
38
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/__init__.py
39
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/__init__.py
40
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/__init__.py
41
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v1/__init__.py
42
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v1/estimator/__init__.py
43
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v1/estimator/experimental/__init__.py
44
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v1/estimator/export/__init__.py
45
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v1/estimator/inputs/__init__.py
46
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v1/estimator/tpu/__init__.py
47
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v1/v1.py
48
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v2/__init__.py
49
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v2/estimator/__init__.py
50
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v2/estimator/experimental/__init__.py
51
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v2/estimator/export/__init__.py
52
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v2/estimator/inputs/__init__.py
53
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/api/_v2/v2.py
54
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/__init__.py
55
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/baseline.py
56
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/boosted_trees.py
57
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/boosted_trees_utils.py
58
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/dnn.py
59
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/dnn_linear_combined.py
60
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/dnn_testing_utils.py
61
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/head.py
62
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/kmeans.py
63
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/linear.py
64
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/linear_optimizer/__init__.py
65
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/linear_optimizer/python/__init__.py
66
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/linear_optimizer/python/utils/__init__.py
67
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/linear_optimizer/python/utils/sdca_ops.py
68
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/linear_optimizer/python/utils/sharded_mutable_dense_hashtable.py
69
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/linear_testing_utils.py
70
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/metric_keys.py
71
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/optimizers.py
72
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/parsing_utils.py
73
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/prediction_keys.py
74
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/saved_model_estimator.py
75
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/__init__.py
76
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/ar_model.py
77
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/estimators.py
78
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/feature_keys.py
79
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/head.py
80
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/math_utils.py
81
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/model.py
82
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/model_utils.py
83
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/saved_model_utils.py
84
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/timeseries/state_management.py
85
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/v1/__init__.py
86
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/v1/dnn_testing_utils_v1.py
87
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/canned/v1/linear_testing_utils_v1.py
88
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/early_stopping.py
89
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/estimator.py
90
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/estimator_lib.py
91
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/export/__init__.py
92
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/export/export.py
93
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/export/export_lib.py
94
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/export/export_output.py
95
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/export/function.py
96
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/exporter.py
97
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/extenders.py
98
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/gc.py
99
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/__init__.py
100
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/base_head.py
101
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/binary_class_head.py
102
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/head_utils.py
103
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/multi_class_head.py
104
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/multi_head.py
105
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/multi_label_head.py
106
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/regression_head.py
107
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/head/sequential_head.py
108
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/hooks/__init__.py
109
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/hooks/basic_session_run_hooks.py
110
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/hooks/fake_summary_writer.py
111
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/hooks/hooks.py
112
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/hooks/session_run_hook.py
113
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/inputs/__init__.py
114
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/inputs/inputs.py
115
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/inputs/numpy_io.py
116
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/inputs/pandas_io.py
117
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/inputs/queues/__init__.py
118
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/inputs/queues/feeding_functions.py
119
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/inputs/queues/feeding_queue_runner.py
120
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/keras.py
121
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/mode_keys.py
122
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/model_fn.py
123
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/run_config.py
124
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/__init__.py
125
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/_tpu_estimator_embedding.py
126
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/error_handling.py
127
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/iteration_count_estimator.py
128
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/tpu_config.py
129
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/tpu_context.py
130
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py
131
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/tpu/util.py
132
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/training.py
133
%%PYTHON_SITELIBDIR%%/tensorflow_estimator/python/estimator/util.py

Return to bug 250646