From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WLqJBBybkmWYZAAAkFu2QA (envelope-from ) for ; Mon, 01 Jan 2024 11:59:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SHTcORubkmXUBwEAe85BDQ (envelope-from ) for ; Mon, 01 Jan 2024 11:59:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iljSTNWu; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704106779; 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=1DyXhMKUq6mRr/jfj0bs1165tiViWh3NcU+LP1diWv8=; b=udHue78ajf3dFovl7xovx4MN9JNx+sg6EUq1KVzM3vLurJUVe2Ak5raUHYVBAHG369i+zd ByBSqPBJKOPsxX+PfwyCUD6C+OZY7Z1QwTwALVGPgNeUh4u6eyklv3Iu34TOgn/0/WEUtq xo4rco0RE3jcejXB7L1JveU2LMR5gzmBVlxpJ2pagRWnZ4WJmimAJoeA5KX/KdvpGJORu2 xvsHZnmx7LpBfNfOC03b5iaoiSxbCNtKu5xGXLE0ZFobj9gRc5+Gz+Vgx0pp2d5RleK/Ch DZvwTV6cKL/7GmYsVJ7PUzMLuy6CO6ji1D65GRW6cRw4p7t6a8RR4V2ne1xDkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iljSTNWu; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704106779; a=rsa-sha256; cv=none; b=gZwim8OajVwMHBDEGC2f7kTway61UPQ6NpTzYwvUZy9PaiAcGaxheBtI2dDiVOCJB+wY9g llboPIQAfL2qs+VkbMBjzFzsRYhzUxx4rh6AdRiil9S+w1H2gToNY2wNBwSQB6ulPAEySQ Mt1CRzoYIOj5PrLlyQJVCVwpGAfch+ZaCk3enBWiePURDRv72H75gv8ypgUfjBreIiAvzd ELRh794CYssh8YCg0V33HYHJsYWVQLYRjWBCm94kci+DaYY+cqFkTObJFoY0NCy0ZRKNkj m2CMgnU9MM0DdCE1mYUASv3fSAE+zKXMKk/0thlKL+Y83JNeU4/xSfZ0TBV7gA== 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 B393F53EB4 for ; Mon, 1 Jan 2024 11:59:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKG0g-0005qn-3Y; Mon, 01 Jan 2024 05:59:06 -0500 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 1rKG0c-0005q0-MX for guix-patches@gnu.org; Mon, 01 Jan 2024 05:59:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKG0a-000843-Pj for guix-patches@gnu.org; Mon, 01 Jan 2024 05:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKG0c-00052r-5N for guix-patches@gnu.org; Mon, 01 Jan 2024 05:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61678] [PATCH v4 1/2] gnu: Add massivethreads. References: In-Reply-To: Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Jan 2024 10:59: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.170410670219333 (code B ref 61678); Mon, 01 Jan 2024 10:59:02 +0000 Received: (at 61678) by debbugs.gnu.org; 1 Jan 2024 10:58:22 +0000 Received: from localhost ([127.0.0.1]:47363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKFzx-00051k-LV for submit@debbugs.gnu.org; Mon, 01 Jan 2024 05:58:22 -0500 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:48636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKFzu-00051O-Rx for 61678@debbugs.gnu.org; Mon, 01 Jan 2024 05:58:20 -0500 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-28b400f08a4so6640481a91.1 for <61678@debbugs.gnu.org>; Mon, 01 Jan 2024 02:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704106691; x=1704711491; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1DyXhMKUq6mRr/jfj0bs1165tiViWh3NcU+LP1diWv8=; b=iljSTNWuGRLfCgHH7iLSRicARXKd6gpr6NwBIHw4tI7Ufvia8zRjJgR7Xz16OG0Bft Mbp6FAxlymRTb9yaiEZe3oR7BByLqTzp9w8BHkzx0E607xgY+LmGdJ5a8nB+9HH6AsHx MV5bZK1kpOXNQN4tIg5BPHa0nBJMsLWjgoTxnzDgxtFQQeicEEbxGh1agjMZYBOLb+74 syqrFIYyXvOwhHuq88xUDs8hxk7uKrEutfsXRhpknEA4WYvBGFcbKbxstA9PA/Q/X7O1 RgSl7fnicqGBbLFMEUcH4AXFLzEpotENKnK7L3dEQdB85AsiT/ITJgfPpFsvzcgg0YRv rWUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704106691; x=1704711491; 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=1DyXhMKUq6mRr/jfj0bs1165tiViWh3NcU+LP1diWv8=; b=kx3b1aXXAw642O3jwnkwAnG6HbAdUgFrdvh1uHkkEw2nZxqJbDvfTR04XVKqtoIE5s J9vOKtkHffqYWkSlkMQvnaJGt9cgUzA7Y7eNquDNgk54HoLADw/3YWEoa40CgGL2PFmo JOPLvw7QMI0GXdSK/ZvN40osJevs7r9UdpT8YXZ+lB6cFLD/h+CWPnRhRqnVhzAMBKMy jUPyMPUefXegbQXnmsddAQW5sd84J4RkSrsUAG3yMhDSfGW7mMVzlz9HqkmVO9I/ruvm L9O1yXS8/EwLUSnpnw8pRWFSRebMe5XyarLUT/53ZT5ecbHEuhuDXg4B15RAswhZzMUL 6doQ== X-Gm-Message-State: AOJu0Ywaoe06iH2J22gaKAYhCGMaBtjvjr4cdjgiJfZGkLlntoxF/ub/ UuFYD13GcEucWYb1Hj6wIGv7CA8yIuxdnA== X-Google-Smtp-Source: AGHT+IHDfWtQqH7iNECacKLpUxC0ahvCXstMuLbs6LxjIqRIQj/CflZTsFMi2OoHNIDMgFgncSqwbw== X-Received: by 2002:a17:902:684a:b0:1d4:912a:e6c0 with SMTP id f10-20020a170902684a00b001d4912ae6c0mr5733732pln.83.1704106691107; Mon, 01 Jan 2024 02:58:11 -0800 (PST) Received: from mac.gemmaro.name ([240f:74:d1f0:1:219f:4522:3a10:1fb3]) by smtp.gmail.com with ESMTPSA id s61-20020a17090a69c300b0028afd8d128asm13589701pjj.0.2024.01.01.02.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 02:58:10 -0800 (PST) From: gemmaro Date: Mon, 1 Jan 2024 19:57:25 +0900 Message-ID: <21f20b6629cab9d353b3618525cd4094fa248e24.1704106646.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.41.0 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: mx13.migadu.com X-Migadu-Spam-Score: -5.15 X-Spam-Score: -5.15 X-Migadu-Queue-Id: B393F53EB4 X-TUID: dqRTow0fv/lU * gnu/packages/parallel.scm (massivethreads): New variable. --- gnu/packages/parallel.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index e12035e47d..f1cda36b70 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2019-2023 Ludovic Courtès ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2024 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) @@ -566,3 +568,30 @@ (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-5)) + (home-page + "https://www.eidos.ic.i.u-tokyo.ac.jp/contents/research/massivethreads.html") + (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))) base-commit: 86b5fa100992527c434616482ba9cfd92b636d12 -- 2.41.0