From e4dfe8ce9b850e33359f8d5efdc1f9e2db601f76 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 2 Mar 2015 19:59:06 +0000 Subject: LLVM's correlated value propagation pass is known to require a lot of memory and CPU time for certain input. Provide a variable (CLANG_NO_VALUE_PROPAGATION_PASS) for selectively disabling it in those places known to trigger it. --- lang/qore/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lang/qore') diff --git a/lang/qore/Makefile b/lang/qore/Makefile index de1b4b49d03..e0f92f2451b 100644 --- a/lang/qore/Makefile +++ b/lang/qore/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2015/01/16 10:23:24 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2015/03/02 19:59:07 joerg Exp $ DISTNAME= qore-0.8.11 PKGREVISION= 2 @@ -42,6 +42,9 @@ post-install: .include "application.mk" .include "options.mk" +_WRAP_EXTRA_ARGS.CXX+= ${CLANG_NO_VALUE_PROPAGATION_PASS} +CWRAPPERS_APPEND.cxx+= ${CLANG_NO_VALUE_PROPAGATION_PASS} + .include "../../archivers/bzip2/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" -- cgit v1.2.3