;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Sou Bunnbu ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2017 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; 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. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; 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 ;;; along with GNU Guix. If not, see . (define-module (gnu packages jemalloc) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module ((guix licenses) #:select (bsd-2)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages perl) #:use-module (guix build-system gnu)) (define-public jemalloc (package (name "jemalloc") (version "5.1.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/jemalloc/jemalloc/releases/download/" version "/jemalloc-" version ".tar.bz2")) (sha256 (base32 "0s3jpcyhzia8d4k0xyc67is78kg416p9yc3c2f9w6fhhqqffd5jk")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'delete-thp-test ;; This test does not check if transparent huge pages are supported ;; on the system before running the test. (lambda _ (substitute* "Makefile.in" (("\\$\\(srcroot\\)test/unit/pages.c \\\\") "\\")) #t))) ,@(if (any (cute string-prefix? <> (or (%current-target-system) (%current-system))) '("x64_64" "i686")) ;; Transparent huge pages are only enabled by default on Intel processors '() '(#:configure-flags (list "--disable-thp"))))) (inputs `(("perl" ,perl))) (home-page "http://jemalloc.net/") (synopsis "General-purpose scalable concurrent malloc implementation") (description "This library providing a malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support.") (license bsd-2))) (define-public jemalloc-4.5.0 (package (inherit jemalloc) (version "4.5.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/jemalloc/jemalloc/releases/download/" version "/jemalloc-" version ".tar.bz2")) (sha256 (base32 "10373xhpc10pgmai9fkc1z0rs029qlcb3c0qfnvkbwdlcibdh2cl")))) (inputs '()))) ckages/patches/ddd-build.patch: New file. * gnu/local.mk: Register new file. Change-Id: Ic305cc0c7e15d0f0565f2adde514a43497e11f98 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Andy Tai 2024-09-08gnu: aflplusplus: Update to 4.21c....* gnu/packages/debug.scm (aflplusplus): Update to 4.21c. Change-Id: I7fcd55d0e9df0f3b3daf1fcb527f7b2948fb941e Tobias Geerinckx-Rice 2024-08-31gnu: Add backward-cpp....* gnu/packages/debug.scm (backward-cpp): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Adam Faiz 2024-08-31gnu: debug: Add 'bash' input for 'wrap-program'....It is required for cross-compilation. * gnu/packages/debug.scm (c-reduce)[inputs]: Add 'bash-minimal'. (scanmem)[inputs]: Likewise. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I6cae82e90a994384aa3ddd737dd885444a0f5cad Maxime Devos 2024-07-26gnu: rr: Add ‘supported-systems’ field....* gnu/packages/debug.scm (rr)[supported-systems]: New field. Change-Id: I6d93b1eae91fbe6c963e737afd6e5d2a30160ac1 Ludovic Courtès 2024-07-20gnu: rr: Update to 5.8.0....* gnu/packages/debug.scm (rr): Update to 5.8.0. Change-Id: Ic4bf20a68d05233c28b3f3956e9c8e10dc78fb2e Signed-off-by: Ludovic Courtès <ludo@gnu.org> Karl Hallsby 2024-04-23gnu: Add cppdap....* gnu/packages/debug.scm (cppdap): New variable. * gnu/packages/patches/cppdap-add-CPPDAP_USE_EXTERNAL_GTEST_PACKAGE.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Change-Id: I328ca0c01787defcc9d18f4ccd7762c86412cca7 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Daniel Ziltener