<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">CFLAGS="-fno-omit-frame-pointer" \<br>CXXFLAGS="-fno-omit-frame-pointer" \<br>LDFLAGS="-fuse-ld=gold" \<br>    meson $reconfigure build \<br>    --prefix /usr --libdir /usr/lib/$archdir --buildtype debugoptimized --native-file $llvm_config \<br>    -Dgallium-va=false -Dgallium-xvmc=false -Dgallium-omx=disabled -Dgallium-xa=false \<br>    -Dplatforms=x11,drm,surfaceless -Dgallium-drivers=radeonsi,r300,r600 \<br>    -Ddri-drivers= -Dvulkan-drivers=amd \<br>    -Dlibunwind=true<br><br></div><div>Marek</div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 4, 2018 at 5:32 PM Dylan Baker <<a href="mailto:dylan@pnwbakers.com">dylan@pnwbakers.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quoting Eric Engestrom (2018-12-04 09:36:53)<br>
> On Tuesday, 2018-12-04 09:16:18 -0800, Dylan Baker wrote:<br>
> > There are now no known distributions using autotools, meson has all of<br>
> > the features that autotools does. We don't need two build systems to do<br>
> > exactly the same thing, meson is faster, easier to maintain, and used by<br>
> > more devs than autotools. Let's reduce the ongoing burden of maintaining<br>
> > autotools.<br>
> > <br>
> > This removes the following:<br>
> >  - <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> >  - autogen.sh<br>
> >  - Makefile.*.am<br>
> >  - Makefile.am<br>
> >  - Makefile.sources (which are used only by autotools)<br>
> >  - travis jobs for autotools<br>
> >  - docs for autotools<br>
> >  - .gitignore<br>
> > <br>
> > v2: - remove stray no-op change in .travis.yml<br>
> > ---<br>
> [snip]<br>
> > diff --git a/.travis.yml b/.travis.yml<br>
> > index 6b50d49e143..66be44ffc21 100644<br>
> > --- a/.travis.yml<br>
> > +++ b/.travis.yml<br>
> > @@ -74,240 +74,13 @@ matrix:<br>
> >              - python3.5<br>
> >              - python3-pip<br>
> >      - env:<br>
> > -        - LABEL="make loaders/classic DRI"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="make check"<br>
> > -        - DRI_LOADERS="--enable-glx --enable-gbm --enable-egl --with-platforms=x11,drm,surfaceless,wayland --enable-osmesa"<br>
> > -        - DRI_DRIVERS="i915,i965,radeon,r200,swrast,nouveau"<br>
> > -        - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS=""<br>
> > -        - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--disable-libunwind"<br>
> > -      addons:<br>
> > -        apt:<br>
> > -          packages:<br>
> > -            - xz-utils<br>
> > -            - x11proto-xf86vidmode-dev<br>
> > -            - libexpat1-dev<br>
> > -            - libx11-xcb-dev<br>
> > -            - libxdamage-dev<br>
> > -            - libxfixes-dev<br>
> > -            - python3-pip<br>
> > -    - env:<br>
> > -        # NOTE: Building SWR is 2x (yes two) times slower than all the other<br>
> > -        # gallium drivers combined.<br>
> > -        # Start this early so that it doesn't hunder the run time.<br>
> > -        - LABEL="make Gallium Drivers SWR"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="true"<br>
> > -        - LLVM_VERSION=6.0<br>
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br>
> > -        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"<br>
> > -        - DRI_DRIVERS=""<br>
> > -        - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS="swr"<br>
> > -        - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--enable-libunwind"<br>
> > -      addons:<br>
> > -        apt:<br>
> > -          sources:<br>
> > -            - llvm-toolchain-trusty-6.0<br>
> > -            # llvm-6 requires libstdc++4.9 which is not in main repo<br>
> > -            - ubuntu-toolchain-r-test<br>
> > -          packages:<br>
> > -            # From sources above<br>
> > -            - llvm-6.0-dev<br>
> > -            # Common<br>
> > -            - xz-utils<br>
> > -            - libexpat1-dev<br>
> > -            - libx11-xcb-dev<br>
> > -            - libelf-dev<br>
> > -            - libunwind8-dev<br>
> > -            - python3-pip<br>
> > -    - env:<br>
> > -        - LABEL="make Gallium Drivers RadeonSI"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="true"<br>
> > -        - LLVM_VERSION=6.0<br>
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br>
> > -        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"<br>
> > -        - DRI_DRIVERS=""<br>
> > -        - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS="radeonsi"<br>
> > -        - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--enable-libunwind"<br>
> > -      addons:<br>
> > -        apt:<br>
> > -          sources:<br>
> > -            - llvm-toolchain-trusty-6.0<br>
> > -            # llvm-6 requires libstdc++4.9 which is not in main repo<br>
> > -            - ubuntu-toolchain-r-test<br>
> > -          packages:<br>
> > -            # From sources above<br>
> > -            - llvm-6.0-dev<br>
> > -            # Common<br>
> > -            - xz-utils<br>
> > -            - libexpat1-dev<br>
> > -            - libx11-xcb-dev<br>
> > -            - libelf-dev<br>
> > -            - libunwind8-dev<br>
> > -            - python3-pip<br>
> > -    - env:<br>
> > -        - LABEL="make Gallium Drivers Other"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="true"<br>
> > -        - LLVM_VERSION=3.9<br>
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br>
> > -        # New binutils linker is required for llvm-3.9<br>
> > -        - OVERRIDE_PATH=/usr/lib/binutils-2.26/bin<br>
> > -        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"<br>
> > -        - DRI_DRIVERS=""<br>
> > -        - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS="i915,nouveau,pl111,r300,r600,freedreno,svga,swrast,v3d,vc4,virgl,etnaviv,imx"<br>
> > -        - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--enable-libunwind"<br>
> > -      addons:<br>
> > -        apt:<br>
> > -          sources:<br>
> > -            - llvm-toolchain-trusty-3.9<br>
> > -          packages:<br>
> > -            - binutils-2.26<br>
> > -            # LLVM packaging is broken and misses these dependencies<br>
> > -            - libedit-dev<br>
> > -            # From sources above<br>
> > -            - llvm-3.9-dev<br>
> > -            # Common<br>
> > -            - xz-utils<br>
> > -            - libexpat1-dev<br>
> > -            - libx11-xcb-dev<br>
> > -            - libelf-dev<br>
> > -            - libunwind8-dev<br>
> > -            - python3-pip<br>
> > -    - env:<br>
> > -        - LABEL="make Gallium ST Clover LLVM-3.9"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="true"<br>
> > -        - LLVM_VERSION=3.9<br>
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br>
> > -        - OVERRIDE_CC=gcc-4.7<br>
> > -        - OVERRIDE_CXX=g++-4.7<br>
> > -        # New binutils linker is required for llvm-3.9<br>
> > -        - OVERRIDE_PATH=/usr/lib/binutils-2.26/bin<br>
> > -        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"<br>
> > -        - DRI_DRIVERS=""<br>
> > -        - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS="r600"<br>
> > -        - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--enable-libunwind"<br>
> > -      addons:<br>
> > -        apt:<br>
> > -          sources:<br>
> > -            - llvm-toolchain-trusty-3.9<br>
> > -          packages:<br>
> > -            - binutils-2.26<br>
> > -            - libclc-dev<br>
> > -            # LLVM packaging is broken and misses these dependencies<br>
> > -            - libedit-dev<br>
> > -            - g++-4.7<br>
> > -            # From sources above<br>
> > -            - llvm-3.9-dev<br>
> > -            - clang-3.9<br>
> > -            - libclang-3.9-dev<br>
> > -            # Common<br>
> > -            - xz-utils<br>
> > -            - libexpat1-dev<br>
> > -            - libx11-xcb-dev<br>
> > -            - libelf-dev<br>
> > -            - libunwind8-dev<br>
> > -            - python3-pip<br>
> > -    - env:<br>
> > -        - LABEL="make Gallium ST Clover LLVM-4.0"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="true"<br>
> > -        - LLVM_VERSION=4.0<br>
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br>
> > -        - OVERRIDE_CC=gcc-4.8<br>
> > -        - OVERRIDE_CXX=g++-4.8<br>
> > -        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"<br>
> > -        - DRI_DRIVERS=""<br>
> > -        - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS="r600"<br>
> > -        - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--enable-libunwind"<br>
> > -      addons:<br>
> > -        apt:<br>
> > -          sources:<br>
> > -            - llvm-toolchain-trusty-4.0<br>
> > -          packages:<br>
> > -            - libclc-dev<br>
> > -            # LLVM packaging is broken and misses these dependencies<br>
> > -            - libedit-dev<br>
> > -            - g++-4.8<br>
> > -            # From sources above<br>
> > -            - llvm-4.0-dev<br>
> > -            - clang-4.0<br>
> > -            - libclang-4.0-dev<br>
> > -            # Common<br>
> > -            - xz-utils<br>
> > -            - libexpat1-dev<br>
> > -            - libx11-xcb-dev<br>
> > -            - libelf-dev<br>
> > -            - libunwind8-dev<br>
> > -            - python3-pip<br>
> > -    - env:<br>
> > -        - LABEL="make Gallium ST Clover LLVM-5.0"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="true"<br>
> > -        - LLVM_VERSION=5.0<br>
> > -        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br>
> > -        - OVERRIDE_CC=gcc-4.8<br>
> > -        - OVERRIDE_CXX=g++-4.8<br>
> > -        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"<br>
> > +        - LABEL="meson Gallium Drivers"<br>
> > +        - BUILD=meson<br>
> >          - DRI_DRIVERS=""<br>
> > -        - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS="r600"<br>
> >          - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--enable-libunwind"<br>
> > -      addons:<br>
> > -        apt:<br>
> > -          sources:<br>
> > -            - llvm-toolchain-trusty-5.0<br>
> > -          packages:<br>
> > -            - libclc-dev<br>
> > -            # LLVM packaging is broken and misses these dependencies<br>
> > -            - libedit-dev<br>
> > -            - g++-4.8<br>
> > -            # From sources above<br>
> > -            - llvm-5.0-dev<br>
> > -            - clang-5.0<br>
> > -            - libclang-5.0-dev<br>
> > -            # Common<br>
> > -            - xz-utils<br>
> > -            - libexpat1-dev<br>
> > -            - libx11-xcb-dev<br>
> > -            - libelf-dev<br>
> > -            - libunwind8-dev<br>
> > -            - python3-pip<br>
> > -    - env:<br>
> > -        - LABEL="make Gallium ST Clover LLVM-6.0"<br>
> > -        - BUILD=make<br>
> > -        - MAKEFLAGS="-j4"<br>
> > -        - MAKE_CHECK_COMMAND="true"<br>
> > -        - LLVM_VERSION=6.0<br>
> > +        - GALLIUM_DRIVERS="swrast,swr,r300,r600,radeonsi,nouveau,i915,vc4,v3d,pl111,freedreno,etnaviv,imx,tegra,svga,virgl"<br>
> > +        # TODO: clover, nine<br>
> >          - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"<br>
> <br>
> I didn't apply the patch to verify, but I think LLVM_VERSION will be<br>
> undefined here? Might need to keep the assignment 4 lines above.<br>
> <br>
> > -        - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"<br>
> > -        - DRI_DRIVERS=""<br>
> > -        - GALLIUM_ST="--disable-dri --enable-opencl --enable-opencl-icd --enable-llvm --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"<br>
> > -        - GALLIUM_DRIVERS="r600,radeonsi"<br>
> > -        - VULKAN_DRIVERS=""<br>
> > -        - LIBUNWIND_FLAGS="--enable-libunwind"<br>
> >        addons:<br>
> >          apt:<br>
> >            sources:<br>
> [snip]<br>
> > diff --git a/docs/relnotes/19.0.0.html b/docs/relnotes/19.0.0.html<br>
> > index 1b839b0a485..8e96fb323c2 100644<br>
> > --- a/docs/relnotes/19.0.0.html<br>
> > +++ b/docs/relnotes/19.0.0.html<br>
> > @@ -51,7 +51,7 @@ TBD.<br>
> >  <h2>Changes</h2><br>
> >  <br>
> >  <ul><br>
> > -<li>TBD</li><br>
> > +<li>Autotools has been dropped, use meson instead.</li><br>
> <br>
> I think it would be good to link to our meson page and point to our<br>
> mailing list as well, as I expect the ones who still hadn't moved on<br>
> will need help :)<br>
> <br>
> >  </ul><br>
> >  <br>
> >  </div><br>
> > diff --git a/docs/submittingpatches.html b/docs/submittingpatches.html<br>
> > index 3f97c941aa5..4a9a983b43a 100644<br>
> > --- a/docs/submittingpatches.html<br>
> > +++ b/docs/submittingpatches.html<br>
> [snip]<br>
> > @@ -370,7 +370,7 @@ within the commit summary.<br>
> >  </pre><br>
> >  <li>Test for build breakage between patches e.g last 8 commits.<br>
> >  <pre><br>
> > -    git rebase -i --exec="make -j4" HEAD~8<br>
> > +    git rebase -i --exec="ninja" HEAD~8<br>
> <br>
> IIRC git rebase will CWD to the git root, so you will need<br>
> `ninja -C builddir/` here.<br>
> <br>
> >  </pre><br>
> >  <li>Sets the default mailing address for your repo.<br>
> >  <pre><br>
> > diff --git a/docs/vmware-guest.html b/docs/vmware-guest.html<br>
> > index 4e0932e781f..0c7bcbed59d 100644<br>
> > --- a/docs/vmware-guest.html<br>
> > +++ b/docs/vmware-guest.html<br>
> > @@ -106,13 +106,14 @@ On the host, all you're doing is running VMware<br>
> >  <br>
> >  <h2>Prerequisites</h2><br>
> >  <br>
> > +  sudo apt-get install automake libtool libpthread-stubs0-dev<br>
> <br>
> I'm assuming this is a rebase mistake?<br>
> <br>
> >  <ul><br>
> >  <li>Kernel version at least 2.6.25 <br>
> >  <li>Xserver version at least 1.7 <br>
> >  <li>Ubuntu: For ubuntu you need to install a number of build dependencies. <br>
> >    <pre><br>
> >    sudo apt-get install git-core<br>
> > -  sudo apt-get install automake libtool libpthread-stubs0-dev<br>
> > +  sudo apt-get install automake libtool meson libpthread-stubs0-dev<br>
> >    sudo apt-get install xserver-xorg-dev x11proto-xinerama-dev libx11-xcb-dev<br>
> >    sudo apt-get install libxcb-glx0-dev libxrender-dev<br>
> >    sudo apt-get build-dep libgl1-mesa-dri libxcb-glx0-dev<br>
> [snip]<br>
> <br>
> Other than that, it looks all good to me!<br>
> <br>
> Assuming the release managers are ok with your changes to<br>
> docs/releasing.html, this is:<br>
> Reviewed-by: Eric Engestrom <<a href="mailto:eric.engestrom@intel.com" target="_blank">eric.engestrom@intel.com</a>><br>
<br>
I believe that I've addressed all of the issues, I've pushed the patch to my<br>
gitlab as "delete-autotools" if you want to look at it.<br>
<br>
Dylan<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>