diff options
author | Christopher Baines <mail@cbaines.net> | 2023-09-11 15:13:59 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-09-12 13:11:00 +0100 |
commit | 8f59645a21c185cf17c0297ede804cb079bdb0aa (patch) | |
tree | 797870b4899e59f784725d8788d87427fdbcfdb4 | |
parent | fff324e4e1592c1951f7481e9325faa8860954bf (diff) | |
download | nar-herder-8f59645a21c185cf17c0297ede804cb079bdb0aa.tar nar-herder-8f59645a21c185cf17c0297ede804cb079bdb0aa.tar.gz |
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
-rw-r--r-- | scripts/nar-herder.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 ;;; <http://www.gnu.org/licenses/>. +(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) |