Skip to content
Snippets Groups Projects
Commit 68596489 authored by Raymond Toy's avatar Raymond Toy
Browse files

Add rand-xoroshiro to the build files

Compile/load rand-xoroshiro if :random-xoroshiro is a feature.
parent 7362e561
No related branches found
No related tags found
No related merge requests found
......@@ -121,9 +121,12 @@
"target:code/scavhook"
"target:code/save"
,@(if (c:backend-featurep :random-mt19937)
'("target:code/rand-mt19937")
'("target:code/rand"))
,@(cond ((c:backend-featurep :random-mt19937)
'("target:code/rand-mt19937"))
((c:backend-featurep :random-xoroshiro)
'("target:code/rand-xoroshiro"))
(t
'("target:code/rand")))
"target:code/rand-xoroshiro"
"target:code/alieneval"
"target:code/c-call"
......
......@@ -268,10 +268,12 @@
(comf "target:code/debug" :byte-compile t)
(comf "target:code/query" :byte-compile *byte-compile*)
(if (c:backend-featurep :random-mt19937)
(comf "target:code/rand-mt19937")
(comf "target:code/rand"))
(comf "target:code/rand-xoroshiro")
(cond ((c:backend-featurep :random-mt19937)
(comf "target:code/rand-mt19937"))
((c:backend-featurep :random-xoroshiro)
(comf "target:code/rand-xoroshiro"))
(t
(comf "target:code/rand")))
(comf "target:code/ntrace" :byte-compile *byte-compile*)
(comf "target:code/profile")
(comf "target:code/sort")
......
......@@ -96,8 +96,12 @@
(maybe-byte-load "code:time")
(maybe-byte-load "code:tty-inspect")
(maybe-byte-load "code:describe")
#+random-mt19937 (maybe-byte-load "code:rand-mt19937")
#-random-mt19937 (maybe-byte-load "code:rand")
#+random-mt19937
(maybe-byte-load "code:rand-mt19937")
#+random-xoroshiro
(maybe-byte-load "code:rand-xoroshiro")
#-(or random-mt19937 random-xoroshiro)
(maybe-byte-load "code:rand")
(maybe-byte-load "code:rand-xoroshiro")
(maybe-byte-load "target:pcl/walk")
(maybe-byte-load "code:fwrappers")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment