This is an automated email from the ASF dual-hosted git repository.
ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git
The following commit(s) were added to refs/heads/master by this push:
new 46ad05a9 [YUNIKORN-2053] Core: Fix dependency in Makefile (#677)
46ad05a9 is described below
commit 46ad05a99274a9df8cead7b2586e245d49e83d3e
Author: Albin George <[email protected]>
AuthorDate: Thu Oct 19 16:56:06 2023 -0500
[YUNIKORN-2053] Core: Fix dependency in Makefile (#677)
Corrected the dependency list for make targets.
Closes: #677
Signed-off-by: Craig Condit <[email protected]>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 0b5dd588..8ba413a9 100644
--- a/Makefile
+++ b/Makefile
@@ -179,17 +179,17 @@ pseudo:
.PHONY: commands
commands: build/simplescheduler build/schedulerclient build/queueconfigchecker
-build/simplescheduler: go.mod go.sum cmd
+build/simplescheduler: go.mod go.sum $(shell find cmd pkg)
@echo "building example scheduler"
@mkdir -p build
"$(GO)" build $(RACE) -a -ldflags '-extldflags "-static"' -o
build/simplescheduler ./cmd/simplescheduler
-build/schedulerclient:
+build/schedulerclient: go.mod go.sum $(shell find cmd pkg)
@echo "building example client"
@mkdir -p build
"$(GO)" build $(RACE) -a -ldflags '-extldflags "-static"' -o
build/schedulerclient ./cmd/schedulerclient
-build/queueconfigchecker:
+build/queueconfigchecker: go.mod go.sum $(shell find cmd pkg)
@echo "building queueconfigchecker"
@mkdir -p build
"$(GO)" build $(RACE) -a -ldflags '-extldflags "-static"' -o
build/queueconfigchecker ./cmd/queueconfigchecker
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]