From 04195a5ddce6fef9010afb0d85f877a9a81cceee Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Tue, 15 Oct 2024 13:05:28 +0800 Subject: [PATCH] release 1.4.0 --- registry/modules/babylon/1.4.0/MODULE.bazel | 43 +++++++++++++++++++++ registry/modules/babylon/1.4.0/source.json | 5 +++ registry/modules/babylon/metadata.json | 1 + 3 files changed, 49 insertions(+) create mode 100644 registry/modules/babylon/1.4.0/MODULE.bazel create mode 100644 registry/modules/babylon/1.4.0/source.json diff --git a/registry/modules/babylon/1.4.0/MODULE.bazel b/registry/modules/babylon/1.4.0/MODULE.bazel new file mode 100644 index 0000000..64f6a40 --- /dev/null +++ b/registry/modules/babylon/1.4.0/MODULE.bazel @@ -0,0 +1,43 @@ +module( + name = 'babylon', + version = '1.4.0', + compatibility_level = 1, +) + +################################################################################ +# LOWER BOUND dependency versions. +# Bzlmod follows MVS: +# https://bazel.build/versions/6.0.0/build/bzlmod#version-resolution +# Thus the highest version in their module graph is resolved. + +# --registry=https://bcr.bazel.build +bazel_dep(name = 'abseil-cpp', version = '20211102.0', repo_name = 'com_google_absl') +bazel_dep(name = 'bazel_skylib', version = '1.0.3') +bazel_dep(name = 'boost.preprocessor', version = '1.83.0') +bazel_dep(name = 'boost.spirit', version = '1.83.0') +bazel_dep(name = 'protobuf', version = '3.19.6', repo_name = 'com_google_protobuf') +################################################################################ + +################################################################################ +# test only dependency + +# --registry=https://bcr.bazel.build +single_version_override(module_name = 'abseil-cpp', version = '20240722.0') +single_version_override(module_name = 'protobuf', version = '27.5') +bazel_dep(name = 'googletest', version = '1.15.2', repo_name = 'com_google_googletest', dev_dependency = True) +bazel_dep(name = 'platforms', version = '0.0.10', dev_dependency = True) +bazel_dep(name = 'rules_cc', version = '0.0.9', dev_dependency = True) +bazel_dep(name = 'rules_cuda', version = '0.2.3', dev_dependency = True) + +# --registry=https://baidu.github.io/babylon/registry +bazel_dep(name = 'libcoro', version = '0.12.1', dev_dependency = True) + +# cuda toolchain +cuda = use_extension('@rules_cuda//cuda:extensions.bzl', 'toolchain', dev_dependency = True) +cuda.local_toolchain() + +# cross compile toolchain +cross_config = use_extension('//:bazel/cross_toolchain.bzl', 'cross_config', dev_dependency = True) +use_repo(cross_config, 'cross_config_toolchain') +register_toolchains('@cross_config_toolchain//:cross-toolchain', dev_dependency = True) +################################################################################ diff --git a/registry/modules/babylon/1.4.0/source.json b/registry/modules/babylon/1.4.0/source.json new file mode 100644 index 0000000..14e6fdc --- /dev/null +++ b/registry/modules/babylon/1.4.0/source.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/baidu/babylon/archive/refs/tags/v1.4.0.tar.gz", + "strip_prefix": "babylon-1.4.0", + "integrity": "sha256-vytDOx3Gsxr+csVSFjSRGJrd29XMld8KWsO6ZYG627c=" +} diff --git a/registry/modules/babylon/metadata.json b/registry/modules/babylon/metadata.json index f1d7937..df09577 100644 --- a/registry/modules/babylon/metadata.json +++ b/registry/modules/babylon/metadata.json @@ -7,6 +7,7 @@ } ], "versions": [ + "1.4.0", "1.3.2", "1.3.1", "1.3.0",