2013-01-05 18:47:50 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-02-24 11:06:12 -05:00
|
|
|
;;; Copyright © 2012, 2013, 2014, 2016, 2017, 2020, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
2014-08-20 01:29:42 -04:00
|
|
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
2018-02-19 21:26:03 -05:00
|
|
|
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
|
2017-05-01 09:41:04 -04:00
|
|
|
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
2022-06-29 19:09:47 -04:00
|
|
|
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
|
2023-03-30 11:10:15 -04: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 16:37:22 -05:00
|
|
|
;;;
|
2013-01-05 18:47:50 -05: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 16:37:22 -05:00
|
|
|
;;;
|
2013-01-05 18:47:50 -05: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 16:37:22 -05: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 18:47:50 -05: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 16:37:22 -05: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 18:47:50 -05: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 16:37:22 -05:00
|
|
|
|
2013-01-17 19:06:24 -05: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 10:14:04 -05: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 16:37:22 -05: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 18:22:44 -05:00
|
|
|
#:use-module (guix download)
|
2022-06-29 19:09:47 -04:00
|
|
|
#:use-module (guix gexp)
|
2020-03-28 03:59:35 -04:00
|
|
|
#:use-module (guix utils)
|
2014-01-22 17:44:20 -05:00
|
|
|
#:use-module (guix build-system gnu)
|
2017-05-01 09:41:04 -04: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 16:37:22 -05:00
|
|
|
|
2016-11-23 23:03:37 -05: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 16:37:22 -05:00
|
|
|
(package
|
|
|
|
(name "libgc")
|
2023-12-21 18:43:28 -05:00
|
|
|
(version "8.2.4")
|
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 16:37:22 -05: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 18:22:44 -05:00
|
|
|
(method url-fetch)
|
2023-02-24 11:06:12 -05: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 16:37:22 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-12-21 18:43:28 -05:00
|
|
|
"1hlgqkg9arc8sqf7wamvzmp3shb3np5z0h5v0qqksh3pw3dkq39x"))))
|
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 16:37:22 -05:00
|
|
|
(build-system gnu-build-system)
|
2013-06-20 17:47:22 -04:00
|
|
|
(arguments
|
2023-03-30 11:10:15 -04:00
|
|
|
(append
|
|
|
|
(list
|
2022-06-29 19:09:47 -04:00
|
|
|
#:configure-flags
|
|
|
|
#~(list
|
|
|
|
;; Install gc_cpp.h et al.
|
|
|
|
"--enable-cplusplus"
|
2021-05-08 05:48:01 -04:00
|
|
|
|
2022-06-29 19:09:47 -04: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 11:10:15 -04:00
|
|
|
#~())))
|
2023-03-30 12:32:35 -04: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 11:18:24 -05:00
|
|
|
(native-inputs (list pkg-config))
|
2020-03-28 03:57:29 -04: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 19:09:47 -04:00
|
|
|
(list libatomic-ops)
|
2020-03-28 03:57:29 -04:00
|
|
|
'()))
|
2013-07-03 17:55:04 -04:00
|
|
|
(outputs '("out" "debug"))
|
2023-02-24 11:06:12 -05: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 16:37:22 -05: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 15:44:14 -05: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 16:37:22 -05:00
|
|
|
|
2014-02-28 12:14:49 -05:00
|
|
|
(license (x11-style (string-append home-page "license.txt")))))
|
2014-01-22 17:44:20 -05:00
|
|
|
|
2020-03-28 03:59:35 -04:00
|
|
|
;; TODO: Add a static output in libgc in the next rebuild cycle.
|
|
|
|
(define-public libgc/static-libs
|
|
|
|
(package/inherit
|
|
|
|
libgc
|
2022-06-29 19:09:47 -04:00
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments libgc)
|
|
|
|
((#:configure-flags flags #~'())
|
|
|
|
#~(cons "--enable-static" #$flags))))
|
|
|
|
|
2020-04-26 14:56:17 -04:00
|
|
|
(properties '((hidden? . #t)))))
|
2020-03-28 03:59:35 -04:00
|
|
|
|
2020-03-27 14:35:54 -04:00
|
|
|
(define-public libgc-7
|
2020-03-02 17:08:13 -05:00
|
|
|
(package
|
|
|
|
(inherit libgc)
|
2020-03-27 14:35:54 -04:00
|
|
|
(version "7.6.12")
|
2020-01-31 03:23:26 -05: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 14:35:54 -04:00
|
|
|
"10jhhi79d5brwlsyhwgpnrmc8nhlf7aan2lk9xhgihk5jc6srbvc"))))
|
2021-12-13 11:18:24 -05:00
|
|
|
(propagated-inputs (list libatomic-ops))))
|
2020-01-31 03:23:26 -05:00
|
|
|
|
2017-09-27 18:12:26 -04:00
|
|
|
(define-public libgc/back-pointers
|
2020-03-02 17:08:13 -05:00
|
|
|
(package/inherit
|
|
|
|
libgc
|
2017-09-27 18:12:26 -04:00
|
|
|
(name "libgc-back-pointers")
|
|
|
|
(arguments
|
2022-06-29 19:09:47 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments libgc)
|
|
|
|
((#:make-flags _ #~'())
|
|
|
|
#~(list "CPPFLAGS=-DKEEP_BACK_PTRS=1"))))
|
2017-09-27 18:12:26 -04:00
|
|
|
(synopsis "The BDW garbage collector, with back-pointer tracking")))
|
|
|
|
|
2014-01-22 17:44:20 -05:00
|
|
|
(define-public libatomic-ops
|
|
|
|
(package
|
|
|
|
(name "libatomic-ops")
|
2022-06-24 05:42:43 -04:00
|
|
|
(version "7.6.12")
|
2014-01-22 17:44:20 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2017-11-19 10:07:16 -05:00
|
|
|
"https://github.com/ivmai/libatomic_ops/releases/download/v"
|
|
|
|
version "/libatomic_ops-" version ".tar.gz"))
|
2014-01-22 17:44:20 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-06-24 05:42:43 -04:00
|
|
|
"0glzah695wsf6c27hs5wwlw4mnq1vfivdshz1rb8pq7w4mp5dazh"))))
|
2014-01-22 17:44:20 -05: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-19 21:26:24 -05:00
|
|
|
memory update operations on a number of architectures. These might allow you to
|
2014-01-22 17:44:20 -05:00
|
|
|
write code that does more interesting things in signal handlers, write
|
|
|
|
lock-free code, experiment with thread programming paradigms, etc.")
|
2014-02-28 12:14:49 -05:00
|
|
|
(home-page "https://github.com/ivmai/libatomic_ops/")
|
2014-01-22 17:44:20 -05:00
|
|
|
|
|
|
|
;; Some source files are X11-style, others are GPLv2+.
|
|
|
|
(license gpl2+)))
|