arrayfire_test compilation error
envgap__arrayfire__arrayfire-2896
01 / FAILURE SIGNATURE
As reported upstream
/home/wtambellini/repos/arrayfire/test/../include/af/array.h:11:26: fatal error: af/compilers.h: No such file or directory
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
6c35d8f7bb245f2aefc91b6231eae4dcad134274- Manifest
test/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
arrayfire/arrayfire #2896 · read the original issue
Hello
This is 'just' a compilation error with todays master when building AF in a build folder not called 'build' (eg 'release', or 'debug'):
...
[ 23%] Built target af_cuda_static_cuda_library
In file included from /home/wtambellini/repos/arrayfire/test/./testHelpers.hpp:17:0,
from /home/wtambellini/repos/arrayfire/test/arrayfire_test.cpp:11:
/home/wtambellini/repos/arrayfire/test/../include/af/array.h:11:26: fatal error: af/compilers.h: No such file or directory
#include <af/compilers.h>
^
compilation terminated.
This is probably because the test cmake hardcodes the build folder to be named 'build' :
target_include_directories(arrayfire_test
PRIVATE
.
../include
../build/include
../extern/half/include
mmio
gtest/googletest/include)
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]