Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdavis-prof committed Oct 24, 2024
1 parent 8938704 commit 69d8348
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ else
exe=
endif

# Use a separate GOCACHE for each OS/ARCH combination.
ifeq ($(GOCACHE),)
GOCACHE=/tmp/$(NAME)-$(GOOS)-$(GOARCH).cache
export GOCACHE
endif

go_path := PATH="$(go_bin_dir):$(PATH)"

goenv = $(shell PATH="$(go_bin_dir):$(PATH)" go env $1)
Expand Down

0 comments on commit 69d8348

Please sign in to comment.