Skip to content

Commit

Permalink
[build][asan] make dpkg cache asan-aware
Browse files Browse the repository at this point in the history
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 the
SONIC_COMMON_FLAGS_LIST.

Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
  • Loading branch information
Yakiv-Huryk committed Apr 27, 2022
1 parent 850e456 commit abb0df6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.cache
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ SONIC_COMMON_FLAGS_LIST := $(CONFIGURED_PLATFORM) \
$(CONFIGURED_ARCH) \
$(BLDENV) \
$(SONIC_DEBUGGING_ON) \
$(SONIC_PROFILING_ON) $(SONIC_ENABLE_SYNCD_RPC)
$(SONIC_PROFILING_ON) \
$(SONIC_ENABLE_SYNCD_RPC) \
$(ENABLE_ASAN)
SONIC_COMMON_DPKG_LIST := debian/control debian/changelog debian/rules \
debian/compat debian/install debian/copyright
SONIC_COMMON_BASE_FILES_LIST := sonic-slave-jessie/Dockerfile.j2 sonic-slave-jessie/Dockerfile.user.j2 \
Expand Down

0 comments on commit abb0df6

Please sign in to comment.