echuraev commented on PR #13118: URL: https://github.com/apache/tvm/pull/13118#issuecomment-1305157116
> `./tests/scripts/ci.py adreno -i` This builds both host and target with in docker (ci_adreno) container. > > To be specific `tests/scripts/task_build_adreno_bins.sh` is the target build script. You may disable CLML related compiler flags here. @srkreddy1238 I tried to reproduce your build issue locally with NDK version == 21.3.6528147 and `tests/scripts/task_build_adreno_bins.sh` has successfully built TVM with this NDK version. Unfortunately, I wasn't able to run `./tests/scripts/ci.py adreno -i`. I got the following error: ```bash Unable to find image 'ci_adreno:latest' locally docker: Error response from daemon: pull access denied for ci_adreno, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. Error invoking Docker: Command failed: '/Users/echuraev/Workspace/OctoML/tvm/docker/bash.sh -t --name ci-adreno-ajxhj -i --env TVM_LIBRARY_PATH=/Users/echuraev/Workspace/OctoML/tvm/build-adreno --env VERBOSE=false --env CC=/opt/sccache/cc --env CXX=/opt/sc cache/c++ --env SCCACHE_CACHE_SIZE=50G --volume :/adreno-opencl --env ADRENO_OPENCL=/adreno-opencl --net host ci_adreno bash .ci-py-scripts/ci-adreno-ajxhj.sh' ``` I took a look into a log which was provided by you. And it looks like linker doesn't find `libOpenCL.so`. It's interesting because the only one change which this patch did: it allows Android compiler to select the better linker parameters instead of using manually determined parameters. So it shouldn't affect on the search of the libraries. Are you sure that the problem will be fixed after returning this `set_property` to the CMake file? If yes, then we could use a method provided by @lhez. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
