We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3b720a commit 784dc96Copy full SHA for 784dc96
backend/amd64/emit.mlp renamed to backend/amd64/emit.ml
backend/dune
@@ -15,13 +15,12 @@
15
(copy_files# "%{env:ARCH=amd64}/*.ml{,i}")
16
17
(rule
18
+ (enabled_if (= %{env:ARCH=amd64} "arm64"))
19
(targets emit.ml)
20
(mode fallback)
- (deps amd64/emit.mlp
21
- arm64/emit.mlp)
+ (deps arm64/emit.mlp)
22
(action
23
(progn
24
- (with-stdout-to contains-input-name
25
- (bash "echo %{env:ARCH=amd64}/emit.mlp"))
+ (copy# arm64/emit.mlp contains-input-name)
26
(with-stdout-to %{targets}
27
- (bash "%{dep:../tools/cvt_emit.exe} < `cat contains-input-name`")))))
+ (bash "cat contains-input-name | %{dep:../tools/cvt_emit.exe} ")))))
0 commit comments