From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iCc3GaxW7WNZKAAAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 23:03:24 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iGWAGaxW7WO9FgEAauVa8A (envelope-from ) for ; Wed, 15 Feb 2023 23:03:24 +0100 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 aspmx2.migadu.com (Postfix) with ESMTPS id 3A8113625 for ; Wed, 15 Feb 2023 23:03:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr3-00025b-FY; Wed, 15 Feb 2023 17:02:21 -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 1pSPqr-0001pt-0i for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -0500 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 1pSPqq-0002Sa-As for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqq-00070m-6Q for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 23/39] gnu: Add ocaml-intrinsics. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 60673@debbugs.gnu.org Cc: raingloom Received: via spool by 60673-submit@debbugs.gnu.org id=B60673.167649851626720 (code B ref 60673); Wed, 15 Feb 2023 22:02:08 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:56 +0000 Received: from localhost ([127.0.0.1]:34271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqd-0006wo-S0 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:56 -0500 Received: from mx0.riseup.net ([198.252.153.6]:47282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpx-0006sZ-4I for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:13 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PHBq75ZR5z9snQ for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498467; bh=e4dUIpzKnQCFPWPqgSBndOvb9Am4gqErj0f8jPVuGEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LFwXcnbF/IWihfqGrXNINEhPX3rlQAOgdQg5HwbpTl4zdt9FYgvHfucuVVbbxOJ+D b7euzpqhFR4R5Te0NTDi3lteIJIHIF3fOhyhV2dHOn1say1W2bdqCtXjpfXdtox8zK TzTgsHJJPy0pFjJOp9+Zmj4eiYBVzLRTU1UOiU/0= X-Riseup-User-ID: 67A16AC876A57A58D7EC6E109C1B4E99B52EE07D120A1C8697981D58B7AFE045 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq66X0Rz1y8Z; Wed, 15 Feb 2023 22:01:06 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:12 +0100 Message-Id: <20230215220028.18575-24-raingloom@riseup.net> In-Reply-To: <20230215220028.18575-1-raingloom@riseup.net> References: <20230215220028.18575-1-raingloom@riseup.net> MIME-Version: 1.0 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 ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=LFwXcnbF; spf=pass (aspmx2.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=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676498604; a=rsa-sha256; cv=none; b=bVPiTYznHdxp1qdXzwc2CIX22vKmD0MujK5ljKFHEPtCL5AeBq527f++Q5g33n78EXvA3f HgQO4ED0FCMJz1JughneJkKcfjyl3r4gRl3tScr0ZDCOL9KevVkRCSvgtEKN32n2NdUp/v XglvKsLFz60yoM+ngU25B4wYy+eX/90snAYZ/5TY/Z/Zk0MI6YfRDXjI1n6NRNIJu8Cy20 +Gy6JJHE5APR5RgmoLzRaZUnf+Xtr49O4fnPnFq8lQCUCw9uA4O4spfe46vDicIg9zzQj5 bwDIbThn49YsFzyC3Ut5/N89WTRR/5erXzjPqZ4VQMb8sWcQrB/hEvoOnjnKJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676498604; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=MEl+VADJ/fW7URKKs80EV5AOU9K3uidsqjZ+WpRVGUI=; b=ewH0uvoZ+FQPZuoaxTzEs8k3L3MjFmMrrUoC4j1J694lnimpt5Q2/wwJcz1OgtW90gmkhT dmqLWnxVHNd+CJMHSvVwVTkb7iSASpYaXbaAi4QTik7TUpAw4f/9NJBs7AyOzMjAqUhWrp n/M0v5NqLRygVAK8IrTCO8+4mc3Zp+3IoIi2t6KL7u0Lnu9kqCJol/EGB47BoGGGolePlu +vcWmKioLDKPQBsD1aBpJWb6sjGpyn802AnZtGWILT2003xG+/aQTQ9DE9ZJ7aMNZqGizL Rl32YeMERc39wWrd6MgAPSDEmwb/HOFAon0x8eSC7GAYmrL/ZDa6GvatViDC1A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.28 X-Spam-Score: 7.28 X-Migadu-Queue-Id: 3A8113625 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=LFwXcnbF; spf=pass (aspmx2.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=riseup.net (policy=none) X-TUID: UI4KnGXjo5y9 From: raingloom * gnu/packages/ocaml.scm (ocaml-intrinsics): New variable. --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 671e8bc355..cb3d5594eb 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -9221,6 +9221,35 @@ (define-public ocaml-bigstringaf these missing pieces.") (license license:bsd-3))) +(define-public ocaml-intrinsics + (package + (name "ocaml-intrinsics") + (version "0.15.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/ocaml_intrinsics") + (commit (string-append "v" version)))) + (file-name name) + (sha256 + (base32 + "1mazr1ka2zlm2s8bw5i555cnhi1bmr9yxvpn29d3v4m8lsnfm73z")))) + (build-system dune-build-system) + ;; TODO figure out how to get around this error: + ;; No rule found for alias test/runtime-deps-of-tests + (arguments + '(#:tests? #f)) + (propagated-inputs (list dune-configurator)) + (native-inputs (list ocaml-expect-test-helpers-core ocaml-core)) + (properties `((upstream-name . "ocaml_intrinsics"))) + (home-page "https://github.com/janestreet/ocaml_intrinsics") + (synopsis "AMD64 intrinsics with emulated fallbacks") + (description + "Provides an OCaml interface to operations that have dedicated hardware +instructions on some micro-architectures, with default implementations using C +stubs for all targets.") + (license license:expat))) + (define-public ocaml-trie (package (name "ocaml-trie") -- 2.39.1