Skip to content

Commit 66677eb

Browse files
committed
dependency_support/boost: switch lzma to a safer repo
1 parent 544ab6b commit 66677eb

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

dependency_support/boost/boost.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ def boost():
3434
# that the rest of XLS uses.
3535
Label("@rules_hdl//dependency_support/boost:add_python.patch"),
3636
Label("@rules_hdl//dependency_support/boost:libbacktrace.patch"),
37+
# See: https://github.com/nelhage/rules_boost/issues/555
38+
Label("@rules_hdl//dependency_support/boost:downgrade_lzma.patch"),
3739
],
3840
)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git boost/boost.bzl boost/boost.bzl
2+
index 4381996..587a37d 100644
3+
--- boost/boost.bzl
4+
+++ boost/boost.bzl
5+
@@ -140,9 +140,9 @@ def boost_deps():
6+
http_archive,
7+
name = "org_lzma_lzma",
8+
build_file = "@com_github_nelhage_rules_boost//:lzma.BUILD",
9+
- url = "https://github.com/tukaani-project/xz/releases/download/v5.4.3/xz-5.4.3.tar.gz",
10+
- sha256 = "1c382e0bc2e4e0af58398a903dd62fff7e510171d2de47a1ebe06d1528e9b7e9",
11+
- strip_prefix = "xz-5.4.3",
12+
+ url = "https://src.fedoraproject.org/lookaside/extras/xz/xz-5.4.6.tar.gz/sha512/b08a61d8d478d3b4675cb1ddacdbbd98dc6941a55bcdd81a28679e54e9367d3a595fa123ac97874a17da571c1b712e2a3e901c2737099a9d268616a1ba3de497/xz-5.4.6.tar.gz",
13+
+ sha256 = "aeba3e03bf8140ddedf62a0a367158340520f6b384f75ca6045ccc6c0d43fd5c",
14+
+ strip_prefix = "xz-5.4.6",
15+
)
16+
17+
maybe(

0 commit comments

Comments
 (0)