xtensor@0.27.0 (#6058)
xtensor@0.27.0
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
diff --git a/modules/xtensor/0.27.0/MODULE.bazel b/modules/xtensor/0.27.0/MODULE.bazel
new file mode 100644
index 0000000..a2e66b1
--- /dev/null
+++ b/modules/xtensor/0.27.0/MODULE.bazel
@@ -0,0 +1,9 @@
+module(
+ name = "xtensor",
+ version = "0.27.0",
+ bazel_compatibility = [">=7.2.1"],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_cc", version = "0.2.8")
+bazel_dep(name = "xtl", version = "0.8.0")
diff --git a/modules/xtensor/0.27.0/overlay/BUILD.bazel b/modules/xtensor/0.27.0/overlay/BUILD.bazel
new file mode 100644
index 0000000..c54ce73
--- /dev/null
+++ b/modules/xtensor/0.27.0/overlay/BUILD.bazel
@@ -0,0 +1,38 @@
+# MIT License
+#
+# Copyright (c) 2020–2021 Aapeli Vuorinen
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+#
+# see also: https://git.aapelivuorinen.com/aapeli/bazel_rules/-/tree/develop
+
+load("@rules_cc//cc:defs.bzl", "cc_library")
+
+filegroup(
+ name = "all",
+ srcs = glob(["include/**"]),
+)
+
+cc_library(
+ name = "xtensor",
+ hdrs = [":all"],
+ strip_include_prefix = "include/",
+ visibility = ["//visibility:public"],
+ deps = ["@xtl"],
+)
diff --git a/modules/xtensor/0.27.0/overlay/MODULE.bazel b/modules/xtensor/0.27.0/overlay/MODULE.bazel
new file mode 120000
index 0000000..9b599e3
--- /dev/null
+++ b/modules/xtensor/0.27.0/overlay/MODULE.bazel
@@ -0,0 +1 @@
+../MODULE.bazel
\ No newline at end of file
diff --git a/modules/xtensor/0.27.0/presubmit.yml b/modules/xtensor/0.27.0/presubmit.yml
new file mode 100644
index 0000000..8602adb
--- /dev/null
+++ b/modules/xtensor/0.27.0/presubmit.yml
@@ -0,0 +1,16 @@
+matrix:
+ platform:
+ - debian11
+ - macos
+ - macos_arm64
+ - ubuntu2204
+ - ubuntu2404
+ - windows
+ bazel: [7.x, 8.x, rolling]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@xtensor//:xtensor"
diff --git a/modules/xtensor/0.27.0/source.json b/modules/xtensor/0.27.0/source.json
new file mode 100644
index 0000000..d333f89
--- /dev/null
+++ b/modules/xtensor/0.27.0/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/xtensor-stack/xtensor/archive/refs/tags/0.27.0.tar.gz",
+ "integrity": "sha256-nKF0MEhJLt/MhBu+AfWFIP+cWV7Fh8Dn3C/Dne7vPgQ=",
+ "strip_prefix": "xtensor-0.27.0",
+ "patch_strip": 0,
+ "overlay": {
+ "BUILD.bazel": "sha256-dR0JgZ8EH8j69u6FU0HXTEbzTrVFrtW1CugmNYjnkWM=",
+ "MODULE.bazel": "sha256-d+iPxAHajQEDeEDbT/+KYNGKg6OUVzZDiZJw8R59aa0="
+ }
+}
diff --git a/modules/xtensor/metadata.json b/modules/xtensor/metadata.json
new file mode 100644
index 0000000..c72284b
--- /dev/null
+++ b/modules/xtensor/metadata.json
@@ -0,0 +1,18 @@
+{
+ "homepage": "https://github.com/xtensor-stack/xtensor",
+ "maintainers": [
+ {
+ "email": "julian.amann@tum.de",
+ "github": "Vertexwahn",
+ "github_user_id": 3775001,
+ "name": "Julian Amann"
+ }
+ ],
+ "repository": [
+ "github:xtensor-stack/xtensor"
+ ],
+ "versions": [
+ "0.27.0"
+ ],
+ "yanked_versions": {}
+}