2013-01-05 23:47:50 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-02-24 16:06:12 +00:00
|
|
|
;;; Copyright © 2012, 2013, 2014, 2016, 2017, 2020, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
2014-08-20 05:29:42 +00:00
|
|
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
2018-02-20 02:26:03 +00:00
|
|
|
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
|
2017-05-01 13:41:04 +00:00
|
|
|
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
2022-06-29 23:09:47 +00:00
|
|
|
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
|
2023-03-30 15:10:15 +00:00
|
|
|
;;; Copyright © 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; This file is part of GNU Guix.
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
2013-01-18 00:06:24 +00:00
|
|
|
(define-module (gnu packages bdw-gc)
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
#:use-module (guix licenses)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
#:use-module (guix download)
|
2022-06-29 23:09:47 +00:00
|
|
|
#:use-module (guix gexp)
|
2020-03-28 07:59:35 +00:00
|
|
|
#:use-module (guix utils)
|
2014-01-22 22:44:20 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
2017-05-01 13:41:04 +00:00
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages hurd))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
2016-11-24 04:03:37 +00:00
|
|
|
(define-public libgc
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
(package
|
|
|
|
(name "libgc")
|
2023-02-28 16:42:32 +00:00
|
|
|
(version "8.2.2")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
2023-02-24 16:06:12 +00:00
|
|
|
(uri (list (string-append "https://github.com/ivmai/bdwgc/releases"
|
|
|
|
"/download/v" version
|
|
|
|
"/gc-" version ".tar.gz")
|
|
|
|
(string-append "https://www.hboehm.info/gc/gc_source"
|
|
|
|
"/gc-" version ".tar.gz")))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-02-28 16:42:32 +00:00
|
|
|
"181ni2rn9qjbl4ilqdjrd1a4h8siv5bgmzqgg4595q32n2y0f0gk"))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
(build-system gnu-build-system)
|
2013-06-20 21:47:22 +00:00
|
|
|
(arguments
|
2023-03-30 15:10:15 +00:00
|
|
|
(append
|
|
|
|
(list
|
2022-06-29 23:09:47 +00:00
|
|
|
#:configure-flags
|
|
|
|
#~(list
|
|
|
|
;; Install gc_cpp.h et al.
|
|
|
|
"--enable-cplusplus"
|
2021-05-08 09:48:01 +00:00
|
|
|
|
2022-06-29 23:09:47 +00:00
|
|
|
;; In GNU/Hurd systems during the 'check' phase,
|
|
|
|
;; there is a deadlock caused by the 'gctest' test.
|
|
|
|
;; To disable the error set "--disable-gcj-support"
|
|
|
|
;; to configure script. See bug report and discussion:
|
|
|
|
;; <https://lists.opendylan.org/pipermail/bdwgc/2017-April/006275.html>
|
|
|
|
;; <https://lists.gnu.org/archive/html/bug-hurd/2017-01/msg00008.html>
|
|
|
|
#$@(if (target-hurd? (or (%current-system)
|
|
|
|
(%current-target-system)))
|
|
|
|
#~("--disable-gcj-support")
|
2023-03-30 15:10:15 +00:00
|
|
|
#~())))
|
2023-03-30 16:32:35 +00:00
|
|
|
(cond
|
|
|
|
((target-ppc64le?)
|
|
|
|
(list #:make-flags
|
|
|
|
;; This is a known workaround upstream.
|
|
|
|
;; https://github.com/ivmai/bdwgc/issues/479
|
|
|
|
#~(list "CFLAGS_EXTRA=-DNO_SOFT_VDB")))
|
|
|
|
((target-ppc32?)
|
|
|
|
(list #:make-flags
|
|
|
|
;; Similar to above.
|
|
|
|
#~(list "CFLAGS_EXTRA=-DNO_MPROTECT_VDB")))
|
|
|
|
(else '()))))
|
2021-12-13 16:18:24 +00:00
|
|
|
(native-inputs (list pkg-config))
|
2020-03-28 07:57:29 +00:00
|
|
|
(propagated-inputs
|
|
|
|
(if (%current-target-system)
|
|
|
|
;; The build system refuses to check for compiler intrinsics when
|
|
|
|
;; cross-compiling, and demands using libatomic-ops instead.
|
2022-06-29 23:09:47 +00:00
|
|
|
(list libatomic-ops)
|
2020-03-28 07:57:29 +00:00
|
|
|
'()))
|
2013-07-03 21:55:04 +00:00
|
|
|
(outputs '("out" "debug"))
|
2023-02-24 16:06:12 +00:00
|
|
|
(properties
|
|
|
|
'((release-monitoring-url . "https://www.hboehm.info/gc/gc_source/")
|
|
|
|
(upstream-name . "gc")))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
(synopsis "The Boehm-Demers-Weiser conservative garbage collector
|
|
|
|
for C and C++")
|
|
|
|
(description
|
|
|
|
"The Boehm-Demers-Weiser conservative garbage collector can be used
|
|
|
|
as a garbage collecting replacement for C malloc or C++ new. It allows
|
|
|
|
you to allocate memory basically as you normally would, without
|
|
|
|
explicitly deallocating memory that is no longer useful. The collector
|
|
|
|
automatically recycles memory when it determines that it can no longer
|
|
|
|
be otherwise accessed.
|
|
|
|
|
|
|
|
The collector is also used by a number of programming language
|
|
|
|
implementations that either use C as intermediate code, want to
|
|
|
|
facilitate easier interoperation with C libraries, or just prefer the
|
|
|
|
simple collector interface.
|
|
|
|
|
|
|
|
Alternatively, the garbage collector may be used as a leak detector for
|
|
|
|
C or C++ programs, though that is not its primary goal.")
|
2020-01-18 20:44:14 +00:00
|
|
|
(home-page "https://www.hboehm.info/gc/")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
2014-02-28 17:14:49 +00:00
|
|
|
(license (x11-style (string-append home-page "license.txt")))))
|
2014-01-22 22:44:20 +00:00
|
|
|
|
2020-03-28 07:59:35 +00:00
|
|
|
;; TODO: Add a static output in libgc in the next rebuild cycle.
|
|
|
|
(define-public libgc/static-libs
|
|
|
|
(package/inherit
|
|
|
|
libgc
|
2022-06-29 23:09:47 +00:00
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments libgc)
|
|
|
|
((#:configure-flags flags #~'())
|
|
|
|
#~(cons "--enable-static" #$flags))))
|
|
|
|
|
2020-04-26 18:56:17 +00:00
|
|
|
(properties '((hidden? . #t)))))
|
2020-03-28 07:59:35 +00:00
|
|
|
|
2020-03-27 18:35:54 +00:00
|
|
|
(define-public libgc-7
|
2020-03-02 22:08:13 +00:00
|
|
|
(package
|
|
|
|
(inherit libgc)
|
2020-03-27 18:35:54 +00:00
|
|
|
(version "7.6.12")
|
2020-01-31 08:23:26 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/ivmai/bdwgc/releases"
|
|
|
|
"/download/v" version "/gc-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-03-27 18:35:54 +00:00
|
|
|
"10jhhi79d5brwlsyhwgpnrmc8nhlf7aan2lk9xhgihk5jc6srbvc"))))
|
2021-12-13 16:18:24 +00:00
|
|
|
(propagated-inputs (list libatomic-ops))))
|
2020-01-31 08:23:26 +00:00
|
|
|
|
2017-09-27 22:12:26 +00:00
|
|
|
(define-public libgc/back-pointers
|
2020-03-02 22:08:13 +00:00
|
|
|
(package/inherit
|
|
|
|
libgc
|
2017-09-27 22:12:26 +00:00
|
|
|
(name "libgc-back-pointers")
|
|
|
|
(arguments
|
2022-06-29 23:09:47 +00:00
|
|
|
(substitute-keyword-arguments (package-arguments libgc)
|
|
|
|
((#:make-flags _ #~'())
|
|
|
|
#~(list "CPPFLAGS=-DKEEP_BACK_PTRS=1"))))
|
2017-09-27 22:12:26 +00:00
|
|
|
(synopsis "The BDW garbage collector, with back-pointer tracking")))
|
|
|
|
|
2014-01-22 22:44:20 +00:00
|
|
|
(define-public libatomic-ops
|
|
|
|
(package
|
|
|
|
(name "libatomic-ops")
|
2022-06-24 09:42:43 +00:00
|
|
|
(version "7.6.12")
|
2014-01-22 22:44:20 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2017-11-19 15:07:16 +00:00
|
|
|
"https://github.com/ivmai/libatomic_ops/releases/download/v"
|
|
|
|
version "/libatomic_ops-" version ".tar.gz"))
|
2014-01-22 22:44:20 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-06-24 09:42:43 +00:00
|
|
|
"0glzah695wsf6c27hs5wwlw4mnq1vfivdshz1rb8pq7w4mp5dazh"))))
|
2014-01-22 22:44:20 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
(synopsis "Accessing hardware atomic memory update operations")
|
|
|
|
(description
|
|
|
|
"This C library provides semi-portable access to hardware-provided atomic
|
2018-02-20 02:26:24 +00:00
|
|
|
memory update operations on a number of architectures. These might allow you to
|
2014-01-22 22:44:20 +00:00
|
|
|
write code that does more interesting things in signal handlers, write
|
|
|
|
lock-free code, experiment with thread programming paradigms, etc.")
|
2014-02-28 17:14:49 +00:00
|
|
|
(home-page "https://github.com/ivmai/libatomic_ops/")
|
2014-01-22 22:44:20 +00:00
|
|
|
|
|
|
|
;; Some source files are X11-style, others are GPLv2+.
|
|
|
|
(license gpl2+)))
|