diff --git a/modules/check/0.15.2/MODULE.bazel b/modules/check/0.15.2/MODULE.bazel new file mode 100644 index 00000000000..4c1c5926458 --- /dev/null +++ b/modules/check/0.15.2/MODULE.bazel @@ -0,0 +1,10 @@ +module( + name = "check", + version = "0.15.2", + compatibility_level = 0, +) + +bazel_dep( + name = "rules_foreign_cc", + version = "0.13.0", +) diff --git a/modules/check/0.15.2/patches/add_build_file.patch b/modules/check/0.15.2/patches/add_build_file.patch new file mode 100644 index 00000000000..da86e0f5a06 --- /dev/null +++ b/modules/check/0.15.2/patches/add_build_file.patch @@ -0,0 +1,17 @@ +--- /dev/null ++++ BUILD.bazel +@@ -0,0 +1,14 @@ ++load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") ++ ++filegroup( ++ name="all_srcs", ++ srcs= glob(["**"]), ++) ++ ++cmake( ++ name="check", ++ lib_source = ":all_srcs", ++ out_static_libs = ["libcheck.a"], ++ linkopts =["-lrt"], ++ visibility = ["//visibility:public"], ++) diff --git a/modules/check/0.15.2/patches/module_dot_bazel.patch b/modules/check/0.15.2/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..7d85cae9787 --- /dev/null +++ b/modules/check/0.15.2/patches/module_dot_bazel.patch @@ -0,0 +1,13 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,10 @@ ++module( ++ name = "check", ++ version = "0.15.2", ++ compatibility_level = 0, ++) ++ ++bazel_dep( ++ name = "rules_foreign_cc", ++ version = "0.13.0", ++) diff --git a/modules/check/0.15.2/presubmit.yml b/modules/check/0.15.2/presubmit.yml new file mode 100644 index 00000000000..a5eba151a4a --- /dev/null +++ b/modules/check/0.15.2/presubmit.yml @@ -0,0 +1,14 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + bazel: + - 8.x + - 7.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@check//:check' diff --git a/modules/check/0.15.2/source.json b/modules/check/0.15.2/source.json new file mode 100644 index 00000000000..f04595344d2 --- /dev/null +++ b/modules/check/0.15.2/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz", + "integrity": "sha256-qN5OC6z7TXbdHGGN7SY1I7U7hdkqFG2INesaUpMvogo=", + "strip_prefix": "check-0.15.2", + "patches": { + "add_build_file.patch": "sha256-8Xq7WLYk1k54AWpedJcQjixvHXyGd/tPqgKFJxTzY1A=", + "module_dot_bazel.patch": "sha256-+xh4zRz0/HENCGs8EH3lrcblSI2j7PbAlqvgaXV7deY=" + }, + "patch_strip": 0 +} diff --git a/modules/check/metadata.json b/modules/check/metadata.json new file mode 100644 index 00000000000..033c6015d60 --- /dev/null +++ b/modules/check/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://libcheck.github.io/check/", + "maintainers": [ + { + "email": "beardsworth@intrinsic.ai", + "github": "mbeards", + "name": "Michael Beardsworth" + } + ], + "repository": [ + "github:libcheck/check" + ], + "versions": [ + "0.15.2" + ], + "yanked_versions": {} +}