Commit 0c8deb2f authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

PR #24963: Build tensorflow.dll on Windows properly

Please approve this CL. It will be submitted automatically, and its GitHub pull request will be marked as merged.

Imported from GitHub PR #24963

1. To build a DLL for TensorFlow C API, you can now build
   `//tensorflow:tensorflow.dll`

2. The import library for tensorflow.dll can be built by
   `//tensorflow:tensorflow_dll_import_lib`

3. You can also get a compressed package for both (tensorflow.dll, tensorflow.lib) and C API headers by building
   `//tensorflow/tools/lib_package:libtensorflow`

3. Besides symbols for the official C API, symbols for
   building custom ops are also exported.

4. Also updated the libtensorflow_cpu.sh and libtensorflow_gpu.sh

Fixes #24885

Copybara import of the project:

  - 8e83669a07be02964a9185ccd0064cc967ecba76 Build tensorflow.dll on Windows properly by Yun Peng <pcloudy@google.com>
  - 302f7f93882bb7110ab9b7f6dee39d4b38897c6a No need to specifiy dll name explicitly by Yun Peng <pcloudy@google.com>
  - 03bae06e1e2e20aea06057f8d47d6f0301b2ef48 Merge 302f7f93882bb7110ab9b7f6dee39d4b38897c6a into 2e846... by Yun Peng <pcloudy@google.com>

PiperOrigin-RevId: 235934534
parent 8e23a58c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment