build: deprecate the autotools build system

v2: also update CI to use meson build to run CTS

Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Lepton Wu <[email protected]>
This commit is contained in:
Gert Wollny committed 2019-12-17 09:10:33 +01:00
1 parent c162f33d5f
commit debb6e6ac4
2 files changed
+16 -3

No files matched your search

+3 -3
View File
@@ -49,7 +49,7 @@ run_setup()
if [ "x$use_meson" = "x" ]; then
if [ -d "$VIRGL_PATH" ]; then
cd $VIRGL_PATH
./autogen.sh --prefix=/usr/local --enable-debug --enable-tests
./autogen.sh --prefix=/usr/local --enable-debug --enable-tests --enable-autotools
make -j$NUM_THREADS install
fi
else
@@ -93,7 +93,7 @@ run_make_check_meson()
run_deqp()
{
run_setup
run_setup meson
OGL_BACKEND="$1"
SUITE="$2"
@@ -135,7 +135,7 @@ run_deqp()
run_piglit()
{
run_setup
run_setup meson
OGL_BACKEND="$1"
+13
View File
@@ -4,6 +4,19 @@ AC_PREREQ([2.60])
AC_INIT([virglrenderer], [0.8.0],
[[email protected]])
AC_ARG_ENABLE(autotools,
AS_HELP_STRING([--enable-autotools],
[Enable the use of the now deprecated autotools build]),
[force_autotools=$enableval])
if test "x$force_autotools" != "xyes"; then
AC_MSG_ERROR([The autotools build system is deprecated, please try the
new meson build system.
> meson <src-dir> [<build-dir>]
To force the use of autotools run configure with --enable-autotools])
fi
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])