Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/gallium allow building arm llvmpipe.



details:   https://anonhg.NetBSD.org/src/rev/140dde6b3f5f
branches:  trunk
changeset: 457030:140dde6b3f5f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jun 07 12:11:43 2019 +0000

description:
allow building arm llvmpipe.

diffstat:

 external/mit/xorg/lib/gallium/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 0ad56fbdbd2f -r 140dde6b3f5f external/mit/xorg/lib/gallium/Makefile
--- a/external/mit/xorg/lib/gallium/Makefile    Fri Jun 07 11:41:44 2019 +0000
+++ b/external/mit/xorg/lib/gallium/Makefile    Fri Jun 07 12:11:43 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2019/06/07 06:00:05 mrg Exp $
+# $NetBSD: Makefile,v 1.31 2019/06/07 12:11:43 mrg Exp $
 
 # Link the gallium mega driver.
 
@@ -1009,6 +1009,17 @@
                AArch64TargetInfo
 .endif
 
+.if ${MACHINE_CPU} == "arm"
+# XXX duplicates
+LLVMRT_LIBS+=  \
+               ARMCodeGen \
+               ARMTargetInfo \
+               ARMMCTargetDesc \
+               ARMAsmParser \
+               ARMAsmPrinter \
+               ARMUtils
+.endif
+
 LLVMRT_LIBS+=  \
                GlobalISel \
                MCDisassembler \



Home | Main Index | Thread Index | Old Index