Skip to contentSkip to conversation

configure.ac: Properly bump libdrm_amdgpu version requirement

PATCH In review Petri Latvala 3 participants 3 messages Mar 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure.ac: Properly bump libdrm_amdgpu version requirement

To actually make the build not use libdrm_amdgpu, the existence check already needs to verify the version, as is done for other uses of PKG_CHECK_EXISTS.

Cc Arkadiusz Hiler <[email protected]>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index aac0b6af..715eb12c 100644
@@ -263,7 +263,7 @@ AC_ARG_ENABLE(amdgpu, AS_HELP_STRING([--disable-amdgpu],
 	      [Enable building of amdgpu tests (default: auto)]),
 	      [AMDGPU=$enableval], [AMDGPU=auto])
 if test "x$AMDGPU" = xauto; then
-	PKG_CHECK_EXISTS([libdrm_amdgpu], [AMDGPU=yes], [AMDGPU=no])
+	PKG_CHECK_EXISTS([libdrm_amdgpu >= 2.4.81], [AMDGPU=yes], [AMDGPU=no])
 fi
 if test "x$AMDGPU" = xyes; then
 	PKG_CHECK_MODULES(DRM_AMDGPU, [libdrm_amdgpu >= 2.4.81])
Signature · 6 lines
2.14.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Petri Latvala

To actually make the build not use libdrm_amdgpu, the existence check already needs to verify the version, as is done for other uses of PKG_CHECK_EXISTS.

Cc Arkadiusz Hiler <[email protected]>

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/1] configure.ac: Properly bump libdrm_amdgpu version requirement

In reply to Petri Latvala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/1] configure.ac: Properly bump libdrm_amdgpu version requirement
URL : https://patchwork.freedesktop.org/series/39692/
State : failure

== Summary ==

Series 39692 revision 1 was fully merged or fully failed: no git log

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev