diff --git a/modules/spdlog/1.15.0.bcr.1/MODULE.bazel b/modules/spdlog/1.15.0.bcr.1/MODULE.bazel new file mode 100644 index 00000000000..0b7f146b6e3 --- /dev/null +++ b/modules/spdlog/1.15.0.bcr.1/MODULE.bazel @@ -0,0 +1,10 @@ +module( + name = "spdlog", + version = "1.15.0.bcr.1", + compatibility_level = 1, +) + +bazel_dep(name = "fmt", version = "11.0.2") +bazel_dep(name = "rules_cc", version = "0.1.0") + +bazel_dep(name = "catch2", version = "3.7.1", dev_dependency = True) diff --git a/modules/spdlog/1.15.0.bcr.1/overlay/BUILD.bazel b/modules/spdlog/1.15.0.bcr.1/overlay/BUILD.bazel new file mode 100644 index 00000000000..bcbc21fbc39 --- /dev/null +++ b/modules/spdlog/1.15.0.bcr.1/overlay/BUILD.bazel @@ -0,0 +1,55 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +cc_library( + name = "spdlog", + hdrs = glob( + [ + "include/**/*.h", + ], + exclude = [ + "include/spdlog/fmt/bundled/**", + ], + ), + defines = ["SPDLOG_FMT_EXTERNAL"], + includes = ["include"], + visibility = ["//visibility:public"], + deps = ["@fmt"], +) + +cc_test( + name = "spdlog_test", + srcs = [ + "tests/includes.h", + "tests/main.cpp", + "tests/test_async.cpp", + "tests/test_backtrace.cpp", + "tests/test_bin_to_hex.cpp", + "tests/test_cfg.cpp", + "tests/test_circular_q.cpp", + "tests/test_create_dir.cpp", + "tests/test_custom_callbacks.cpp", + "tests/test_daily_logger.cpp", + "tests/test_dup_filter.cpp", + "tests/test_errors.cpp", + "tests/test_eventlog.cpp", + "tests/test_file_helper.cpp", + "tests/test_file_logging.cpp", + "tests/test_fmt_helper.cpp", + "tests/test_macros.cpp", + "tests/test_misc.cpp", + "tests/test_mpmc_q.cpp", + "tests/test_pattern_formatter.cpp", + "tests/test_registry.cpp", + "tests/test_sink.h", + "tests/test_stdout_api.cpp", + "tests/test_stopwatch.cpp", + "tests/test_systemd.cpp", + "tests/test_time_point.cpp", + "tests/utils.cpp", + "tests/utils.h", + ], + deps = [ + ":spdlog", + "@catch2//:catch2_main", + ], +) diff --git a/modules/spdlog/1.15.0.bcr.1/overlay/MODULE.bazel b/modules/spdlog/1.15.0.bcr.1/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/spdlog/1.15.0.bcr.1/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/spdlog/1.15.0.bcr.1/presubmit.yml b/modules/spdlog/1.15.0.bcr.1/presubmit.yml new file mode 100644 index 00000000000..566fad92573 --- /dev/null +++ b/modules/spdlog/1.15.0.bcr.1/presubmit.yml @@ -0,0 +1,18 @@ +matrix: + platform: + - debian10 + - debian11 + - macos + - macos_arm64 + - ubuntu2004 + - ubuntu2204 + - ubuntu2404 + - windows + bazel: [7.x, rolling] +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@spdlog//:spdlog" diff --git a/modules/spdlog/1.15.0.bcr.1/source.json b/modules/spdlog/1.15.0.bcr.1/source.json new file mode 100644 index 00000000000..a4b8cea6186 --- /dev/null +++ b/modules/spdlog/1.15.0.bcr.1/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/gabime/spdlog/archive/refs/tags/v1.15.0.tar.gz", + "integrity": "sha256-mWJkjJtPGnu8dv2NkXJVW60Ycf2xT/T4Qu+HlJaCyqU=", + "strip_prefix": "spdlog-1.15.0", + "patch_strip": 0, + "overlay": { + "BUILD.bazel": "sha256-auqWPvbvFH0JCGe5jgmIMXL6xrDKmi+UXj2El9x/bv4=", + "MODULE.bazel": "sha256-6zxdUUdgoTHKtpiBICnA4yJc4w9b/QqeCB9P5vYFkuc=" + } +} diff --git a/modules/spdlog/metadata.json b/modules/spdlog/metadata.json index 58dc19da2f3..fa40c80c09c 100644 --- a/modules/spdlog/metadata.json +++ b/modules/spdlog/metadata.json @@ -5,6 +5,11 @@ "email": "julian.amann@tum.de", "github": "Vertexwahn", "name": "Julian Amann" + }, + { + "email": "c8ef@outlook.com", + "github": "c8ef", + "name": "c8ef" } ], "repository": [ @@ -17,7 +22,8 @@ "1.13.0", "1.14.0", "1.14.1", - "1.15.0" + "1.15.0", + "1.15.0.bcr.1" ], "yanked_versions": {} }