Module: Mesa
Branch: master
Commit: 795488d2bf4c7b500634d6928e96c4533e515cfe
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=795488d2bf4c7b500634d6928e96c4533e515cfe

Author: Eric Anholt <e...@anholt.net>
Date:   Tue May  1 12:20:11 2018 -0700

v3d: Enable the driver by default.

Now that we have a stabilized ABI and a fairly conformant driver, turn it
on.

---

 configure.ac                        | 2 +-
 src/gallium/drivers/v3d/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index a73471b7b4..30980151ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2740,7 +2740,7 @@ if test -n "$with_gallium_drivers"; then
             PKG_CHECK_MODULES([V3D_SIMULATOR], [v3dv3],
                               [USE_V3D_SIMULATOR=yes;
                                DEFINES="$DEFINES -DUSE_V3D_SIMULATOR"],
-                              [AC_MSG_ERROR([vc5 requires the simulator])])
+                              [USE_V3D_SIMULATOR=no])
             ;;
         xpl111)
             HAVE_GALLIUM_PL111=yes
diff --git a/src/gallium/drivers/v3d/meson.build 
b/src/gallium/drivers/v3d/meson.build
index 38021515ed..18e68a6269 100644
--- a/src/gallium/drivers/v3d/meson.build
+++ b/src/gallium/drivers/v3d/meson.build
@@ -53,7 +53,7 @@ files_per_version = files(
 )
 
 v3dv3_c_args = []
-dep_v3dv3 = dependency('v3dv3')
+dep_v3dv3 = dependency('v3dv3', required: false)
 if dep_v3dv3.found()
   v3dv3_c_args = '-DUSE_V3D_SIMULATOR'
 endif

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to