From patchwork Sat Jul 1 13:49:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: gemmaro X-Patchwork-Id: 51485 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C5DC427BBEA; Sat, 1 Jul 2023 14:54:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0D00727BBE2 for ; Sat, 1 Jul 2023 14:54:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFb36-00024L-Jv; Sat, 01 Jul 2023 09:54:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFb35-000240-0j for guix-patches@gnu.org; Sat, 01 Jul 2023 09:54:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFb34-0005Q3-O6 for guix-patches@gnu.org; Sat, 01 Jul 2023 09:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFb34-0002ba-4x for guix-patches@gnu.org; Sat, 01 Jul 2023 09:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61678] [PATCH v3 1/2] gnu: Add massivethreads. References: In-Reply-To: Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jul 2023 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61678 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61678@debbugs.gnu.org Cc: gemmaro Received: via spool by 61678-submit@debbugs.gnu.org id=B61678.16882196149983 (code B ref 61678); Sat, 01 Jul 2023 13:54:02 +0000 Received: (at 61678) by debbugs.gnu.org; 1 Jul 2023 13:53:34 +0000 Received: from localhost ([127.0.0.1]:56989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFb2c-0002aw-Ge for submit@debbugs.gnu.org; Sat, 01 Jul 2023 09:53:34 -0400 Received: from mail-pj1-f45.google.com ([209.85.216.45]:55791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFb2a-0002al-1u for 61678@debbugs.gnu.org; Sat, 01 Jul 2023 09:53:33 -0400 Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-262dc1ced40so1951809a91.3 for <61678@debbugs.gnu.org>; Sat, 01 Jul 2023 06:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688219606; x=1690811606; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xbSJL6H8otdImC9XUYMFpEwdRW4is/PRSpyYqy2EJMQ=; b=U5D2Rci6LtFCh9sxayzg8o3Ww9NWuzsocwVoW2vkgw3+PfWXzQk2UGyxxMuMSWF0tR m81rFkEsIRu4udKAeUM4nVwNVfeHvtNO0iSgWkXqARf4ZVgPCDB+i9/379s07gNcTrbl SxRh8DH4auE7hYKibd1VE2gdN8Bch31deFJBu2T+Ql/8nXSs55dVgu5cNT3sBZIpv7Rp z2VjmtBGe/gRDNegHexqSrAMbIXTaj7OYskJyU9bxm5L8XFQ7Gv1/mjlvdv+CxgkfOB/ 4ccIBxqcU/V45N0ieoDeUI4iY8i0O76fZtAQZBaaNodRnUuDY/I0FEdk7fG2T2NpoOWM 2OrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688219606; x=1690811606; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xbSJL6H8otdImC9XUYMFpEwdRW4is/PRSpyYqy2EJMQ=; b=kwriTJOgBh4l5Chn9nC4H/d+8gmHVZUQMfwBTCSGbddXIybD3y4l3B63fGx+wMd/FR m1wyN421zCwUcWuVtZ9K4js2g+OpRyYMlPAd3i706YmierWPrBMaJAP0yZ+et1EX3iy1 DUBSlWWunazd5BSsJL/q4NDBrVmBzUbaM8zFDl4vEd4R5jHIBGAFeIxouFhRGOBvH7mz UPkhL7RBTkZzeqjkYaiJ/sPLU+IVVEg2NTgnvG45fc7RJl+as2RNRjm6c1kSZU7c6WPC bgwnLP16MJlNoUXkArKV6vOQ3dd/T2x+I6CX4b67/91J5cNUQNLJCZWdVPF9vrNm2vfb e8zQ== X-Gm-Message-State: ABy/qLbd2gsiao4jCV8vv7JRDGBkjMiYRfHs+fmXvKgUqA/ZIHrKIHjd CJwYDUDDHzpRAWLk7ybp+esxuI1CQgk= X-Google-Smtp-Source: APBJJlFwIIFJo8TRsTeiFHxa+1q88ccHtoMFtp/Kc3+VpW6MEAcye/4DIUh0qg7K88ZUwV2XTgAyew== X-Received: by 2002:a17:90a:19ca:b0:25e:f6bf:badb with SMTP id 10-20020a17090a19ca00b0025ef6bfbadbmr5175239pjj.4.1688219605999; Sat, 01 Jul 2023 06:53:25 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id c3-20020a17090a490300b0026307fa0442sm9083540pjh.49.2023.07.01.06.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jul 2023 06:53:25 -0700 (PDT) From: gemmaro Date: Sat, 1 Jul 2023 22:49:04 +0900 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/parallel.scm (massivethreads): New variable. --- gnu/packages/parallel.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) base-commit: 889e1dbae3b0d4ac2300b524b3dd6b8f0499ff5e diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 569e98430c..a5c297b04a 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2019-2022 Ludovic Courtès ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2023 gemmaro ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,6 +49,7 @@ (define-module (gnu packages parallel) #:use-module (gnu packages documentation) #:use-module (gnu packages flex) #:use-module (gnu packages freeipmi) + #:use-module (gnu packages gcc) #:use-module (gnu packages linux) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) @@ -552,3 +554,29 @@ (define-public psimd "This header-only C++ library provides a portable interface to single-instruction multiple-data (SIMD) intrinsics.") (license license:expat)))) + +(define-public massivethreads + (package + (name "massivethreads") + (version "1.00") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/massivethreads/massivethreads") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0d93xf2zknq92wlcm7xc7zbja2fh3qyl543xx2qc64k3rslmf8yh")))) + (build-system gnu-build-system) + ;; Cannot built with glibc 2.34 or later. + ;; https://github.com/massivethreads/massivethreads/pull/15 + (inputs (list glibc-2.33 gcc-10)) + (home-page "https://www.eidos.ic.i.u-tokyo.ac.jp/research/massivethreads/") + (synopsis "Lightweight thread library") + (description + "MassiveThreads is a thread library that can spawn threads two orders of +magnitude faster than native operating system threads. It provides three APIs +to use: native intefrace, pthread-compatible interface, and TBB-like +interface.") + (license license:bsd-2)))