Commit graph

9 commits

Author SHA1 Message Date
Kyle Brenneman 6103052046 meson: Try to detect older ARM builds.
When building for armel, Meson's cpu() and cpu_family() strings aren't always
sufficient.

Instead, try to check for some predefined macros to determine if it's building
for ARMv7 or something older.
2019-12-13 09:21:00 -07:00
Kyle Brenneman 444035fd46 meson: Print the CPU and CPU family. 2019-12-13 09:20:57 -07:00
q66 c31a7c06eb vnd-glapi: allow asm to be used on ELFv2 ppc64 big endian
These entry points are actually not little endian specific,
but they are specific to ELFv2 ABI. ELFv2 ABI can be used
on either little or big endian, and there are distributions
doing so (e.g. Void Linux, Adélie Linux) as well as other
OSes transitioning (FreeBSD).

These have been confirmed to work on a Power Mac G5 running
Void Linux.
2019-12-09 18:49:41 +01:00
Kyle Brenneman fb6c3e4211 meson: Print the dispatch stub type.
Print the value of gl_dispatch_type so that you can easily tell from the output
what it's going to be using.
2019-12-06 08:01:37 -07:00
Kyle Brenneman ca979ad02e meson: Remove the GLDISPATCH_TYPE_* macro.
The GLDISPATCH_TYPE_* macro is not needed anywhere, so don't set it.
2019-12-06 07:55:00 -07:00
Kyle Brenneman 5ffb8df0ae meson: Fix the PPC64 build.
Check for a cpu_family value of 'ppc64', not 'ppc'. 'ppc' is for 32-bit power.

In GLdispatch, fix the file list for the PPC64 entrypoints.
2019-12-06 07:29:11 -07:00
Matt Turner 05e762ba74 Bump the version number to 1.3.0. 2019-12-05 16:44:43 -05:00
Matt Turner 0f39337dad Drop unnecessary assembly macros
These were presumably copied from Mesa where they enable assembly code
that is not part of the dispatch layer. They are unused in libglvnd.
2019-12-05 16:16:00 -05:00
Dylan Baker 16dc32352d Add meson build system
Theres a couple of things that this meson build system does differently
than autotools. It doesn't use a config.h file, it just puts #defines on
the command line with -D. It also does all of the code generation in the
generated folder, simply because it's simpler to do that.

On my 2 core / 4 thread KBL system:

autotools (no ccache):
sh -c "./autogen.sh&& ./configure && make -j6 check"  44.74s user 6.70s system 145% cpu 35.269 total

autotools (warm ccache):
sh -c "./autogen.sh&& ./configure && make -j6 check"  32.86s user 4.22s system 129% cpu 28.580 total

meson (no ccache):
sh -c "meson build; ninja -C build test"  23.48s user 3.71s system 236% cpu 11.487 total

meson (warm ccache)
sh -c "meson build; ninja -C build test"  16.06s user 2.31s system 210% cpu 8.727 total
2019-12-05 12:01:36 -08:00