From 8f59645a21c185cf17c0297ede804cb079bdb0aa Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 11 Sep 2023 15:13:59 +0100 Subject: Don't use JIT on aarch64 As there's bugs which cause parts of the program to execute more than once https://github.com/wingo/fibers/issues/83 --- scripts/nar-herder.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in index 1dfbc6c..e55fb9b 100644 --- a/scripts/nar-herder.in +++ b/scripts/nar-herder.in @@ -22,6 +22,11 @@ ;;; along with the guix-data-service. If not, see ;;; . +(when (and (string-prefix? "aarch64-" %host-type) + (not (getenv "GUILE_JIT_THRESHOLD"))) + (setenv "GUILE_JIT_THRESHOLD" "-1") + (apply execlp (car (command-line)) (command-line))) + (setvbuf (current-output-port) 'line) (setvbuf (current-error-port) 'line) -- cgit v1.2.3