Skip to content
Snippets Groups Projects
Commit df3e5b74 authored by davide's avatar davide Committed by Marge Bot
Browse files

Hadrian: disable cloud build cache for symlinks #16800

This is a temporary workaround shake not supporting symlinks
when using cloud/cached builds.
parent 60b9eab9
No related branches found
No related tags found
No related merge requests found
......@@ -305,6 +305,10 @@ isGeneratedSource file = buildRoot <&> (`isPrefixOf` file)
-- missing.
createFileLink :: FilePath -> FilePath -> Action ()
createFileLink linkTarget link = do
-- TODO `disableHistory` is a temporary fix (see issue #16866). Remove
-- `disableHistory` when shake issue is fixed: https://github.com/ndmitchell/shake/issues/683.
historyDisable
let source = if isAbsolute linkTarget
then linkTarget
else takeDirectory link -/- linkTarget
......
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