From a6f76c1b0e680b36ab04be22eb71e9395be1ccb4 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Tue, 29 Oct 2024 14:15:02 +0800 Subject: [PATCH] fix thrift@0.21.0 --- .../modules/boost.uuid/1.83.0.bcr.1/MODULE.bazel | 9 +++++++++ .../boost.uuid/1.83.0.bcr.1/overlay/BUILD.bazel | 15 +++++++++++++++ .../modules/boost.uuid/1.83.0.bcr.1/source.json | 8 ++++++++ registry/modules/thrift/0.21.0/MODULE.bazel | 2 +- 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 registry/modules/boost.uuid/1.83.0.bcr.1/MODULE.bazel create mode 100644 registry/modules/boost.uuid/1.83.0.bcr.1/overlay/BUILD.bazel create mode 100644 registry/modules/boost.uuid/1.83.0.bcr.1/source.json diff --git a/registry/modules/boost.uuid/1.83.0.bcr.1/MODULE.bazel b/registry/modules/boost.uuid/1.83.0.bcr.1/MODULE.bazel new file mode 100644 index 0000000..d0d527d --- /dev/null +++ b/registry/modules/boost.uuid/1.83.0.bcr.1/MODULE.bazel @@ -0,0 +1,9 @@ +module( + name = "boost.uuid", + version = "1.83.0.bcr.1", + bazel_compatibility = [">=7.2.1"], + compatibility_level = 108300, +) + +bazel_dep(name = "boost.type_traits", version = "1.83.0.bcr.1") +bazel_dep(name = "rules_cc", version = "0.0.9") diff --git a/registry/modules/boost.uuid/1.83.0.bcr.1/overlay/BUILD.bazel b/registry/modules/boost.uuid/1.83.0.bcr.1/overlay/BUILD.bazel new file mode 100644 index 0000000..bfd4ffb --- /dev/null +++ b/registry/modules/boost.uuid/1.83.0.bcr.1/overlay/BUILD.bazel @@ -0,0 +1,15 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +cc_library( + name = "boost.uuid", + hdrs = glob([ + "include/**/*.hpp", + "include/**/*.h", + "include/**/*.ipp", + ]), + includes = ["include"], + visibility = ["//visibility:public"], + deps = [ + "@boost.type_traits", + ], +) diff --git a/registry/modules/boost.uuid/1.83.0.bcr.1/source.json b/registry/modules/boost.uuid/1.83.0.bcr.1/source.json new file mode 100644 index 0000000..3ffc009 --- /dev/null +++ b/registry/modules/boost.uuid/1.83.0.bcr.1/source.json @@ -0,0 +1,8 @@ +{ + "url": "https://github.com/boostorg/uuid/archive/refs/tags/boost-1.83.0.tar.gz", + "integrity": "sha256-D9kSkan1QR0Jf4gR5hNz3xPU4b6EWNWLLIas9CYVPBY=", + "strip_prefix": "uuid-boost-1.83.0", + "overlay": { + "BUILD.bazel": "sha256-NKAKbj1aWnmW4zk41aTK3E+oXeb9cK1thp9KvgdYzJE=" + } +} diff --git a/registry/modules/thrift/0.21.0/MODULE.bazel b/registry/modules/thrift/0.21.0/MODULE.bazel index bc502ff..213e06c 100644 --- a/registry/modules/thrift/0.21.0/MODULE.bazel +++ b/registry/modules/thrift/0.21.0/MODULE.bazel @@ -8,7 +8,7 @@ bazel_dep(name = 'boost.algorithm', version = '1.83.0') bazel_dep(name = 'boost.numeric_conversion', version = '1.83.0') bazel_dep(name = 'boost.smart_ptr', version = '1.83.0') bazel_dep(name = 'boost.tokenizer', version = '1.83.0') -bazel_dep(name = 'boost.uuid', version = '1.83.0') +bazel_dep(name = 'boost.uuid', version = '1.83.0.bcr.1') bazel_dep(name = 'libevent', version = '2.1.12') bazel_dep(name = 'openssl', version = '3.3.2') bazel_dep(name = 'rules_foreign_cc', version = '0.8.0')