Skip to content

Commit

Permalink
dependency_support: boost: bump boost to v1.82
Browse files Browse the repository at this point in the history
Bump build rules for boost effectively bumping boost dependency
to v1.82. Due to rename (BUILD.boost -> boost.BUILD) and small
changes in the renamed file also the patches had to be updated.

Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
  • Loading branch information
lpawelcz committed Jun 7, 2023
1 parent 768b3fc commit e0f6f2c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions dependency_support/boost/add_python.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

diff --git BUILD.boost BUILD.boost
index e6b28cf..99470c5 100644
--- BUILD.boost
+++ BUILD.boost
@@ -2268,3 +2268,41 @@ boost_library(
":utility",
diff --git boost.BUILD boost.BUILD
index e5d0b60..4f52d3c 100644
--- boost.BUILD
+++ boost.BUILD
@@ -2642,3 +2642,41 @@ boost_library(
":variant2",
],
)
+
Expand Down
4 changes: 2 additions & 2 deletions dependency_support/boost/boost.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def boost():
maybe(
git_repository,
name = "com_github_nelhage_rules_boost",
# This equivalent to boost 1.78
commit = "c8b9b4a75c4301778d2e256b8d72ce47a6c9a1a4",
# This equivalent to boost 1.82
commit = "1217caae292dc9f14e8109777ba43c988cf89c5b",
remote = "https://github.com/nelhage/rules_boost",
shallow_since = "1640124117 -0800",
patches = [
Expand Down
14 changes: 7 additions & 7 deletions dependency_support/boost/libbacktrace.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
diff --git BUILD.boost BUILD.boost
index e23893b..1e70e11 100644
--- BUILD.boost
+++ BUILD.boost
@@ -1874,6 +1874,7 @@ boost_library(
":lexical_cast",
diff --git boost.BUILD boost.BUILD
index e5d0b60..bade47f 100644
--- boost.BUILD
+++ boost.BUILD
@@ -1927,6 +1927,7 @@ boost_library(
":predef",
":static_assert",
":type_traits",
+ "@com_github_libbacktrace//:libbacktrace",
],
)


0 comments on commit e0f6f2c

Please sign in to comment.