KodeMunkie
KodeMunkie
I can't get clinfo to build from source ```pi@whoyagonnacall:~ $ cd src/ pi@whoyagonnacall:~/src $ cd cl clinfo/ clvk/ pi@whoyagonnacall:~/src $ cd clinfo/ pi@whoyagonnacall:~/src/clinfo $ make cc -g -pedantic -Werror -std=c99...
I think there may be a problem with the [make script in clinfo](https://github.com/Oblomov/clinfo/blob/master/Makefile): ```pi@whoyagonnacall:~/src/clinfo $ LD_LIBRARY_PATH=/home/pi/src/clinfo pi@whoyagonnacall:~/src/clinfo $ echo $LD_LIBRARY_PATH /home/pi/src/clinfo pi@whoyagonnacall:~/src/clinfo $ make LD_DEBUG=libs cc -g -pedantic -Werror -std=c99...
I tried adding LD_DEBUG=libs as an env variable but it didn't work - there was no change in the clinfo output. I tried the clinfo from apt which said "Number...
I didn't see ./build/simple_test in the build tree - I've cleaned and run the build again in case I'd accidentally deleted it. Will report back in a few hours...
@kpet I finally got the build sorted but didn't see any simple_test: ```pi@whoyagonnacall:~/src/clvk/build $ ls clspv CPackConfig.cmake lib llvm-spirv SPIRV-ToolsConfig.cmake src CMakeCache.txt CPackSourceConfig.cmake libOpenCL.so LLVMSPIRVLib.pc SPIRV-Tools-linkConfig.cmake tests CMakeFiles _deps libOpenCL.so.0.1...
I did this, passed -DCLVK_BUILD_CONFORMANCE_TESTS=ON , specified the target, and still no build/simple_test was created. The source I've used was checked out and deps pulled in exactly as stated on...
It could be due the fact I used make rather than cmake. This is what I get when I try cmake: ``` pi@whoyagonnacall:~/src/clvk $ cmake --build ~/src/clvk/build/ --target simple_test gmake:...
It was successful - as far as could see, on first run there were no errors, on the second run unfortunately I don't have the full log from it owing...
After deleting the two log files I ran the following with the conf tests off. ``` pi@whoyagonnacall:~/src/clvk $ cmake -DCLVK_BUILD_TESTS=ON DCLVK_BUILD_CONFORMANCE_TESTS=OFF --build ~/src/clvk/build/ -- Build type: RelWithDebInfo -- Did not...
Build was successful. ``` pi@whoyagonnacall:~/src/clvk/build $ ./simple_test WARNING: lavapipe is not a conformant vulkan implementation, testing use only. Platform: clvk Device: llvmpipe (LLVM 11.0.1, 128 bits) Buffer content verified, test...