aboutsummaryrefslogtreecommitdiff
path: root/etc/snippets/scheme-mode/guix-hg-reference
blob: 95de16daaeae72521a6de1fef775966812f4f9ba (about) (plain)
1
2
3
4
5
6
7
# -*- mode: snippet -*-
# name: guix-hg-reference
# key: hg-reference...
# --
(hg-reference
  (url "$1")
  (changeset ${2:changeset}))
ixy4g8xkr61p0ny8jiz8vyv1j0k4nxqkxpqrf4g2vf1d")))) (build-system gnu-build-system) (arguments (list #: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 \\\\") "\\"))))) #:configure-flags ;; Disable the thread local storage model in jemalloc 5 to prevent ;; shared libraries linked to libjemalloc from crashing on dlopen() ;; https://github.com/jemalloc/jemalloc/issues/937 #~'("--disable-initial-exec-tls" #$@(match (%current-system) ("aarch64-linux" (list "--with-lg-page=14")) ("powerpc-linux" (list "CPPFLAGS=-maltivec")) (_ '()))))) (inputs (list perl)) ;; Install the scripts to a separate output to avoid referencing Perl and ;; Bash in the default output, saving ~75 MiB on the closure. (outputs '("out" "bin")) (home-page "https://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)))