bazel: for the prolog compiler rule, don't use $TMP as temp dir.
The prolog compiler tries to be transactional by renaming a temp file to its final destination. This only works if $TMP is on the same file system as the final output. Change-Id: I3b3d261d61ace2798fca96d849bce9f2bbd46bcd
This commit is contained in:
@@ -22,7 +22,7 @@ def prolog_cafe_library(
|
||||
genrule2(
|
||||
name = name + '__pl2j',
|
||||
cmd = '$(location //lib/prolog:compiler_bin) ' +
|
||||
'$$TMP $@ ' +
|
||||
'$$(dirname $@) $@ ' +
|
||||
'$(SRCS)',
|
||||
srcs = srcs,
|
||||
tools = ['//lib/prolog:compiler_bin'],
|
||||
|
||||
Reference in New Issue
Block a user