From ba75ab9508b6e4ec705db36a44155d78a067c1d9 Mon Sep 17 00:00:00 2001 From: Zentrik Date: Sat, 30 Mar 2024 14:32:26 +0000 Subject: [PATCH] Fix calling LLVM_SIZE on windows 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)