Skip to content

Commit 3818f33

Browse files
chenrui333cho-m
authored andcommitted
xtensor 0.26.0
autobump: add xtensor xtensor: xtl 0.8.0 Signed-off-by: Rui Chen <[email protected]> Signed-off-by: Michael Cho <[email protected]>
1 parent 5bf2bd5 commit 3818f33

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,6 +3842,7 @@ xray
38423842
xroar
38433843
xrootd
38443844
xsimd
3845+
xtensor
38453846
xterm
38463847
xtrans
38473848
xurls

Formula/x/xtensor.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Xtensor < Formula
22
desc "Multi-dimensional arrays with broadcasting and lazy computing"
33
homepage "https://xtensor.readthedocs.io/en/latest/"
4-
url "https://github.com/xtensor-stack/xtensor/archive/refs/tags/0.25.0.tar.gz"
5-
sha256 "32d5d9fd23998c57e746c375a544edf544b74f0a18ad6bc3c38cbba968d5e6c7"
4+
url "https://github.com/xtensor-stack/xtensor/archive/refs/tags/0.26.0.tar.gz"
5+
sha256 "f5f42267d850f781d71097b50567a480a82cd6875a5ec3e6238555e0ef987dc6"
66
license "BSD-3-Clause"
77

88
bottle do
@@ -13,8 +13,8 @@ class Xtensor < Formula
1313
depends_on "cmake" => :build
1414

1515
resource "xtl" do
16-
url "https://github.com/xtensor-stack/xtl/archive/refs/tags/0.7.7.tar.gz"
17-
sha256 "44fb99fbf5e56af5c43619fc8c29aa58e5fad18f3ba6e7d9c55c111b62df1fbb"
16+
url "https://github.com/xtensor-stack/xtl/archive/refs/tags/0.8.0.tar.gz"
17+
sha256 "ee38153b7dd0ec84cee3361f5488a4e7e6ddd26392612ac8821cbc76e740273a"
1818
end
1919

2020
def install
@@ -32,9 +32,9 @@ def install
3232
test do
3333
(testpath/"test.cc").write <<~CPP
3434
#include <iostream>
35-
#include "xtensor/xarray.hpp"
36-
#include "xtensor/xio.hpp"
37-
#include "xtensor/xview.hpp"
35+
#include "xtensor/containers/xarray.hpp"
36+
#include "xtensor/io/xio.hpp"
37+
#include "xtensor/views/xview.hpp"
3838
3939
int main() {
4040
xt::xarray<double> arr1
@@ -52,7 +52,7 @@ def install
5252
}
5353
CPP
5454

55-
system ENV.cxx, "-std=c++14", "test.cc", "-o", "test", "-I#{include}"
55+
system ENV.cxx, "-std=c++17", "test.cc", "-o", "test", "-I#{include}"
5656
assert_equal "323", shell_output("./test").chomp
5757
end
5858
end

0 commit comments

Comments
 (0)