When configuring the CMake build with cmake .. -DMOCK_HAL=ON, the emulation layer isn't built because the presence of /opt/vc/include/bcm_host.h is detected.
You can verify this by running strings ./src/libVC4CL.so | grep -i emulated on the built binary.
When configuring the CMake build with
cmake .. -DMOCK_HAL=ON
, the emulation layer isn't built because the presence of/opt/vc/include/bcm_host.h
is detected.You can verify this by running
strings ./src/libVC4CL.so | grep -i emulated
on the built binary.