targets/opencl: Look for LLVM libraries in cross-compilation sysroot

When cross-compiling, make sure to look for LLVM libraries in the cross-
compilation sysroot to avoid build failures from trying to link against
files from the build system.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Status Job ID Name Coverage
  Container+Docs
manual #4211358
aarch64 manual
arm_build
manual #4211359
manual
arm_test-base
manual #4211355
manual
x86_build-base
manual #4211357
manual
x86_build_old
manual #4211356
manual
x86_test-base
 
  Container 2
created #4211369
arm64_test
created #4211364
i386_build
created #4211360
kernel+rootfs_amd64
created #4211361
aarch64
kernel+rootfs_arm64
created #4211362
aarch64
kernel+rootfs_armhf
created #4211365
ppc64el_build
created #4211366
s390x_build
created #4211363
x86_build
created #4211367
x86_test-gl
created #4211368
x86_test-vk
 
  Meson X86 64
created #4211373
meson-android
created #4211374
meson-clang
created #4211372
meson-classic
created #4211375
meson-clover
created #4211376
meson-clover-old-llvm
created #4211371
meson-gallium
created #4211370
meson-testing
created #4211377
meson-vulkan
 
  Scons
created #4211378
allowed to fail
scons-win64
 
  Meson Misc
created #4211380
aarch64
meson-arm64
created #4211381
aarch64
meson-arm64-build-test
created #4211379
aarch64
meson-armhf
created #4211382
meson-i386
created #4211385
meson-mingw32-x86_64
created #4211384
kvm
meson-ppc64el
created #4211383
kvm
meson-s390x
 
  Llvmpipe
created #4211389
llvmpipe-gles2
created #4211390
llvmpipe-traces
created #4211387
piglit-glslparser
created #4211386
piglit-quick_gl
created #4211388
piglit-quick_shader
 
  Softpipe
created #4211391
softpipe-gles2
created #4211392
softpipe-gles3
created #4211393
softpipe-gles31 1/2
created #4211394
softpipe-gles31 2/2
 
  Freedreno
created #4211404
google-freedreno-db410c
arm64_a306_gles2
created #4211405
google-freedreno-db410c
arm64_a306_gles3
created #4211406
google-freedreno-db410c
arm64_a306_gles3_options
created #4211407
google-freedreno-db820c
arm64_a530_gles2
created #4211408
google-freedreno-db820c
arm64_a530_gles3
created #4211409
google-freedreno-db820c
arm64_a530_gles31
created #4211399
google-freedreno-cheza
arm64_a630_bypass
created #4211395
google-freedreno-cheza
arm64_a630_gles2
created #4211397
google-freedreno-cheza
arm64_a630_gles3
created #4211396
google-freedreno-cheza
arm64_a630_gles31
created #4211401
google-freedreno-cheza
arm64_a630_gmem
created #4211398
google-freedreno-cheza
arm64_a630_noubo
created #4211400
google-freedreno-cheza
arm64_a630_traces
created #4211402
google-freedreno-cheza
arm64_a630_vk
created #4211403
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Panfrost
created #4211410
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #4211411
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf
created #4211412
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #4211413
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #4211414
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #4211415
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Virgl
created #4211420
virgl-gl30-on-gl
created #4211421
virgl-gl31-on-gl
created #4211422
virgl-gl32-on-gl
created #4211416
virgl-gles2-on-gl
created #4211418
virgl-gles31-on-gl 1/2
created #4211419
virgl-gles31-on-gl 2/2
created #4211417
virgl-gles3-on-gl
created #4211423
virgl-traces
 
  Radeonsi
created #4211424
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #4211425
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64