guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: libgc: Add 'libgc-back-pointers' variant.


From: Ludovic Courtès
Subject: 03/03: gnu: libgc: Add 'libgc-back-pointers' variant.
Date: Wed, 27 Sep 2017 18:13:31 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 4cb87d63e1c06eb99f90f33bd8a68d73975e4d72
Author: Ludovic Courtès <address@hidden>
Date:   Thu Sep 28 00:12:26 2017 +0200

    gnu: libgc: Add 'libgc-back-pointers' variant.
    
    * gnu/packages/bdw-gc.scm (libgc/back-pointers): New variable.
---
 gnu/packages/bdw-gc.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index 790a238..ca47227 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès <address@hidden>
+;;; Copyright © 2012, 2013, 2014, 2016, 2017 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2014 Mark H Weaver <address@hidden>
 ;;; Copyright © 2016 Leo Famulari <address@hidden>
 ;;; Copyright © 2017 Rene Saavedra <address@hidden>
@@ -78,6 +78,16 @@ C or C++ programs, though that is not its primary goal.")
 
    (license (x11-style (string-append home-page "license.txt")))))
 
+(define-public libgc/back-pointers
+  (package
+    (inherit libgc)
+    (name "libgc-back-pointers")
+    (arguments
+     `(#:make-flags
+       (list "CPPFLAGS=-DKEEP_BACK_PTRS=1")
+       ,@(package-arguments libgc)))
+    (synopsis "The BDW garbage collector, with back-pointer tracking")))
+
 (define-public libatomic-ops
   (package
     (name "libatomic-ops")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]