diff options
author | Justine Tunney <jart@google.com> | 2016-10-20 16:48:45 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-10-20 18:04:26 -0700 |
commit | 1dba78b997dc49df9df663a838e0bacd6602f5b8 (patch) | |
tree | adb3cfe86b348eb81210291f7ebe431dce971915 /tensorflow/tools/swig | |
parent | 2da2ae76cfa782474e8662234f89ddeecd080e05 (diff) |
Automatically build SWIG from source
This change allows Bazel to fetch and build SWIG rather than getting it
from the system. This change also improves the i/o performance of the
SWIG build, makes it hermetically sealed, and ensures tf_py_wrap_cc()
can function correctly across Bazel repositories.
CC: #4983
Change: 136783531
Diffstat (limited to 'tensorflow/tools/swig')
-rwxr-xr-x | tensorflow/tools/swig/swig.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tensorflow/tools/swig/swig.sh b/tensorflow/tools/swig/swig.sh deleted file mode 100755 index 941c4b20e9..0000000000 --- a/tensorflow/tools/swig/swig.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2015 The TensorFlow Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ============================================================================== - -# If possible, read swig path out of "swig_path" generated by configure -SWIG=swig -SWIG_PATH=tensorflow/tools/swig/swig_path -if [ -e $SWIG_PATH ]; then - SWIG=`cat $SWIG_PATH` -fi - -# If this line fails, rerun configure to set the path to swig correctly -"$SWIG" "$@" |