Up to [cvs.NetBSD.org] / src / external / mit / xorg / lib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Make most of MesaLib build.
use -fcommon where necessary.
mesa: re-enable GLX TLS to help i386 mesa's assembly code for i386 only seems to be position independent when compiled with ELF TLS, so having it disabled causes worse problems than the edge cases ELF TLS causes. potentially the assembly code could be fixed (it looks like it not being safe is a bug), it could also be disabled, but i don't currently have the means to measure the impact of that.
disable use of ELF TLS in Mesa/libGL this is an optimization that primarily benefits linux/glibc - most other systems have this disabled. in netbsd we've tried to patch around it to make things work, but there still appears to be some edge cases where libGL mysteriously crashes. discussed on tech-x11 some time ago. already in place in pkgsrc.
Mostly merge changes from HEAD upto 20200411
Don't hard-code LLVM version, extract it from external/apache2/llvm.
Change HAVE_LLVM from 0x0700 to 0x0900.
Adjust .PATH
Update build logic for mesa 19.1.7. A lot of files are now living outside of dist, since they're not in the distributed sources: they're generated, usually by python/meson. The remaining changes are due to files being moved around.
Include mesa-ver.mk so MESA_VER doesn't get expanded into an empty string. This changes the output of glGetString(GL_VERSION) from: 3.1 Mesa to: 3.1 Mesa 18.3.4 This means programs like firefox/libreoffice no longer blacklist our mesa version as being too old. Fixes WebGL on firefox with AMD CEDAR, reported by nia.
Sync with HEAD
Use and enable MKLLVMRT for HAVE_MESA_VER=18.
remove INCLUDES.all setting and it's processing. already done elsewhere.
pull across most of the new build infrastruture for mesa18 from maya's git tree. this includes may of the changes from the changes below: commit 52d85e74a1197aace38cc7acb705509e969120e6 Author: coypu <coypu@sdf.org> Date: Mon Mar 4 12:25:33 2019 +0200 Make 32bit archs happier. except i386, which now suffers from locked atomics because we don't have clever ifunc tricks in libc. commit ee9b4c19c58127934ed3548ad0d68934cc95ccc7 Author: coypu <coypu@sdf.org> Date: Mon Mar 4 09:08:35 2019 +0200 Adjust includes, append rather than replace, appease clang ppc builds commit a5341a3ad42572c78b6a2e6e5545bd323d7f2e4c Author: coypu <coypu@sdf.org> Date: Sun Mar 3 11:52:19 2019 +0200 Resolve i386 atomic issue and set lists. XXX libGL in i386 is still causing issues XXX pkgconfig file for vdpau XXX set lists for arm32 commit 27bffc20bc15186c92cc5b8d5cc08d7299966b34 Author: coypu <coypu@sdf.org> Date: Sat Mar 2 21:52:45 2019 +0200 make llvm sources x86 specific hopefully not breaking non-x86 clang builds, which have MKLLVM set. commit f9d34922619cc8f2a224c0138a73985e50daf87f Author: coypu <coypu@sdf.org> Date: Sat Mar 2 21:33:31 2019 +0200 move hack to build llvm libraries soon enough. add u_process.c to libGL specifically (dri, gallium and libGL all need it). Add some missing includes for pipe-loader when it moved to gallium commit 2b1083d0d538bb5d5dd88ab2ca0ca6c331e5dd5b Author: coypu <coypu@sdf.org> Date: Sat Mar 2 16:47:58 2019 +0200 shuffle around: some files move from shared driver.mk/loader.mk into gallium. others move to shared. add i915 files. now i965 glxgears works (amd64). commit 1897a90569b30b294bcbedadb3745092eca0bb33 Author: Maya Rashish <maya@NetBSD.org> Date: Sun Feb 24 23:36:26 2019 +0200 Progress towards glxgears on i915 commit 28c9c99a236404de41ae74e88ea6d9578c088b92 Author: Maya Rashish <maya@NetBSD.org> Date: Sun Feb 24 21:55:56 2019 +0200 rototill i965/i915 causing it to no longer startx. Now missing sw_screen_create in the dri driver. commit 48eb746983a5a7967fba221e7b167808af36f44a Author: Maya Rashish <maya@NetBSD.org> Date: Sun Feb 24 09:31:22 2019 +0200 More of vdpau. Cogs spin. commit d9fbba8f61a43648d32f160c5fa62626788566ff Author: Maya Rashish <maya@NetBSD.org> Date: Sat Feb 23 22:36:37 2019 +0200 Adjust for MesaLib 18. Build llvmpipe driver on x86 (the driver itself is x86-only). build llvm on all x86, even on GCC builds. galahad driver removed (upstream). Don't build mesa 7 at all.
move mesa10 build into .old scheme: - add ${X11SRCDIR.MesaLib.old} and introduce ${X11SRCDIR.Mesa} as an alias for either the former or the non old. this allows many of the makefiles to simply use ${X11SRCDIR.Mesa} (but does not really enable much sharing of makefiles, but reduces their diffs.) - use mesa-which.mk to define ${OLD_PREFIX} to either "" or ".old", and to know if to build 'dri7' (.old only.) ${OLD_PREFIX} is used by other code (eg, LIBDPLIBS) to pick the right subdir.
remove some trailing \'s that aren't needed. from Ryosuke Moro
Pull up following revision(s) (requested by mrg in ticket #381): distrib/sets/lists/xdebug/md.amd64: revision 1.7 external/mit/xorg/lib/libGL/internal/Makefile: revision 1.2 distrib/sets/lists/xdebug/md.amd64: revision 1.8 distrib/sets/lists/xserver/md.sparc64: revision 1.55 distrib/sets/lists/xdebug/md.sparc64: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.30 external/mit/xorg/lib/libglapi/Makefile: revision 1.1 distrib/sets/lists/xserver/md.macppc: revision 1.67 external/mit/xorg/lib/dri/radeon/Makefile: file removal external/mit/xorg/lib/asm.mk: revision 1.1 external/mit/xorg/lib/dri/dri.mk: file removal external/mit/xorg/lib/dri/mach64/Makefile: file removal external/mit/xorg/lib/libGL/Makefile: revision 1.21 external/mit/xorg/lib/libGL/Makefile.glslsrcs: file removal external/mit/xorg/lib/dri/Makefile: revision 1.20 external/mit/xorg/lib/driver.mk: revision 1.1 external/mit/xorg/lib/dri/r600/Makefile: file removal external/mit/xorg/lib/dri/r128/Makefile: file removal external/mit/xorg/lib/dri/i915/Makefile: file removal external/mit/xorg/lib/dri/Makefile: revision 1.23 external/mit/xorg/lib/gallium/Makefile: revision 1.1 external/mit/xorg/lib/gallium/Makefile: revision 1.2 distrib/sets/lists/xcomp/mi: revision 1.154 external/mit/xorg/lib/libOSMesa/libmesa.mk: file removal external/mit/xorg/lib/libGL/mesa-ver.mk: revision 1.2 distrib/sets/lists/xserver/mi: revision 1.34 external/mit/xorg/bin/glxgears/Makefile: revision 1.4 distrib/sets/lists/xserver/md.alpha: revision 1.38 external/mit/xorg/lib/libOSMesa/shlib_version: file removal external/mit/xorg/lib/dri/trident/Makefile: file removal external/mit/xorg/lib/dri/i810/Makefile: file removal external/mit/xorg/lib/libGLw/Makefile: revision 1.4 external/mit/xorg/TODO: file removal external/mit/xorg/lib/dri/sis/Makefile: file removal distrib/sets/lists/xserver/md.sparc: revision 1.57 distrib/sets/lists/xserver/md.prep: revision 1.15 distrib/sets/lists/xcomp/shl.mi: revision 1.38 external/mit/xorg/lib/dri/tdfx/Makefile: file removal external/mit/xorg/lib/dri/mga/Makefile: file removal distrib/sets/lists/xdebug/md.macppc: revision 1.4 external/mit/xorg/lib/libOSMesa/Makefile: file removal distrib/sets/lists/xdebug/shl.mi: revision 1.16 external/mit/xorg/lib/libGL/Makefile.mesa: file removal distrib/sets/lists/xdebug/mi: revision 1.9 distrib/sets/lists/xdebug/md.i386: revision 1.7 external/mit/xorg/lib/dri/swrast/Makefile: file removal distrib/sets/lists/xdebug/md.i386: revision 1.8 external/mit/xorg/lib/dri/savage/Makefile: file removal external/mit/xorg/lib/dri/r200/Makefile: file removal distrib/sets/lists/xetc/mi: revision 1.24 distrib/sets/lists/xbase/shl.mi: revision 1.57 distrib/sets/lists/xdebug/md.sparc: revision 1.5 external/mit/xorg/lib/dri/i965/Makefile: file removal external/mit/xorg/lib/libloader.mk: revision 1.1 external/mit/xorg/bin/glxinfo/Makefile: revision 1.5 distrib/sets/lists/xserver/md.ofppc: revision 1.20 external/mit/xorg/lib/libmesa.mk: revision 1.1 external/mit/xorg/lib/dri/libmesa/Makefile: file removal external/mit/xorg/lib/dri/Makefile: revision 1.19 distrib/sets/lists/xserver/md.amd64: revision 1.74 distrib/sets/lists/xserver/md.bebox: revision 1.11 distrib/sets/lists/xdebug/md.ofppc: revision 1.4 external/mit/xorg/lib/libglsl.mk: revision 1.1 external/mit/xorg/lib/dri/r300/Makefile: file removal external/mit/xorg/lib/dri/unichrome/Makefile: file removal external/mit/xorg/lib/dri/s3v/Makefile: file removal distrib/sets/lists/xserver/md.i386: revision 1.93 update sets and reachover makefiles for mesa 10.3.5. fix build problem with radeon_*.c files. - mesa_dri_drivers.so.0.debug is not obsolete for amd64 - kms_swrast_dri.so.0.debug was missing - Don't install absolute symlinks - Add missing debug symlinks - consistently install symlinks (like we do for everything else) - add missing debug libs
file libmesa.mk was added on branch netbsd-7 on 2015-01-05 21:23:50 +0000
update sets and reachover makefiles for mesa 10.3.5.