diff --git a/modules/highway/1.2.0/MODULE.bazel b/modules/highway/1.2.0/MODULE.bazel new file mode 100644 index 00000000000..5c767b534a5 --- /dev/null +++ b/modules/highway/1.2.0/MODULE.bazel @@ -0,0 +1,11 @@ +module( + name = "highway", + version = "1.2.0", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.6.1") +bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest") +bazel_dep(name = "rules_cc", version = "0.0.9") +bazel_dep(name = "rules_license", version = "0.0.7") +bazel_dep(name = "platforms", version = "0.0.10") diff --git a/modules/highway/1.2.0/patches/module_dot_bazel.patch b/modules/highway/1.2.0/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..15818d58a23 --- /dev/null +++ b/modules/highway/1.2.0/patches/module_dot_bazel.patch @@ -0,0 +1,19 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -1,6 +1,11 @@ +-module(name = "highway", version = "1.2.0") ++module( ++ name = "highway", ++ version = "1.2.0", ++ compatibility_level = 1, ++) + +-bazel_dep(name = "bazel_skylib", version = "1.3.0") +-bazel_dep(name = "googletest", version = "1.12.1") +-bazel_dep(name = "rules_cc", version = "0.0.4") +-bazel_dep(name = "rules_license", version = "0.0.4") ++bazel_dep(name = "bazel_skylib", version = "1.6.1") ++bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest") ++bazel_dep(name = "rules_cc", version = "0.0.9") ++bazel_dep(name = "rules_license", version = "0.0.7") ++bazel_dep(name = "platforms", version = "0.0.10") diff --git a/modules/highway/1.2.0/presubmit.yml b/modules/highway/1.2.0/presubmit.yml new file mode 100644 index 00000000000..114587f258a --- /dev/null +++ b/modules/highway/1.2.0/presubmit.yml @@ -0,0 +1,15 @@ +matrix: + platform: + - debian11 + - ubuntu2204 + - macos + - macos_arm64 + bazel: + - 7.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@highway//...' diff --git a/modules/highway/1.2.0/source.json b/modules/highway/1.2.0/source.json new file mode 100644 index 00000000000..adc98a79ae7 --- /dev/null +++ b/modules/highway/1.2.0/source.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/google/highway/releases/download/1.2.0/highway-1.2.0.tar.gz", + "integrity": "sha256-WOnV1B1lc60VJFrXauxTppSZynSAwJLYmcRCSBLtkG8=", + "strip_prefix": "highway-1.2.0", + "patch_strip": 0, + "patches": { + "module_dot_bazel.patch": "sha256-SjQSq0ej3+qp7isEnu7Aa8KlUSJyJBn6F0IaBgl9e5E=" + } +} diff --git a/modules/highway/metadata.json b/modules/highway/metadata.json index ff0a97d40bf..ffbdd4e1c0e 100644 --- a/modules/highway/metadata.json +++ b/modules/highway/metadata.json @@ -21,7 +21,8 @@ "github:google/highway" ], "versions": [ - "1.1.0" + "1.1.0", + "1.2.0" ], "yanked_versions": {} }