Skip to content

Commit

Permalink
Add gcem (#1928)
Browse files Browse the repository at this point in the history
I'm aware it uses an unstable archive, but the project doesn't publish
anything else.

Co-authored-by: Caleb Zulawski <caleb.zulawski@caci.com>
  • Loading branch information
calebzulawski and calebzulawski committed May 1, 2024
1 parent 2bd9bd8 commit 2d946fc
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/gcem/1.18.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module(
name = "gcem",
version = "1.18.0",
compatibility_level = 0,
)
9 changes: 9 additions & 0 deletions modules/gcem/1.18.0/patches/add_build_file.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
--- /dev/null
+++ BUILD.bazel
@@ -0,0 +1,6 @@
+cc_library(
+ name = "gcem",
+ hdrs = glob(["include/**/*"]),
+ strip_include_prefix = "/include",
+ visibility = ["//visibility:public"],
+)
8 changes: 8 additions & 0 deletions modules/gcem/1.18.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "gcem",
+ version = "1.18.0",
+ compatibility_level = 0,
+)
13 changes: 13 additions & 0 deletions modules/gcem/1.18.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
matrix:
platform:
- ubuntu2004
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@gcem//:gcem'
10 changes: 10 additions & 0 deletions modules/gcem/1.18.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/kthohr/gcem/archive/refs/tags/v1.18.0.tar.gz",
"integrity": "sha256-jnGp9bYpVtpsQJ3aRLSD+YxKmK5yGE86pGWa5bNGLmE=",
"strip_prefix": "gcem-1.18.0",
"patches": {
"module_dot_bazel.patch": "sha256-gQhcUru849j1GdyDdZFydgY1AM/nnOPHVUzSJqJbym8=",
"add_build_file.patch": "sha256-n3uNdOMc5GBjM4nOG0+8+WfttmeZgJFEtOrex8QFiaA="
},
"patch_strip": 0
}
17 changes: 17 additions & 0 deletions modules/gcem/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://gcem.readthedocs.io/",
"maintainers": [
{
"email": "caleb.zulawski@gmail.com",
"github": "calebzulawski",
"name": "Caleb Zulawski"
}
],
"repository": [
"github:kthohr/gcem"
],
"versions": [
"1.18.0"
],
"yanked_versions": {}
}

0 comments on commit 2d946fc

Please sign in to comment.