aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/workspace.bzl6
-rw-r--r--third_party/swig.BUILD3
2 files changed, 5 insertions, 4 deletions
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
index a28a29fc26..0eeea1fee7 100644
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -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")),
)
diff --git a/third_party/swig.BUILD b/third_party/swig.BUILD
index 0ec413a248..bea5d6b531 100644
--- a/third_party/swig.BUILD
+++ b/third_party/swig.BUILD
@@ -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'" +