From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add threadingbuildingblocks. Date: Thu, 08 Sep 2016 23:11:17 +0000 Message-ID: <87fupaq962.fsf@we.make.ritual.n0.is> References: <20160908230706.23925-1-ng0@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi8Tq-0002ie-I2 for guix-devel@gnu.org; Thu, 08 Sep 2016 19:11:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi8Tl-0007qM-VG for guix-devel@gnu.org; Thu, 08 Sep 2016 19:11:38 -0400 Received: from aibo.runbox.com ([91.220.196.211]:39988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi8Tl-0007qC-O3 for guix-devel@gnu.org; Thu, 08 Sep 2016 19:11:33 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bi8Tk-0007Wg-S5 for guix-devel@gnu.org; Fri, 09 Sep 2016 01:11:32 +0200 Received: from x5d83f323.dyn.telefonica.de ([93.131.243.35] helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bi8TW-0005s7-1M for guix-devel@gnu.org; Fri, 09 Sep 2016 01:11:18 +0200 In-Reply-To: <20160908230706.23925-1-ng0@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org I am unclear about the name. What do people expect to find this as? Do I include Intel as it intel® tbb? I just add this as a dependency Pixar USD needs. ng0 writes: > * gnu/packages/parallel.scm (threadingbuildingblocks): New variable. > --- > gnu/packages/parallel.scm | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm > index 3bb078e..223b318 100644 > --- a/gnu/packages/parallel.scm > +++ b/gnu/packages/parallel.scm > @@ -6,6 +6,7 @@ > ;;; Copyright © 2016 Andreas Enge > ;;; Copyright © 2016 Ricardo Wurmus > ;;; Copyright © 2016 Ben Woodcroft > +;;; Copyright © 2016 ng0 > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -175,3 +176,35 @@ to SLURM. Using DRMAA, grid applications builders, portal developers and ISVs > can use the same high-level API to link their software with different > cluster/resource management systems.") > (license license:gpl3+))) > + > +(define-public threadingbuildingblocks > + (package > + (name "threadingbuildingblocks") > + (version "2017_20160722oss") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://www.threadingbuildingblocks.org/sites/" > + "default/files/software_releases/source/" > + "tbb" version "_src.tgz")) > + (sha256 > + (base32 > + "038rmv3s8si51bjrzwyv8ldqw742fjjdfayi8pmjaq5zw32b8pzx")))) > + (build-system gnu-build-system) > + (inputs > + `(("python" ,python))) > + (arguments > + `(;; XXX: make 'check' is run with 'make all', however the 'all' phase takes > + ;; 30+ minutes on a AMD FX-4300 Quad-Core Processor buildmachine. > + #:tests? #f > + #:phases > + (modify-phases %standard-phases > + (delete 'configure)))) ; No configure script > + (home-page "https://www.threadingbuildingblocks.org") > + (synopsis "C++ template library for task parallelism") > + (description > + "Intel Threading Building Blocks lets you easily write parallel > +C++ programs that take full advantage of multicore performance, that > +are portable and composable, and that have future-proof scalability. > +Its main features are parallel algorithms and data structures, and > +scalable memory allocation and task scheduling.") > + (license license:asl2.0))) > -- > 2.10.0 > > -- ng0 For non-prism friendly talk find me on http://www.psyced.org