test_xblockwise_reducer.cpp:3:10: fatal error: 'xtensor/xblockwise_reducer.hpp' file not found
envgap__xtensor-stack__xtensor-2460
01 / FAILURE SIGNATURE
As reported upstream
/tmp/autopkgtest.Gkv8A7/autopkgtest_tmp/test_xblockwise_reducer.cpp:3:10: fatal error: 'xtensor/xblockwise_reducer.hpp' file not found
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
faebef1615e323829fe11175f9ef48d6d9409b38- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
xtensor-stack/xtensor #2460 · read the original issue
After building xtensor 0.24.0 for Debian, CI tests fail (testing the headers as installed in /usr/include, not the source dir):
```
[ 13%] Building CXX object CMakeFiles/test_xtensor_lib.dir/test_xcontainer_semantic.cpp.o
/usr/bin/clang++ -DXSIMD_ENABLE_XTL_COMPLEX -DXTENSOR_USE_XSIMD -DXSIMD_ENABLE_XTL_COMPLEX=1 -march=native -std=c++14 -Wunused-parameter -Wextra -Wreorder -Wconversion -Wsign-conversion -Wold-style-cast -Wunused-variable -O3 -DNDEBUG -MD -MT CMakeFiles/test_xtensor_lib.dir/test_xbuilder.cpp.o -MF CMakeFiles/test_xtensor_lib.dir/test_xbuilder.cpp.o.d -o CMakeFiles/test_xtensor_lib.dir/test_xbuilder.cpp.o -c /tmp/autopkgtest.Gkv8A7/autopkgtest_tmp/test_xbuilder.cpp
/usr/bin/clang++ -DXSIMD_ENABLE_XTL_COMPLEX -DXTENSOR_USE_XSIMD -DXSIMD_ENABLE_XTL_COMPLEX=1 -march=native -std=c++14 -Wunused-parameter -Wextra -Wreorder -Wconversion -Wsign-conversion -Wold-style-cast -Wunused-variable -O3 -DNDEBUG -MD -MT CMakeFiles/test_xtensor_lib.dir/test_xcontainer_semantic.cpp.o -MF CMakeFiles/test_xtensor_lib.dir/test_xcontainer_semantic.cpp.o.d -o CMakeFiles/test_xtensor_lib.dir/test_xcontainer_semantic.cpp.o -c /tmp/autopkgtest.Gkv8A7/autopkgtest_tmp/test_xcontainer_semantic.cpp
/tmp/autopkgtest.Gkv8A7/autopkgtest_tmp/test_xblockwise_reducer.cpp:3:10: fatal error: 'xtensor/xblockwise_reducer.hpp' file not found
#include "xtensor/xblockwise_reducer.hpp"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [CMakeFiles/test_xtensor_lib.dir/build.make:132: CMakeFiles/test_xtensor_lib.dir/test_xblockwise_reducer.cpp.o] Error 1
```
As far as I can see, this is because xblockwise_reducer.hpp is not listed in XTENSOR_HEADERS in CMakeLists.txt. So it never gets installed.
Is this a bug in CMakeLists.txt ?
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]