From owner-svn-ports-head@FreeBSD.ORG Thu May 21 07:52:11 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 638E68D0; Thu, 21 May 2015 07:52:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37BFB1102; Thu, 21 May 2015 07:52:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4L7qBSm031205; Thu, 21 May 2015 07:52:11 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4L7qAem031203; Thu, 21 May 2015 07:52:10 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201505210752.t4L7qAem031203@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Thu, 21 May 2015 07:52:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386918 - in head/lang: erlang erlang-runtime17 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 07:52:11 -0000 Author: olgeni Date: Thu May 21 07:52:10 2015 New Revision: 386918 URL: https://svnweb.freebsd.org/changeset/ports/386918 Log: Add an option to enable the (still experimental) dirty scheduler feature. Submitted by: Andreas Andersson Modified: head/lang/erlang-runtime17/Makefile head/lang/erlang/Makefile Modified: head/lang/erlang-runtime17/Makefile ============================================================================== --- head/lang/erlang-runtime17/Makefile Thu May 21 07:49:05 2015 (r386917) +++ head/lang/erlang-runtime17/Makefile Thu May 21 07:52:10 2015 (r386918) @@ -26,7 +26,7 @@ SUB_LIST= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes -OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX +OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX DIRTY GCC_DESC= Use current GCC HIPE_DESC= Build native HiPE compiler @@ -36,6 +36,7 @@ SMP_DESC= Enable SMP support WX_DESC= Enable WX application GS_DESC= Enable GS application (deprecated) DTRACE_DESC= Enable DTrace support +DIRTY_DESC= Enable Dirty schedulers (experimental) OPTIONS_DEFAULT=KQUEUE OPENSSL SCTP SMP THREADS OPTIONS_EXCLUDE_DragonFly= SCTP @@ -147,6 +148,10 @@ CONFIGURE_ARGS+=--enable-smp-support CONFIGURE_ARGS+=--disable-smp-support .endif +.if ${PORT_OPTIONS:DIRTY} +CONFIGURE_ARGS+=--enable-dirty-schedulers +.endif + .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif Modified: head/lang/erlang/Makefile ============================================================================== --- head/lang/erlang/Makefile Thu May 21 07:49:05 2015 (r386917) +++ head/lang/erlang/Makefile Thu May 21 07:52:10 2015 (r386918) @@ -31,7 +31,7 @@ PLIST_SUB= ERLANG_LIB=${ERLANG_LIB} MAKE_JOBS_UNSAFE=yes -OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX +OPTIONS_DEFINE= DOCS DTRACE GCC GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX DIRTY GCC_DESC= Use current GCC HIPE_DESC= Build native HiPE compiler @@ -41,6 +41,7 @@ SMP_DESC= Enable SMP support WX_DESC= Enable WX application GS_DESC= Enable GS application (deprecated) DTRACE_DESC= Enable DTrace support +DIRTY_DESC= Enable Dirty schedulers (experimental) OPTIONS_DEFAULT=KQUEUE OPENSSL SCTP SMP THREADS OPTIONS_EXCLUDE_DragonFly= SCTP @@ -164,6 +165,10 @@ CONFIGURE_ARGS+=--enable-smp-support CONFIGURE_ARGS+=--disable-smp-support .endif +.if ${PORT_OPTIONS:DIRTY} +CONFIGURE_ARGS+=--enable-dirty-schedulers +.endif + .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif