From 1ccadbc3f6c4a756b2b8b2d449385c01c43d4166 Mon Sep 17 00:00:00 2001 From: Cornelius Riemenschneider Date: Tue, 22 Oct 2024 11:26:02 +0200 Subject: [PATCH] Add comment. --- go/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/go/Makefile b/go/Makefile index 528600b8c1c..4597245594e 100644 --- a/go/Makefile +++ b/go/Makefile @@ -1,3 +1,8 @@ +# On Windows, make's path resolution algorithm is incorrect. It picks up a bazel.exe in PATH that's +# after a bazel binary. In particular, on actions, the non-exe binary is a bazelisk instance, whereas +# bazel.exe is a bazel installation. +# This means we pick up the wrong bazel version, and if the differences between the bazel we want +# and that we actually get are too big, the build fails on CI. BAZEL := $(shell bash -c "which bazel") all: gen extractor