Skip to content

Commit e73f111

Browse files
authored
[Build] Fix the dash cache dependency issue (#15851)
#### Why I did it [Build] Fix the dash cache dependency issue ``` 12:47:34 [ finished ] [ target/files/bullseye/ctrmgrd.service ] 12:47:36 fatal: Unable to hash src/sonic-dash-api/sonic-dash-api 12:47:36 make: *** [Makefile.cache:528: target/debs/bullseye/libdashapi_1.0.0_amd64.deb.smdep] Error 123 12:47:36 make: *** Waiting for unfinished jobs.... ``` ##### Work item tracking - Microsoft ADO **(number only)**: 24547630
1 parent fea1054 commit e73f111

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rules/sonic-dash-api.dep

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
SPATH := $($(LIB_SONIC_DASH_API)_SRC_PATH)
33
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-dash-api.mk rules/sonic-dash-api.dep
44
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
5-
SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files))
5+
DEP_FILES += $(shell git ls-files $(SPATH) | grep -v sonic-dash-api)
6+
SMDEP_FILES := $(addprefix $(SPATH)/sonic-dash-api/,$(shell cd $(SPATH)/sonic-dash-api && git ls-files))
67

78
$(LIB_SONIC_DASH_API)_CACHE_MODE := GIT_CONTENT_SHA
89
$(LIB_SONIC_DASH_API)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)

0 commit comments

Comments
 (0)