Skip to content

Commit 64104c9

Browse files
authored
Add environment variable for setting ccache directory (#295)
1 parent dcb2ecb commit 64104c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BinaryBuilderBase.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function storage_dir(args::AbstractString...)
5050
mkpath(dirname(dir))
5151
return dir
5252
end
53-
ccache_dir() = storage_dir("ccache")
53+
ccache_dir() = get(ENV, "BINARYBUILDER_CCACHE_DIR", storage_dir("ccache"))
5454

5555
"""
5656
enable_apple_file()

0 commit comments

Comments
 (0)