Skip to content

Commit

Permalink
Merge pull request #16250 from branchvincent/pip-cache
Browse files Browse the repository at this point in the history
formula: add `PIP_CACHE_DIR` to build env
  • Loading branch information
MikeMcQuaid authored Nov 23, 2023
2 parents e93b0fc + 1e2cdc6 commit 1b8207b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/cleanup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def nested_cache?(pathname)
glide_home
java_cache
npm_cache
pip_cache
gclient_cache
].include?(pathname.basename.to_s)
end
Expand Down
1 change: 1 addition & 0 deletions Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2871,6 +2871,7 @@ def common_stage_test_env
GOCACHE: "#{HOMEBREW_CACHE}/go_cache",
GOPATH: "#{HOMEBREW_CACHE}/go_mod_cache",
CARGO_HOME: "#{HOMEBREW_CACHE}/cargo_cache",
PIP_CACHE_DIR: "#{HOMEBREW_CACHE}/pip_cache",
CURL_HOME: ENV.fetch("CURL_HOME") { Dir.home },
PYTHONDONTWRITEBYTECODE: "1",
}
Expand Down

0 comments on commit 1b8207b

Please sign in to comment.