[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/20: gnu: Add ocaml-ppx-cold.
From: |
guix-commits |
Subject: |
20/20: gnu: Add ocaml-ppx-cold. |
Date: |
Sun, 6 Jun 2021 11:17:53 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 52dc188e12fe80dfe13ba04f995081beedde6358
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Tue Jun 1 20:23:03 2021 +0000
gnu: Add ocaml-ppx-cold.
* gnu/packages/ocaml.scm (ocaml-ppx-cold): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 79537bf..2b46738 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5637,6 +5637,28 @@ match expressions, and if expressions.")
position.")
(license license:asl2.0)))
+(define-public ocaml-ppx-cold
+ (package
+ (name "ocaml-ppx-cold")
+ (version "0.14.0")
+ (home-page "https://github.com/janestreet/ppx_cold")
+ (source
+ (janestreet-origin "ppx_cold" version
+
"1madfzhpir9amnxmg530n70vll0jrl59vyp71miji73i6b9sy6n2"))
+ (build-system dune-build-system)
+ (arguments `(#:test-target "tests"))
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "ppx_cold")))
+ (synopsis "Syntax extension for indicating cold path")
+ (description
+ "This package contains an syntax extension to indicate that the code is
+on the cold path and should be kept out of the way to avoid polluting the
+instruction cache on the hot path. See also
+https://github.com/ocaml/ocaml/issues/8563.")
+ (license license:expat)))
+
(define-public ocaml4.07-ppx-assert
(package
(name "ocaml4.07-ppx-assert")
- 09/20: gnu: Add ocaml-compiler-libs., (continued)
- 09/20: gnu: Add ocaml-compiler-libs., guix-commits, 2021/06/06
- 10/20: gnu: ocaml-migrate-parsetree: Update to 2.1.0., guix-commits, 2021/06/06
- 04/20: gnu: ocaml-lwt: Make libev a propagated input., guix-commits, 2021/06/06
- 06/20: gnu: ocaml4.07-gen: Update to 0.5.3., guix-commits, 2021/06/06
- 07/20: gnu: Add ocaml-gen., guix-commits, 2021/06/06
- 11/20: gnu: Add ocaml-ppxlib., guix-commits, 2021/06/06
- 13/20: gnu: Add ocaml-uunf., guix-commits, 2021/06/06
- 14/20: gnu: Add ocaml-ppx-sexp-conv., guix-commits, 2021/06/06
- 17/20: gnu: Add ocaml-syntax-shims., guix-commits, 2021/06/06
- 18/20: gnu: Add ocaml-ppx-compare., guix-commits, 2021/06/06
- 20/20: gnu: Add ocaml-ppx-cold.,
guix-commits <=
- 12/20: gnu: Add ocaml-sedlex., guix-commits, 2021/06/06
- 15/20: gnu: Add ocaml-bigstringaf., guix-commits, 2021/06/06
- 16/20: gnu: Add ocaml-ppx-let., guix-commits, 2021/06/06
- 19/20: gnu: Add ocaml-ppx-here., guix-commits, 2021/06/06