Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add new module xsimd and its first bcr version 8.1.0
  • Loading branch information
tongke6 authored Nov 8, 2024
1 parent 000cb81 commit 119eb31
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/xsimd/8.1.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module(
name = "xsimd",
version = "8.1.0",
compatibility_level = 1,
)
36 changes: 36 additions & 0 deletions modules/xsimd/8.1.0/patches/add_build_file.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
--- /dev/null
+++ BUILD.bazel
@@ -0,0 +1,33 @@
+# Reference: https://github.com/tensorflow/io/blob/v0.25.0/third_party/xsimd.BUILD
+
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"]) # BSD 3-Clause
+
+exports_files(["LICENSE"])
+
+cc_library(
+ name = "xsimd",
+ srcs = [],
+ hdrs = glob(
+ [
+ "include/xsimd/*.hpp",
+ "include/xsimd/config/*.hpp",
+ "include/xsimd/math/*.hpp",
+ "include/xsimd/memory/*.hpp",
+ "include/xsimd/stl/*.hpp",
+ "include/xsimd/types/*.hpp",
+ ],
+ exclude = [
+ ],
+ ),
+ copts = [],
+ defines = [],
+ includes = [
+ "include",
+ ],
+ linkopts = [],
+ visibility = ["//visibility:public"],
+ deps = [
+ ],
+)
8 changes: 8 additions & 0 deletions modules/xsimd/8.1.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 = "xsimd",
+ version = "8.1.0",
+ compatibility_level = 1,
+)
17 changes: 17 additions & 0 deletions modules/xsimd/8.1.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@xsimd//:xsimd'
10 changes: 10 additions & 0 deletions modules/xsimd/8.1.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/xtensor-stack/xsimd/archive/refs/tags/8.1.0.tar.gz",
"integrity": "sha256-1SVRNg03cJZ1I30qBBjij3CZW1t82tfGdGJrz7v0gyg=",
"strip_prefix": "xsimd-8.1.0",
"patches": {
"add_build_file.patch": "sha256-9a0MJ/S7IRjN6rC3I8CDxxq3eyNojKwevFhDoKtN0rY=",
"module_dot_bazel.patch": "sha256-YwBlgMHncRPprAhSm7ekjO8ltSSgfK4hy+1J8dyEpGU="
},
"patch_strip": 0
}
16 changes: 16 additions & 0 deletions modules/xsimd/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"homepage": "https://github.com/xtensor-stack/xsimd",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:xtensor-stack/xsimd"
],
"versions": [
"8.1.0"
],
"yanked_versions": {}
}

0 comments on commit 119eb31

Please sign in to comment.