ob-julia: use a sysimage and threads
This commit is contained in:
parent
f544f7b40f
commit
4f042fe2d8
11
config.org
11
config.org
|
@ -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
|
Loading…
Reference in New Issue