mirror of
				https://github.com/Telecominfraproject/ols-nos.git
				synced 2025-10-29 09:12:28 +00:00 
			
		
		
		
	 7306d68411
			
		
	
	7306d68411
	
	
	
		
			
			Currently, the build with ASAN_ENABLE=y reuses the packages built with ASAN_ENABLE=n (and vice versa). To address this issue, ASAN_ENABLE is added to DEP_FLAGS for asan-enabled packages (docker-syncd-mlnx, syncd, docker-orchagent, swss). - Why I did it To make dpkg cache use/rebuild the packages for ASAN_ENABLE=y/n. - How I did it Added ASAN_ENABLE to the DEP_FLAGS for asan-enabled packages. - How to verify it Built with ASAN_ENABLE=y/n and checked the .flags .log files. Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			445 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			445 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| SPATH       := $($(SWSS)_SRC_PATH)
 | |
| DEP_FILES   := $(SONIC_COMMON_FILES_LIST) rules/swss.mk rules/swss.dep   
 | |
| DEP_FILES   += $(SONIC_COMMON_BASE_FILES_LIST)
 | |
| SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files))
 | |
| 
 | |
| $(SWSS)_CACHE_MODE  := GIT_CONTENT_SHA 
 | |
| $(SWSS)_DEP_FLAGS   := $(SONIC_COMMON_FLAGS_LIST) $(ENABLE_ASAN)
 | |
| $(SWSS)_DEP_FILES   := $(DEP_FILES)
 | |
| $(SWSS)_SMDEP_FILES := $(SMDEP_FILES)
 | |
| $(SWSS)_SMDEP_PATHS := $(SPATH)
 | |
| 
 |