From owner-svn-ports-all@freebsd.org Mon Sep 12 05:50:05 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11AA8BD70B6; Mon, 12 Sep 2016 05:50:05 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 BFB1516F; Mon, 12 Sep 2016 05:50:04 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8C5o3fb072882; Mon, 12 Sep 2016 05:50:03 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8C5o3RB072871; Mon, 12 Sep 2016 05:50:03 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201609120550.u8C5o3RB072871@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Mon, 12 Sep 2016 05:50:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421909 - in head/lang: . cilkplus cilkplus/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 05:50:05 -0000 Author: riggs Date: Mon Sep 12 05:50:03 2016 New Revision: 421909 URL: https://svnweb.freebsd.org/changeset/ports/421909 Log: Add cilkplus: A set of compiler extensions from Intel for parallel computing PR: 212317 Submitted by: pfg (maintainer) Added: head/lang/cilkplus/ head/lang/cilkplus/Makefile (contents, props changed) head/lang/cilkplus/distinfo (contents, props changed) head/lang/cilkplus/files/ head/lang/cilkplus/files/patch-runtime_declare-alloca.h (contents, props changed) head/lang/cilkplus/pkg-descr (contents, props changed) head/lang/cilkplus/pkg-plist (contents, props changed) Modified: head/lang/Makefile Modified: head/lang/Makefile ============================================================================== --- head/lang/Makefile Mon Sep 12 05:32:24 2016 (r421908) +++ head/lang/Makefile Mon Sep 12 05:50:03 2016 (r421909) @@ -30,6 +30,7 @@ SUBDIR += cfortran SUBDIR += chibi-scheme SUBDIR += chicken + SUBDIR += cilkplus SUBDIR += cint SUBDIR += cjs SUBDIR += clang-devel Added: head/lang/cilkplus/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cilkplus/Makefile Mon Sep 12 05:50:03 2016 (r421909) @@ -0,0 +1,27 @@ +# Created by: Pedro Giffuni +# $FreeBSD$ + +PORTNAME= cilkplus +PORTVERSION= 20160603 +CATEGORIES= lang devel +MASTER_SITES= https://www.cilkplus.org/sites/default/files/runtime_source/ +PKGNAMESUFFIX= -rtl +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${HG_REVISION} + +MAINTAINER= pfg@FreeBSD.org +COMMENT= Intel Cilk Runtime + +LICENSE= BSD3CLAUSE + +HG_REVISION= 004467 + +USE_GCC= 4.9+ + +ONLY_FOR_ARCHS= i386 amd64 sparc64 + +USE_LDCONFIG= yes +WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-src-${HG_REVISION} + +USES= tar:tgz cmake + +.include Added: head/lang/cilkplus/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cilkplus/distinfo Mon Sep 12 05:50:03 2016 (r421909) @@ -0,0 +1,3 @@ +TIMESTAMP = 1472758796 +SHA256 (cilkplus-rtl-004467.tgz) = e3cc83e42afe34c03da7938b79cdebc3b7f3237d3734a4d45c9ad91d7abe475e +SIZE (cilkplus-rtl-004467.tgz) = 447080 Added: head/lang/cilkplus/files/patch-runtime_declare-alloca.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cilkplus/files/patch-runtime_declare-alloca.h Mon Sep 12 05:50:03 2016 (r421909) @@ -0,0 +1,18 @@ +--- runtime/declare-alloca.h.orig 2016-06-01 19:59:38 UTC ++++ runtime/declare-alloca.h +@@ -53,10 +53,14 @@ + * be wrong. Here's a variant on what's recommended in the autoconf doc + */ + ++#include ++ + #if defined _MSC_VER + # include + # define alloca _alloca +-#elif defined HAVE_ALLOCA_H ++#elif defined BSD4_4 ++# include ++#elif defined HAVE_ALLOCA_H + # include + #elif defined __GNUC__ + # define alloca __builtin_alloca Added: head/lang/cilkplus/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cilkplus/pkg-descr Mon Sep 12 05:50:03 2016 (r421909) @@ -0,0 +1,24 @@ +Intel Cilk Plus is an extension to the C and C++ languages to support data +and task parallelism. + +Primary Features + +High Performance: + * An efficient work-stealing scheduler provides nearly optimal + scheduling of parallel tasks + * Vector support unlocks the performance that's been hiding in your + processors + * Powerful hyperobjects allow for lock-free programming +Easy to Learn: + * Only 3 new keywords to implement task parallelism + * Serial semantics make understanding and debugging the parallel + program easier + *Array Notations provide a natural way to express data parallelism +Easy to Use: + * Automatic load balancing provides good behavior in multi-programmed + environments + * Existing algorithms easily adapted for parallelism with minimal + modification + * Supports both C and C++ programmers + +WWW: https://www.cilkplus.org/ Added: head/lang/cilkplus/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/cilkplus/pkg-plist Mon Sep 12 05:50:03 2016 (r421909) @@ -0,0 +1,26 @@ +include/cilk/cilk.h +include/cilk/cilk_api.h +include/cilk/cilk_api_linux.h +include/cilk/cilk_stub.h +include/cilk/cilk_undocumented.h +include/cilk/common.h +include/cilk/holder.h +include/cilk/hyperobject_base.h +include/cilk/metaprogramming.h +include/cilk/reducer.h +include/cilk/reducer_file.h +include/cilk/reducer_list.h +include/cilk/reducer_max.h +include/cilk/reducer_min.h +include/cilk/reducer_min_max.h +include/cilk/reducer_opadd.h +include/cilk/reducer_opand.h +include/cilk/reducer_opmul.h +include/cilk/reducer_opor.h +include/cilk/reducer_opxor.h +include/cilk/reducer_ostream.h +include/cilk/reducer_string.h +include/cilk/reducer_vector.h +lib/libcilkrts.a +lib/libcilkrts.so +lib/libcilkrts.so.5