From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AD97B59CAF for ; Sat, 2 Apr 2016 09:06:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DAA3E07FC; Sat, 2 Apr 2016 09:06:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48864E07FB for ; Sat, 2 Apr 2016 09:06:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47CD2340DC7 for ; Sat, 2 Apr 2016 09:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 256D683 for ; Sat, 2 Apr 2016 09:06:23 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1459587959.d47d7fc186f119b1dec024fa23fce7e771f3d296.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ocaml/metadata.xml dev-lang/ocaml/ocaml-4.03.0_beta2.ebuild X-VCS-Directories: dev-lang/ocaml/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: d47d7fc186f119b1dec024fa23fce7e771f3d296 X-VCS-Branch: master Date: Sat, 2 Apr 2016 09:06:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8c3e8bc3-d8ca-4382-9cb3-d0197b776777 X-Archives-Hash: d2252d6c1ae255057a90dc9e1aab32a8 commit: d47d7fc186f119b1dec024fa23fce7e771f3d296 Author: Alexis Ballier gentoo org> AuthorDate: Sat Apr 2 09:05:30 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Apr 2 09:05:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47d7fc1 dev-lang/ocaml: add flambda useflag Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier gentoo.org> dev-lang/ocaml/metadata.xml | 3 +++ dev-lang/ocaml/ocaml-4.03.0_beta2.ebuild | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-lang/ocaml/metadata.xml b/dev-lang/ocaml/metadata.xml index ffac4d7..aabb331 100644 --- a/dev-lang/ocaml/metadata.xml +++ b/dev-lang/ocaml/metadata.xml @@ -5,4 +5,7 @@ ml@gentoo.org Gentoo ML Project + + Enables the Flambda optimizer: A new intermediate representation (introduced in ocaml 4.03) in the depths of the compiler designed to allow for better inlining. + diff --git a/dev-lang/ocaml/ocaml-4.03.0_beta2.ebuild b/dev-lang/ocaml/ocaml-4.03.0_beta2.ebuild index 0aea93c..f795dae 100644 --- a/dev-lang/ocaml/ocaml-4.03.0_beta2.ebuild +++ b/dev-lang/ocaml/ocaml-4.03.0_beta2.ebuild @@ -18,7 +18,7 @@ LICENSE="QPL-1.0 LGPL-2" # so here we go with the subslot. SLOT="0/${PV}" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="emacs latex ncurses +ocamlopt X xemacs" +IUSE="emacs flambda latex ncurses +ocamlopt X xemacs" RDEPEND=" ncurses? ( sys-libs/ncurses:0= ) @@ -60,6 +60,7 @@ src_configure() { use ncurses || myconf="${myconf} -no-curses" use X || myconf="${myconf} -no-graph" + use flambda && myconf="${myconf} -flambda" # ocaml uses a home-brewn configure script, preventing it to use econf. RAW_LDFLAGS="$(raw-ldflags)" ./configure \