From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KNBDMjitnWQTWgEASxT56A (envelope-from ) for ; Thu, 29 Jun 2023 18:11:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QLUyMjitnWSwSQEA9RJhRA (envelope-from ) for ; Thu, 29 Jun 2023 18:11:36 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 88DA91D1D5 for ; Thu, 29 Jun 2023 18:11:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=QNgNZxIX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688055096; a=rsa-sha256; cv=none; b=IFtC1QLvM/njrbN6O4nLJ2H3GTPhlqvzepeXjEzV6eMubLq+W9BAH/GC6RnbeLUyKW7ouo yKRmiqPCA/+UHcMbBbLCXP+xH1QaJx5lBOQF39lP0rqs/NOuoKexflM3wol4z1d2g5R6uR wv2i0c8kRd0PO92x2aNdh8xGerpv02sBhaw2qoIjuWkB4w+hPBH6e2kXGnz67FsKsa6hfV c2S328oVUyCqNrmeBBc57IpY99brlhWRUae6UmHfQBDisAecWkvtNaHafVnmhenZdfF0oB sW1xxAPSDHlrUmoyDa+FskxS31cs/ay+yueooof/qGv8sgGBdad5RCX7iWDfHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=QNgNZxIX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688055096; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OO6TD57vvLLYF0QwAT1n8lNP+2mNYpy9P2GGhpL01nA=; b=lSZss8kYMis+Nf3C5AZPuidkKDFvHW15WMqEeiGagItc97tstGzbxfKi+OHj2T4DV42hLh MKZxLnSFi5jvn+zOYVs6nYc+kP4yGNWpkJkMDVMkCvNi4RoGdATfGn9haWbDePhBfzln4f PvHUSZFhAYgNFUQonlKzSIMV+ZcE7RnGzi7EKxQAXY9IQWCKPqQFnsS9fIYeT2ZvoD3KMZ T8R/155C2pVLcfJI8/WoPWMEhJH2P5EjlgF1AJy8mRxILL9iZ4IgJ0pnr1XYZp3tmFj7oh 4jGBk++r0UWwgNvlDxyOyIgEx2F8YmkQrWUA86xi/SZKks+bci9ful2sTqfvcA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEuEj-0006gU-LK; Thu, 29 Jun 2023 12:11:14 -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 1qEuEY-0006cP-Pb for guix-patches@gnu.org; Thu, 29 Jun 2023 12:11:04 -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 1qEuEY-0004x7-Gx for guix-patches@gnu.org; Thu, 29 Jun 2023 12:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qEuEY-0007PN-3K for guix-patches@gnu.org; Thu, 29 Jun 2023 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61678] [PATCH v2 1/2] gnu: Add massivethreads. References: In-Reply-To: Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Jun 2023 16:11: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.168805502628433 (code B ref 61678); Thu, 29 Jun 2023 16:11:02 +0000 Received: (at 61678) by debbugs.gnu.org; 29 Jun 2023 16:10:26 +0000 Received: from localhost ([127.0.0.1]:53905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEuDy-0007OX-3H for submit@debbugs.gnu.org; Thu, 29 Jun 2023 12:10:26 -0400 Received: from mail-pl1-f169.google.com ([209.85.214.169]:48423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEuDv-0007OD-JY for 61678@debbugs.gnu.org; Thu, 29 Jun 2023 12:10:25 -0400 Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1b8054180acso7040895ad.1 for <61678@debbugs.gnu.org>; Thu, 29 Jun 2023 09:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688055017; x=1690647017; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OO6TD57vvLLYF0QwAT1n8lNP+2mNYpy9P2GGhpL01nA=; b=QNgNZxIXUWGwzcUGHlqAXFeb3r+tikAi3aIn9lPf9ch4e4KaKh7XuN4DxHYtH30riP iYeXKvg0PNUouDmQkw72Axq0oc54oo47Ocgc21cy0Ms5UX06WMrgVzixhl5+OVhPUF2c 3hg1XfnCutWw9gfi6mvXDTRdifenKyC7LKjBAvytq2ThSkUCG1E/d/S6EgY/84Pse8g8 b43lUsKeXb9eUChD8HxZp0iZdD58R8/B6KG8A1BqEvhMP1G8nmdXL7pnFj8otiOJQxJX 7dOuQvUrfWnrkuSelyevWD0aEX7HRIkLknsw3QKlpNG8sei1pTi3LIcXqy0UahfMFOVi ckfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688055017; x=1690647017; 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=OO6TD57vvLLYF0QwAT1n8lNP+2mNYpy9P2GGhpL01nA=; b=lLLUSWtHPIXmjeyN+XL4iRCx+9SMKr8CPBrt0EMJRBPgEURmTAWI1QOjzvix3yHjeh IMTMpy3xWCA+nVlWC3GbLJ2uCMYLtDqbbrIQKu8LfCcw6d/jBUU+FMsDglxf7PuZDk9S 3HrUTIpRHfRDzZHNtrEqi/WoJagu2Pp/imnUjdyn+vFpEP0AgZ/Hf+AvJ8dFgy3cSE1Y Cu4EEYc5MfLrrXxEpqKkeS+KpsoO/Uen9lOi5ZbRNXSRMY9PzTObHjJxfADb7gyx8scX OFNbWo2X4ALPcvOPHzIy2NKSVAQ+4M8DhGm9FPgMXtbLJRpOeHugPmb0gAqjs24iHk2j 04/A== X-Gm-Message-State: AC+VfDzaR7e25SjpikvkYu1LwHM7m3QVmJj5eiP95cKCgV+jdYuYAJK9 COESfPfbaQ0U3fmxXH7zRIOfQ0wfJ+j0qg== X-Google-Smtp-Source: ACHHUZ7K3kBCCzqjzqYWmz262jQ89xbfmPR2mQFgZcACZcrw/fkrEa70bhtsq50Z9pL6hcSmC48bhA== X-Received: by 2002:a17:902:ce8a:b0:1b8:d4c:725 with SMTP id f10-20020a170902ce8a00b001b80d4c0725mr12673778plg.15.1688055017408; Thu, 29 Jun 2023 09:10:17 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id iw4-20020a170903044400b001b80104446fsm7192480plb.20.2023.06.29.09.10.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 09:10:16 -0700 (PDT) From: gemmaro Date: Fri, 30 Jun 2023 01:07:34 +0900 Message-Id: <078f906404a1961b04d246f922c8d21f70e5fc55.1688054848.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.16 X-Migadu-Queue-Id: 88DA91D1D5 X-Spam-Score: -2.16 X-TUID: /xmkNWnaAlWW * gnu/packages/parallel.scm (massivethreads): New variable. --- gnu/packages/parallel.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 569e98430c7..da5dd6a0b94 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 "v1.00"))) + (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 for high productivity languages") + (description + "A thread library that can spawn threads two orders of magnitude faster +than native operating system threads. Based on this technology, we are +working on high-level parallel programming languages that target a range of +machines from multi-core computers to massively parallel processors.") + (license license:bsd-2))) base-commit: 2b25bc03a11e1c6a473bbb000c35e94233120346 -- 2.40.1