svn commit: r318103 - projects/clang500-import/lib/clang/headers

Dimitry Andric dim at FreeBSD.org
Tue May 9 20:07:35 UTC 2017


Author: dim
Date: Tue May  9 20:07:34 2017
New Revision: 318103
URL: https://svnweb.freebsd.org/changeset/base/318103

Log:
  Add new LWP intrinsics header, and an option to install internal clang
  headers which have the same name as our system headers, and might
  conflict with them.  (It is a work in progress to make these fully
  compatible.)

Modified:
  projects/clang500-import/lib/clang/headers/Makefile

Modified: projects/clang500-import/lib/clang/headers/Makefile
==============================================================================
--- projects/clang500-import/lib/clang/headers/Makefile	Tue May  9 19:54:33 2017	(r318102)
+++ projects/clang500-import/lib/clang/headers/Makefile	Tue May  9 20:07:34 2017	(r318103)
@@ -52,6 +52,7 @@ INCS+=		htmintrin.h
 INCS+=		htmxlintrin.h
 INCS+=		ia32intrin.h
 INCS+=		immintrin.h
+INCS+=		lwpintrin.h
 INCS+=		lzcntintrin.h
 INCS+=		mm3dnow.h
 INCS+=		mm_malloc.h
@@ -85,6 +86,25 @@ INCS+=		xsavesintrin.h
 INCS+=		xtestintrin.h
 INCS+=		${GENINCS}
 
+# Headers which possibly conflict with our own versions:
+.if defined(INSTALL_CONFLICTING_CLANG_HEADERS)
+INCS+=		float.h
+INCS+=		intrin.h
+INCS+=		inttypes.h
+INCS+=		iso646.h
+INCS+=		limits.h
+INCS+=		stdalign.h
+INCS+=		stdarg.h
+INCS+=		stdatomic.h
+INCS+=		stdbool.h
+INCS+=		stddef.h
+INCS+=		stdint.h
+INCS+=		stdnoreturn.h
+INCS+=		tgmath.h
+INCS+=		unwind.h
+INCS+=		varargs.h
+.endif
+
 arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
 	${CLANG_TBLGEN} -gen-arm-neon \
 	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \


More information about the svn-src-projects mailing list