From patchwork Wed Jul 20 15:09:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Hogan X-Patchwork-Id: 40791 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 0E81F27BBEA; Wed, 20 Jul 2022 16:11:49 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable 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 B50EA27BBE9 for ; Wed, 20 Jul 2022 16:11:48 +0100 (BST) Received: from localhost ([::1]:48730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEBMZ-0001Xm-Sl for patchwork@mira.cbaines.net; Wed, 20 Jul 2022 11:11:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEBKx-000898-KV for guix-patches@gnu.org; Wed, 20 Jul 2022 11:10:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEBKx-0002S4-CB for guix-patches@gnu.org; Wed, 20 Jul 2022 11:10:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEBKx-0004MC-88 for guix-patches@gnu.org; Wed, 20 Jul 2022 11:10:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56666] [PATCH 09/17] gnu: Add libomp-9. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Jul 2022 15:10:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56666 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56666@debbugs.gnu.org Cc: Greg Hogan Received: via spool by 56666-submit@debbugs.gnu.org id=B56666.165832978416604 (code B ref 56666); Wed, 20 Jul 2022 15:10:07 +0000 Received: (at 56666) by debbugs.gnu.org; 20 Jul 2022 15:09:44 +0000 Received: from localhost ([127.0.0.1]:58565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEBKa-0004JX-0b for submit@debbugs.gnu.org; Wed, 20 Jul 2022 11:09:44 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:44565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEBKV-0004HE-HV for 56666@debbugs.gnu.org; Wed, 20 Jul 2022 11:09:39 -0400 Received: by mail-qt1-f176.google.com with SMTP id r21so12832417qtn.11 for <56666@debbugs.gnu.org>; Wed, 20 Jul 2022 08:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JDCuTnUmJVmFpRixKOsGW0tzXoOsyPcDU/P2fBR70g8=; b=RSyC087AZAlHdvVlHN06z6iPvqxPfQ8CCZwUWwXodz/Hvav3g+0gHgq6ro3pSFJ05y AF+7MyWdwwq6uxl6N6gAyA1OJ1su4wpioHaAx91OHSroUQI0gvJim4ayWRB2q99Pobbb Mvyfaw7FJ3kZxq9wwoa59cPIxOgyLQ+mDOlmq8uAUr4kAblUC4/n5RM9afSiRSQfu/u8 /LNRIWulbfGrJ6hGHsMqtW01b/01D9mSmOL2kphDn58yQJbvStmzsoQoS45FwCO9L4Lm yF6KIUz0P1Uplw8K6Bart2J43H0BmBu1TwYPXolo95VfWAkQUY3PVspPhMT4YZXxdfZj 3e3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JDCuTnUmJVmFpRixKOsGW0tzXoOsyPcDU/P2fBR70g8=; b=5i/UaWw9/yDZqgqU8tbXejZrA5Hpm3W5rp9Iz3qpW+DEwAAtfgK1yZuGai8yn9rvse ldRkKrDcyzTWWwpb+3xjGrTxVTZ9yGgyo294+BPx5TNcPQbYSubTNMv0avap9FdUL6nj hOhYKPJVbeWMFAYG2YoHyfLrVPetdVngm8QCqAxp+VDcnKPPKC4L6ag4sbRUd8EhZpjd L6eYTHaJDKuGlYiTPQWPXO8/FQNlCiqBqQatJslAdSqPG4K1rf1QVyDiWQgf5UtQj7ik e+SHH5ZHGVN9T5cGOvZn04Z8Q0eWjKk55RpwpAqzadiGbUZiPs2fsf+ODkiJhbxXyNh6 lzuQ== X-Gm-Message-State: AJIora9egjmmM2KA40a/+SMlOgCeHhYICqJDhLWKCB86mHMqjQEB+BRY S+4YDHakPIoclKTwsb89xXJuF23gKsF9GZSr X-Google-Smtp-Source: AGRyM1v6GP5xuIUpwI3rTQcOQqmI+PxI7gJYCyPAyOw9lirj7XMoVGes36hG4oTRYnx0y/a6QXvrUg== X-Received: by 2002:ac8:580e:0:b0:31f:38f:2a1 with SMTP id g14-20020ac8580e000000b0031f038f02a1mr5324541qtg.205.1658329773455; Wed, 20 Jul 2022 08:09:33 -0700 (PDT) Received: from ip-10-114-89-251.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id cc12-20020a05622a410c00b00316a384447fsm10158847qtb.16.2022.07.20.08.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 08:09:32 -0700 (PDT) From: Greg Hogan Date: Wed, 20 Jul 2022 15:09:03 +0000 Message-Id: X-Mailer: git-send-email 2.37.0 In-Reply-To: References: 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/llvm.scm (libomp-9): New variable. --- gnu/packages/llvm.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index a0313afd3d..6b53b7e36d 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1026,6 +1026,22 @@ (define-public clang-9 "0ls2h3iv4finqyflyhry21qhc9cm9ga7g1zq21020p065qmm2y2p" #:patches '("clang-9.0-libc-search-path.patch"))) +(define-public libomp-9 + (package + (inherit libomp-10) + (version (package-version llvm-9)) + (source (origin + (method url-fetch) + (uri (llvm-uri "openmp" version)) + (sha256 + (base32 + "1knafnpp0f7hylx8q20lkd6g1sf0flly572dayc5d5kghh7hd52w")) + (file-name (string-append "libomp-" version ".tar.xz")))) + (native-inputs + (modify-inputs (package-native-inputs libomp-10) + (replace "clang" clang-9) + (replace "llvm" llvm-9))))) + (define-public clang-toolchain-9 (make-clang-toolchain clang-9))