pkgsrc-WIP-changes archive

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

compiler-rt-git: Add target check-compiler-rt



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Jul 4 22:19:16 2017 +0200
Changeset:	b17d7aa9df6cd60b2f20461417769a21306515ad

Modified Files:
	compiler-rt-git/Makefile
	compiler-rt-git/distinfo
	compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc

Log Message:
compiler-rt-git: Add target check-compiler-rt

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b17d7aa9df6cd60b2f20461417769a21306515ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 compiler-rt-git/Makefile                                              | 4 ++++
 compiler-rt-git/distinfo                                              | 2 +-
 .../patch-lib_sanitizer__common_sanitizer__syscall__generic.inc       | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diffs:
diff --git a/compiler-rt-git/Makefile b/compiler-rt-git/Makefile
index 6444748c68..607ab5ccb0 100644
--- a/compiler-rt-git/Makefile
+++ b/compiler-rt-git/Makefile
@@ -27,9 +27,13 @@ CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
 CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
 CMAKE_ARGS+=	-DCOMPILER_RT_OS_DIR:STRING=${LOWER_OPSYS}${OS_VERSION:R}
 CMAKE_ARGS+=	-DCOMPILER_RT_INSTALL_PATH:STRING=lib/clang/${PKGVERSION_NOREV}
+CMAKE_ARGS+=	-DCOMPILER_RT_INCLUDE_TESTS:BOOL=ON
 
 PLIST_SUBST+=	COMPILER_RT_OS_DIR=${LOWER_OPSYS}${OS_VERSION:R}
 
+TEST_TARGET=		check-compiler-rt
+TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
+
 post-extract:
 	${RUN} mkdir -p ${WRKDIR}/build
 
diff --git a/compiler-rt-git/distinfo b/compiler-rt-git/distinfo
index 550a69a393..59a97a6397 100644
--- a/compiler-rt-git/distinfo
+++ b/compiler-rt-git/distinfo
@@ -39,5 +39,5 @@ SHA1 (patch-lib_sanitizer__common_sanitizer__posix.cc) = a561675ba1a7ef3b71d5c0a
 SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps.h) = 2bc9a7c32f0a7d18fe4d0d465b9b42547abbd989
 SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__common.cc) = 5a407e496f92dfd2dd78a3b2582d7c695e2547fb
 SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__netbsd.cc) = 83f8088cb990ebc5a85e319f1d4990d04196d67a
-SHA1 (patch-lib_sanitizer__common_sanitizer__syscall__generic.inc) = 34bf19462835dd65d33dec1224fde9c61aa94cff
+SHA1 (patch-lib_sanitizer__common_sanitizer__syscall__generic.inc) = 16756d53b0df8d5fa3fc5a10ca02b0be2664628b
 SHA1 (patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc) = cf7e016fff0f57e7bcae93696ec05e5cff7b7093
diff --git a/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc b/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc
index 9852a2ac43..6d45ab99f5 100644
--- a/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc
+++ b/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc
@@ -31,7 +31,7 @@ $NetBSD$
 +//   - internal_syscall     for 32-bit length (int, pid_t)
 +//   - internal_syscall64   for 64-bit length (off_t)
 +//   - internal_syscall_ptr for pointer and (s)size_t
-+# define  internal_syscall      syscall                                                                                               
++# define  internal_syscall      syscall
 +# define  internal_syscall64    __syscall
 +# if SANITIZER_WORDSIZE == 64
 +#  define internal_syscall_ptr  __syscall


Home | Main Index | Thread Index | Old Index