unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add threadingbuildingblocks.
@ 2016-09-08 23:07 ng0
  2016-09-08 23:11 ` ng0
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: ng0 @ 2016-09-08 23:07 UTC (permalink / raw)
  To: guix-devel

* 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 <andreas@enge.fr>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
+;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-09-09  9:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08 23:07 [PATCH] gnu: Add threadingbuildingblocks ng0
2016-09-08 23:11 ` ng0
2016-09-08 23:17   ` Jeff Mickey
2016-09-08 23:52     ` ng0
2016-09-09  0:26 ` Marius Bakke
2016-09-09  9:16   ` ng0
2016-09-09  4:11 ` Eric Bavier
2016-09-09  9:17   ` ng0
2016-09-09  9:18   ` ng0

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).