From 657ce0482d54f9658c9cf4fd3560ca51aafdb03b Mon Sep 17 00:00:00 2001 From: Zentrik Date: Mon, 1 Apr 2024 19:13:18 +0100 Subject: [PATCH] Fix calling LLVM_SIZE on windows (#53902) Per https://github.com/JuliaCI/julia-buildkite/pull/224#issuecomment-1474914609, the path needs to be updated so that `llvm-size` can find `libLLVM.dll`. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d7d25998688c5..0c27216d2f9fb 100644 --- a/Makefile +++ b/Makefile @@ -653,7 +653,7 @@ win-extras: ifeq ($(USE_SYSTEM_LLVM), 1) LLVM_SIZE := llvm-size$(EXE) else -LLVM_SIZE := $(build_depsbindir)/llvm-size$(EXE) +LLVM_SIZE := PATH=$(build_bindir):$$PATH; $(build_depsbindir)/llvm-size$(EXE) endif build-stats: ifeq ($(USE_BINARYBUILDER_LLVM),1)