Date: Thu, 2 Nov 2017 07:48:05 +0100 From: Sid <sid@bsdmail.com> To: x11@freebsd.org Subject: graphics/mesa-dri Makefile.common llvm50 suggestion Message-ID: <trinity-a23d1ac1-1c8a-467a-b908-0965aa4d8221-1509605285933@3c-app-mailcom-lxa16>
next in thread | raw e-mail | index | archive | help
Here is a suggestion for Makefile.common of graphics/mesa-dri so it can readily compile with llvm50, as well as llvm40. Thank you. --- Makefile.common 2017-11-01 17:58:49.942976000 -0500 +++ Makefile.common.llvm50 2017-11-02 01:00:06.710847000 -0500 @@ -76,8 +76,14 @@ # need LLVM for libEGL wherever possible, but mixing GCC and LLVM breaks Gallium .if ${CHOSEN_COMPILER_TYPE} == clang \ + || ${CHOSEN_COMPILER_VERSION} == 40 \ || (${COMPONENT} == libs && ${ARCH} != sparc64) # no working LLVM -MESA_LLVM_VER?= 40 +.endif + +.if ${CHOSEN_COMPILER_TYPE} == clang \ + || ${CHOSEN_COMPILER_VERSION} == 50 \ + || (${COMPONENT} == libs && ${ARCH} != sparc64) +MESA_LLVM_VER?= 50 .endif .if "${MESA_LLVM_VER}" != ""
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-a23d1ac1-1c8a-467a-b908-0965aa4d8221-1509605285933>