Hi, I tried to build TVM and enable SDACCEL(USE_SDACCEL ON), but I got error message, My computer has installed vivado/vitis 2020.2, should I set path to vivado in config.make?
commit: 7ea78cc22b8fbe6b406a17e3dab8781d7b34739c
❯ cmake … -DCMAKE_BUILD_TYPE=Debug – The C compiler identification is GNU 9.3.0 – The CXX compiler identification is GNU 9.3.0 – Check for working C compiler: /usr/bin/cc – Check for working C compiler: /usr/bin/cc – works – Detecting C compiler ABI info – Detecting C compiler ABI info - done – Detecting C compile features – Detecting C compile features - done – Check for working CXX compiler: /usr/bin/c++ – Check for working CXX compiler: /usr/bin/c++ – works – Detecting CXX compiler ABI info – Detecting CXX compiler ABI info - done – Detecting CXX compile features – Detecting CXX compile features - done – Build in Debug mode – Forbidding undefined symbols in shared library, using -Wl,–no-undefined on platform Linux – Build with RPC support… – Build with Graph Executor support… – Build with profiler… – Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) – VTA build with VTA_HW_PATH=/home/kobeyu/workspace/tvm/3rdparty/vta-hw – Build VTA runtime with target: sim – Build with SDAccel support – Enable OpenCL support required for SDAccel – Looking for CL_VERSION_2_2 – Looking for CL_VERSION_2_2 - not found – Looking for CL_VERSION_2_1 – Looking for CL_VERSION_2_1 - not found – Looking for CL_VERSION_2_0 – Looking for CL_VERSION_2_0 - not found – Looking for CL_VERSION_1_2 – Looking for CL_VERSION_1_2 - not found – Looking for CL_VERSION_1_1 – Looking for CL_VERSION_1_1 - not found – Looking for CL_VERSION_1_0 – Looking for CL_VERSION_1_0 - not found CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.16/Modules/FindOpenCL.cmake:150 (find_package_handle_standard_args) cmake/modules/OpenCL.cmake:53 (find_package) CMakeLists.txt:422 (include)
– Configuring incomplete, errors occurred! See also “/home/kobeyu/workspace/tvm/build/CMakeFiles/CMakeOutput.log”. See also “/home/kobeyu/workspace/tvm/build/CMakeFiles/CMakeError.log”.