Skip to content

Compilation failures caused by xtensor-stack/xtensor#2923 #258

Description

@krivenko

Recently I have been getting the following compilation errors when trying to use xtensor-blas in my project.

In file included from /home/runner/work/ezARPACK/ezARPACK/example/xtensor.example.cpp:22:
In file included from /home/runner/work/ezARPACK/ezARPACK/include/ezarpack/storages/xtensor.hpp:18:
In file included from /home/runner/xtensor.installed/include/xtensor-blas/xlinalg.hpp:28:
In file included from /home/runner/xtensor.installed/include/xtensor-blas/xblas.hpp:23:
/home/runner/xtensor.installed/include/xtensor-blas/xblas_utils.hpp:34:27: error: no template named 'has_data_interface'; did you mean 'has_simd_interface'?
   34 |     ) -> std::enable_if_t<has_data_interface<std::decay_t<T>>::value && std::decay_t<T>::static_layout == L, T&&>
      |                           ^~~~~~~~~~~~~~~~~~
      |                           has_simd_interface
/home/runner/xtensor.installed/include/xtensor/containers/../containers/../containers/../utils/xtensor_simd.hpp:268:12: note: 'has_simd_interface' declared here
  268 |     struct has_simd_interface : detail::has_simd_interface_impl<E, T>
      |            ^
In file included from /home/runner/work/ezARPACK/ezARPACK/example/xtensor.example.cpp:22:
In file included from /home/runner/work/ezARPACK/ezARPACK/include/ezarpack/storages/xtensor.hpp:18:
In file included from /home/runner/xtensor.installed/include/xtensor-blas/xlinalg.hpp:28:
In file included from /home/runner/xtensor.installed/include/xtensor-blas/xblas.hpp:23:
/home/runner/xtensor.installed/include/xtensor-blas/xblas_utils.hpp:41:11: error: no template named 'has_data_interface'; did you mean 'has_simd_interface'?
   41 |         (!has_data_interface<std::decay_t<T>>::value || I::static_layout != L)
      |           ^~~~~~~~~~~~~~~~~~
      |           has_simd_interface
/home/runner/xtensor.installed/include/xtensor/containers/../containers/../containers/../utils/xtensor_simd.hpp:268:12: note: 'has_simd_interface' declared here
  268 |     struct has_simd_interface : detail::has_simd_interface_impl<E, T>
      |            ^
In file included from /home/runner/work/ezARPACK/ezARPACK/example/xtensor.example.cpp:22:
In file included from /home/runner/work/ezARPACK/ezARPACK/include/ezarpack/storages/xtensor.hpp:18:
In file included from /home/runner/xtensor.installed/include/xtensor-blas/xlinalg.hpp:28:
In file included from /home/runner/xtensor.installed/include/xtensor-blas/xblas.hpp:23:
/home/runner/xtensor.installed/include/xtensor-blas/xblas_utils.hpp:50:11: error: no template named 'has_data_interface'; did you mean 'has_simd_interface'?
   50 |         (!has_data_interface<std::decay_t<T>>::value || I::static_layout != L)
      |           ^~~~~~~~~~~~~~~~~~
      |           has_simd_interface
/home/runner/xtensor.installed/include/xtensor/containers/../containers/../containers/../utils/xtensor_simd.hpp:268:12: note: 'has_simd_interface' declared here
  268 |     struct has_simd_interface : detail::has_simd_interface_impl<E, T>
      |            ^

The likely source of the problem is xtensor-stack/xtensor#2923.

Activity

  1. JohanMabille commented on Jul 24, 2026

    @JohanMabille
    Member

    This change is not part of a release, so we haven't updated xtensor-blas yet. It should build with xtensor 0.27.1.

  2. krivenko commented on Jul 25, 2026

    @krivenko
    Author

    @JohanMabille Thank you for the clarification, I have updated my workflows to install the latest tagged versions of xtensor components instead of using master.

  3. JohanMabille commented on Jul 27, 2026

    @JohanMabille
    Member

    Closing it since it should be solved, do not hesitate to reopen it if you have any issue with latest xtensor tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions