Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 05:50:03 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
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
Message-ID:  <201609120550.u8C5o3RB072871@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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 <sys/param.h>
++
+ #if defined _MSC_VER
+ #   include <malloc.h>
+ #   define alloca _alloca
+-#elif defined HAVE_ALLOCA_H
++#elif defined BSD4_4
++#   include <stdlib.h>
++#elif defined HAVE_ALLOCA_H 
+ #   include <alloca.h>
+ #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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609120550.u8C5o3RB072871>