Date: Thu, 21 May 2015 07:52:10 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> 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 Message-ID: <201505210752.t4L7qAem031203@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <aandersson@tappsi.co> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505210752.t4L7qAem031203>