Upgrade build-from-source swig version to 3.0.8 to avoid python 3.5 issues

This should address some of the ongoing python 3.5-related build failures in:
nightly-matrix-cpu
nightly-matrix-linux-gpu
nightly-matrix-mac-gpu
nightly-python35-linux-cpu
Change: 137268906
This commit is contained in:
Shanqing Cai 2016-10-26 05:28:01 -08:00 committed by TensorFlower Gardener
parent cb63709786
commit 08add38deb
2 changed files with 5 additions and 4 deletions
tensorflow
third_party

View File

@ -136,9 +136,9 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
native.new_http_archive(
name = "swig",
sha256 = "a2669657cabcedc371f63c0457407a183e0b6b2ef4e7e303c1ec9a3964cc7813",
url = "http://ufpr.dl.sourceforge.net/project/swig/swig/swig-3.0.2/swig-3.0.2.tar.gz",
strip_prefix = "swig-3.0.2",
sha256 = "58a475dbbd4a4d7075e5fe86d4e54c9edde39847cdb96a3053d87cb64a23a453",
url = "http://ufpr.dl.sourceforge.net/project/swig/swig/swig-3.0.8/swig-3.0.8.tar.gz",
strip_prefix = "swig-3.0.8",
build_file = str(Label("//third_party:swig.BUILD")),
)

View File

@ -291,7 +291,7 @@ genrule(
"#define HAVE_PCRE\n" +
"#define HAVE_POPEN\n" +
"#define PACKAGE_BUGREPORT \"http://www.swig.org\"\n" +
"#define PACKAGE_VERSION \"3.0.2\"\n" +
"#define PACKAGE_VERSION \"3.0.8\"\n" +
"#define STDC_HEADERS\n" +
"#define SWIG_CXX \"bazel4lyfe\"\n" +
"#define SWIG_LIB \"external/swig/Lib\"\n" +
@ -323,6 +323,7 @@ genrule(
" -e '/swig_pike/d'" +
" -e '/swig_r/d'" +
" -e '/swig_ruby/d'" +
" -e '/swig_scilab/d'" +
" -e '/swig_sexp/d'" +
" -e '/swig_tcl/d'" +
" -e '/swig_uffi/d'" +