Commit Graph

36 Commits

Author SHA1 Message Date
TensorFlower Gardener
0277e80375 Merge pull request from perfinion:systemlibs-pybind
PiperOrigin-RevId: 305598649
Change-Id: I0a7845b01a7d0cb078d72e481ce640fc84977e9e
2020-04-08 18:48:06 -07:00
Jason Zaman
c85b5d0c17 systemlibs: unbundle astunparse
Signed-off-by: Jason Zaman <jason@perfinion.com>
2020-04-08 03:47:54 +08:00
Jason Zaman
dc86bb5296 systemlibs: unbundle pybind11
If pybind11 is installed on the system its headers are already captured
by @local_config_python//:python_headers, so the system lib only needs
to depend on that.

When installed correctly, includes should be #include "pybind11/...",
the bundled pybind11 is based off the source repo which does not match
the install paths. Use bazels strip_include_prefix to align the bundled
headers correctly.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2020-04-08 03:38:38 +08:00
A. Unique TensorFlower
f396035891 Upgrade and rename external dependency grpc in workspace for bazel.
Fixes 

Downstream projects depending on TensorFlow: If bazel complains, please substitute `@zlib_archive` with `@zlib`, and `@grpc` with `@com_github_grpc_grpc` in WORKPLACE.

PiperOrigin-RevId: 295824868
Change-Id: If2259d59e9d82543369e5670916b1398374c9889
2020-02-18 14:40:26 -08:00
Mihai Maruseac
841006fa29
Merge branch 'master' into fix-jpeg-syslib 2020-01-16 09:21:57 -08:00
Christian Goll
65a639fafb fix libjpeg_turbo in valid names 2020-01-16 15:18:35 +01:00
Francois Chollet
23c3bdaacd Fold Keras Applications into tf.keras, since it is no longer necessary to share
the implementation of Keras Applications across tf.keras and multi-backend
Keras.

PiperOrigin-RevId: 285302893
Change-Id: I06084c6827df651c68547c488e9fcad908d36796
2019-12-12 17:09:51 -08:00
A. Unique TensorFlower
c51b47f8ea Fold Keras Applications into tf.keras, since it is no longer necessary to share
the implementation of Keras Applications across tf.keras and multi-backend
Keras.

PiperOrigin-RevId: 285107804
Change-Id: I8cb04dc0bb665d2b51c3f41a23c2226d2ac4a29f
2019-12-11 19:05:32 -08:00
Francois Chollet
f63a8fd801 Fold Keras Applications into tf.keras, since it is no longer necessary to share
the implementation of Keras Applications across tf.keras and multi-backend
Keras.

PiperOrigin-RevId: 285084218
Change-Id: I27f574cae7476dda0161759470663ee89f3b4df6
2019-12-11 16:18:48 -08:00
Brian Zhao
1754a063ea Simplifying png library header, and creating png build target under tensorflow/core/platform.
PiperOrigin-RevId: 272340946
2019-10-01 23:48:15 -07:00
Brian Zhao
d9326ade8a Simplifying gif library header, and creating gif build target under tensorflow/core/platform.
PiperOrigin-RevId: 272136138
2019-10-01 01:32:02 -07:00
Jason Zaman
b8f8d081be systemlibs: unbundle functools32
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-09-15 13:38:32 +08:00
Christian Sigg
9621ac4de0 Remove # -*- Python -*- from Starlark files.
PiperOrigin-RevId: 268048675
2019-09-09 12:27:18 -07:00
Jason Zaman
e0d2a39de7 systemlibs: unbundle enum34
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-08-04 14:41:53 +08:00
Anudhyan Boral
8b01b9c509 Add opt_einsum to TensorFlow dependencies.
This library would be used for improving tf.einsum's performance through contraction path optimization.

PiperOrigin-RevId: 255342691
2019-06-27 00:21:24 -07:00
Mihai Maruseac
338c2f269b Cleanup usage of the protobuf workspace. See
PiperOrigin-RevId: 254021621
2019-06-19 10:36:33 -07:00
A. Unique TensorFlower
0b19b8237a Undo failed attempts at including kissfft
PiperOrigin-RevId: 245315183
2019-04-25 16:02:44 -07:00
A. Unique TensorFlower
02badbcaba Add kissfft license back and include it in the "VALID_LIBS" list in syslibs_configure.bzl.oss
PiperOrigin-RevId: 245175338
2019-04-24 22:30:18 -07:00
Jason Zaman
c0f97fb6e5 systemlibs: Add pasta to enabled syslibs
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-04-16 01:10:24 +08:00
Jason Zaman
00201d244b systemlibs: unbundle hwloc
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-04-16 01:10:24 +08:00
Jason Zaman
64a71153f5 systemlibs: unbundle wrapt
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-04-16 01:10:24 +08:00
TensorFlower Gardener
c0627e1f71 Merge pull request from perfinion:unbundle
PiperOrigin-RevId: 224869113
2018-12-10 13:19:15 -08:00
Jason Zaman
d6decf3b9a systemlibs: Unbundle protobuf
Use system_link_files for protobuf.bzl. The protobuf.bzl file is taken
verbatim from the protobuf repo. This version of protobuf.bzl will only
be used when opting into using the system version of protobuf and is off
by default.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-12-04 21:43:14 +08:00
Jason Zaman
900762cd4b systemlibs: unbundle keras_applications
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-12-04 21:40:12 +08:00
Jason Zaman
7a138d9cce systemlibs: unbundle icu 2018-10-06 21:24:34 +08:00
Ayush Dubey
52574f9527 Remove jemalloc build files and dead configuration options.
PiperOrigin-RevId: 215291195
2018-10-01 15:33:13 -07:00
Jason Zaman
f5d29a57ca systemlibs: unbundle gast 2018-09-22 10:31:27 +08:00
Jason Zaman
f8c1a3d980 systemlibs: unbundle googleapis
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-22 10:31:27 +08:00
Jason Zaman
ed5578687b systemlibs: unbundle google_cloud_cpp
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-22 10:31:27 +08:00
Jason Zaman
206d46704e systemlibs: unbundle absl_py dependency
absl_py has rules in many dirs so this uses system_link_files to put
files in the right place.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-22 10:31:27 +08:00
Jason Zaman
57b2fbb598 systemlibs: Unbundle BoringSSL dependency
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-22 10:31:26 +08:00
Jason Zaman
36c568f1fd systemlibs: Unbundle double_conversion library
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-22 10:31:26 +08:00
Yifei Feng
5198cb8b3d PR : nsync dep updates
Please approve this CL. It will be submitted automatically, and its GitHub pull request will be marked as merged.

Imported from GitHub PR 

A new version of nsync is released, this updates the workspace.bzl and adds nsync to the libs that can be unbundled. I've packaged nsync on Gentoo Linux and tested the full unbundled build.

The CMake build is also updated to the latest version, the patch is no longer required and is removed. I have tested the cmake build on my machine but the CI needs to test windows since I can't.

The last commits update ./configure to handle adding TF_SYSTEM_LIBS and an option to disable stripping.

@m3bm3b, can you review too?

Copybara import of the project:

  - 3d224b29fcf699b84cf538e2d16e3dd4e78e6a91 workspace: update nsync dep to 1.20.1 by Jason Zaman <jason@perfinion.com>
  - 34536b88bedc5a83ad939438a49a3cc53aea210c CMake: nsync: update to 1.20.1 by Jason Zaman <jason@perfinion.com>
  - f2444ba218ae280e03710f936b249b6b650ea3dd third_party: unbundle nsync by Jason Zaman <jason@perfinion.com>
  - 4386d8c4b01020ba1c979258e5102ac1947d2574 configure: Add TF_SYSTEM_LIBS handling by Jason Zaman <jason@perfinion.com>
  - f3fd1f110781cfb8cc941241a69eb41114787bfd Merge 4386d8c4b01020ba1c979258e5102ac1947d2574 into a05c7... by Jason Zaman <jasonzaman@gmail.com>

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/tensorflow/pull/21373 from perfinion:nsync 4386d8c4b01020ba1c979258e5102ac1947d2574
PiperOrigin-RevId: 209201545
2018-08-17 13:57:13 -07:00
TensorFlower Gardener
46955b5704 Merge pull request from perfinion:unbundle
PiperOrigin-RevId: 204539752
2018-07-13 15:43:18 -07:00
Jason Zaman
209e4d12a2 third_party: unbundle jsoncpp dep
The jsoncpp headers are included with a different path so we have to
symlink them so the are in the dir structure that is expected.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-07-13 11:25:51 +08:00
Jason Zaman
b5499a3f84 systemlibs: Add syslibs_configure repository_rule to generate if_system_lib macros
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-07-13 11:25:39 +08:00