Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BYVoid authored Oct 31, 2024
1 parent faa6875 commit 072b505
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/double-conversion/3.3.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""This project (double-conversion) provides binary-decimal and decimal-binary routines for IEEE doubles."""

module(
name = "double-conversion",
version = "3.3.0",
compatibility_level = 3,
)

bazel_dep(name = "rules_cc", version = "0.0.13")
12 changes: 12 additions & 0 deletions modules/double-conversion/3.3.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,9 @@
+"""This project (double-conversion) provides binary-decimal and decimal-binary routines for IEEE doubles."""
+
+module(
+ name = "double-conversion",
+ version = "3.3.0",
+ compatibility_level = 3,
+)
+
+bazel_dep(name = "rules_cc", version = "0.0.13")
34 changes: 34 additions & 0 deletions modules/double-conversion/3.3.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "@double-conversion"
bcr_test_module:
module_path: ""
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- "@double-conversion//:cctest"
9 changes: 9 additions & 0 deletions modules/double-conversion/3.3.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/google/double-conversion/archive/refs/tags/v3.3.0.tar.gz",
"integrity": "sha256-BOxERhhQq78zgk2oSXgEOyJVSJa1UsX9EanFrktNKW4=",
"strip_prefix": "double-conversion-3.3.0",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-S+9W9o5Iqqt9SmiI14o+waLL9OAUIG87QGQrJn7NfVc="
}
}
17 changes: 17 additions & 0 deletions modules/double-conversion/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/google/double-conversion",
"maintainers": [
{
"email": "[email protected]",
"github": "BYVoid",
"name": "Carbo Kuo"
}
],
"repository": [
"github:google/double-conversion"
],
"versions": [
"3.3.0"
],
"yanked_versions": {}
}

0 comments on commit 072b505

Please sign in to comment.