Skip to content

Commit

Permalink
Updated example urls
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Dec 30, 2021
1 parent 4d0054b commit 404f388
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 13 deletions.
1 change: 1 addition & 0 deletions examples/third_party/apr/apr_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def apr_repositories():
sha256 = "48e9dbf45ae3fdc7b491259ffb6ccf7d63049ffacbc1c0977cced095e4c2d5a2",
strip_prefix = "apr-1.7.0",
urls = [
"https://mirror.bazel.build/www-eu.apache.org/dist/apr/apr-1.7.0.tar.gz",
"https://www-eu.apache.org/dist/apr/apr-1.7.0.tar.gz",
],
)
1 change: 1 addition & 0 deletions examples/third_party/apr_util/apr_util_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def apr_util_repositories():
sha256 = "a00ae8a6b96b63a3910ddc1100b1a7ef50dc26dceb65ced18ded31ab392f132b",
strip_prefix = "expat-2.4.1",
urls = [
"https://mirror.bazel.build/github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.gz",
"https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.gz",
],
)
4 changes: 4 additions & 0 deletions examples/third_party/autotools/autotools_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def autotools_repositories():
build_file = Label("//autotools:BUILD.m4.bazel"),
strip_prefix = "m4-1.4.19",
urls = [
"https://mirror.bazel.build/ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz",
"https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz",
],
sha256 = "63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96",
Expand All @@ -22,6 +23,7 @@ def autotools_repositories():
build_file = Label("//autotools:BUILD.autoconf.bazel"),
strip_prefix = "autoconf-2.71",
urls = [
"https://mirror.bazel.build/ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz",
"https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz",
],
sha256 = "431075ad0bf529ef13cb41e9042c542381103e80015686222b8a9d4abef42a1c",
Expand All @@ -43,6 +45,7 @@ def autotools_repositories():
build_file = Label("//autotools:BUILD.automake.bazel"),
strip_prefix = "automake-1.16.4",
urls = [
"https://mirror.bazel.build/ftp.gnu.org/gnu/automake/automake-1.16.4.tar.gz",
"https://ftp.gnu.org/gnu/automake/automake-1.16.4.tar.gz",
],
sha256 = "8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794",
Expand All @@ -54,6 +57,7 @@ def autotools_repositories():
build_file = Label("//autotools:BUILD.libtool.bazel"),
strip_prefix = "libtool-2.4.6",
urls = [
"https://mirror.bazel.build/ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz",
"https://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz",
],
sha256 = "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3",
Expand Down
1 change: 1 addition & 0 deletions examples/third_party/curl/curl_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def curl_repositories():
http_archive,
name = "curl",
urls = [
"https://mirror.bazel.build/curl.se/download/curl-7.74.0.tar.gz",
"https://curl.se/download/curl-7.74.0.tar.gz",
"https://github.com/curl/curl/releases/download/curl-7_74_0/curl-7.74.0.tar.gz",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ def libjpeg_turbo_repositories():
name = "libjpeg_turbo",
sha256 = "6a965adb02ad898b2ae48214244618fe342baea79db97157fdc70d8844ac6f09",
strip_prefix = "libjpeg-turbo-2.0.90",
url = "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.90.tar.gz",
urls = [
"https://mirror.bazel.build/github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.90.tar.gz",
"https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.90.tar.gz",
],
build_file = Label("//libjpeg_turbo:BUILD.libjpeg_turbo.bazel"),
)
1 change: 1 addition & 0 deletions examples/third_party/libssh2/libssh2_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def libssh2_repositories():
http_archive,
name = "libssh2",
urls = [
"https://mirror.bazel.build/github.com/libssh2/libssh2/releases/download/libssh2-1.9.0/libssh2-1.9.0.tar.gz",
"https://github.com/libssh2/libssh2/releases/download/libssh2-1.9.0/libssh2-1.9.0.tar.gz",
],
type = "tar.gz",
Expand Down
1 change: 1 addition & 0 deletions examples/third_party/log4cxx/log4cxx_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def log4cxx_repositories():
Label("//log4cxx:simpledateformat.h.patch"),
],
urls = [
"https://mirror.bazel.build/archive.apache.org/dist/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz",
"https://archive.apache.org/dist/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz",
],
)
4 changes: 2 additions & 2 deletions examples/third_party/python/BUILD.python3.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configure_make(
install_prefix = "py_install",
lib_source = ":all_srcs",
out_binaries = [
"python3.9",
"python3.10",
],
out_data_dirs = ["lib"],
deps = [
Expand All @@ -42,5 +42,5 @@ configure_make(
filegroup(
name = "python3_bin",
srcs = [":python3"],
output_group = "python3.9",
output_group = "python3.10",
)
17 changes: 8 additions & 9 deletions examples/third_party/python/python_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,30 @@ def python_repositories():
http_archive,
name = "python2",
build_file = Label("//python:BUILD.python2.bazel"),
strip_prefix = "Python-2.7.9",
strip_prefix = "Python-2.7.18",
urls = [
"https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz",
"https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz",
],
sha256 = "c8bba33e66ac3201dabdc556f0ea7cfe6ac11946ec32d357c4c6f9b018c12c5b",
sha256 = "da3080e3b488f648a3d7a4560ddee895284c3380b11d6de75edb986526b9a814",
)
maybe(
http_archive,
name = "python3",
build_file = Label("//python:BUILD.python3.bazel"),
strip_prefix = "Python-3.9.3",
strip_prefix = "Python-3.10.1",
urls = [
"https://www.python.org/ftp/python/3.9.3/Python-3.9.3.tgz",
"https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz",
],
sha256 = "3afeb61a45b5a2e6f1c0f621bd8cf925a4ff406099fdb3d8c97b993a5f43d048",
sha256 = "b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3",
)

maybe(
http_archive,
name = "rules_python",
sha256 = "954aa89b491be4a083304a2cb838019c8b8c3720a7abb9c4cb81ac7a24230cea",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz",
"https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz",
"https://github.com/bazelbuild/rules_python/releases/download/0.5.0/rules_python-0.5.0.tar.gz",
],
sha256 = "cd6730ed53a002c56ce4e2f396ba3b3be262fd7cb68339f0377a45e8227fe332",
)

native.register_toolchains("@rules_foreign_cc_examples_third_party//python:python_toolchain")
5 changes: 4 additions & 1 deletion examples/third_party/sqlite/sqlite_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ def sqlite_repositories():
build_file = Label("//sqlite:BUILD.sqlite.bazel"),
sha256 = "f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0",
strip_prefix = "sqlite-autoconf-3350500",
urls = ["https://www.sqlite.org/2021/sqlite-autoconf-3350500.tar.gz"],
urls = [
"https://mirror.bazel.build/www.sqlite.org/2021/sqlite-autoconf-3350500.tar.gz",
"https://www.sqlite.org/2021/sqlite-autoconf-3350500.tar.gz",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def subversion_repositories():
sha256 = "dee2796abaa1f5351e6cc2a60b1917beb8238af548b20d3e1ec22760ab2f0cad",
strip_prefix = "subversion-1.14.1",
urls = [
"https://mirror.bazel.build/downloads.apache.org/subversion/subversion-1.14.1.tar.gz",
"https://downloads.apache.org/subversion/subversion-1.14.1.tar.gz",
],
)

0 comments on commit 404f388

Please sign in to comment.