Skip to content

Commit

Permalink
Relax check for libnvidia-opticalflow is test script. (#1381)
Browse files Browse the repository at this point in the history
* Check if neither libnvidia-opticalflow.so nor libnvidia-opticalflow.so.1 exists.

Signed-off-by: Michal Zientkiewicz <[email protected]>
  • Loading branch information
mzient authored and klecki committed Oct 16, 2019
1 parent 79be0ea commit 6774406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qa/setup_test_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ echo "LD_LIBRARY_PATH is $LD_LIBRARY_PATH"
put_optflow_libs() {
# Docker v1 doesn't expose libnvidia-opticalflow.so from the host so we need to manually put it there
# workaround for the CI
if [[ ! -f /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so ]]; then
if [[ ! -f /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so ]] &&
[[ ! -f /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.1 ]]; then
NVIDIA_SMI_DRIVER_VERSION_LONG=$(nvidia-smi | grep -Po '(?<=Driver Version: )\d+.\d+.\d+')

# Hack alert: This url doesn't work with 430.XX family
Expand Down

0 comments on commit 6774406

Please sign in to comment.