ob-julia: use a sysimage and threads

This commit is contained in:
TEC 2021-08-30 03:34:48 +08:00
parent f544f7b40f
commit 4f042fe2d8
Signed by: tec
GPG Key ID: 779591AFDB81F06C
2 changed files with 11 additions and 2 deletions

View File

@ -4775,7 +4775,16 @@ Now and then citations need to happen
#+begin_src emacs-lisp :tangle yes
(use-package! ob-julia
:commands org-babel-execute:julia)
:commands org-babel-execute:julia
:config
(setq org-babel-julia-command-arguments
`("--sysimage"
,(when-let ((img "~/.local/lib/julia.so")
(exists? (file-exists-p img)))
(expand-file-name img))
"--threads"
,(number-to-string (- (doom-system-cpus) 2))
"--banner=no")))
#+end_src
***** HTTP requests

@ -1 +1 @@
Subproject commit 70a6a70b2fc470b16732ae46bbdc0392559cc421
Subproject commit c0017ff89ae05080abbc713b5ab1dc64ff0f9544