2021-11-12 23:48:54 -06:00
|
|
|
BRCM_SAI = libsaibcm_6.0.0.10-1_amd64.deb
|
|
|
|
$(BRCM_SAI)_URL = "https://sonicstorage.blob.core.windows.net/packages/bcmsai/6.0/master/XGS/libsaibcm_6.0.0.10-1_amd64.deb?sv=2015-04-05&sr=b&sig=5fW6otWPCPrsSIXeomEcllS8sEDXMo0YOD8UhB370U0%3D&se=2035-07-22T20%3A50%3A51Z&sp=r"
|
|
|
|
BRCM_SAI_DEV = libsaibcm-dev_6.0.0.10-1_amd64.deb
|
2016-12-14 13:59:24 -06:00
|
|
|
$(eval $(call add_derived_package,$(BRCM_SAI),$(BRCM_SAI_DEV)))
|
2021-11-12 23:48:54 -06:00
|
|
|
$(BRCM_SAI_DEV)_URL = "https://sonicstorage.blob.core.windows.net/packages/bcmsai/6.0/master/XGS/libsaibcm-dev_6.0.0.10-1_amd64.deb?sv=2015-04-05&sr=b&sig=8h7bO9EizzMXduSOf%2Ffc3JH0EcHxcE8p51LyUw0CA6o%3D&se=2035-07-22T20%3A51%3A57Z&sp=r"
|
2016-12-14 13:59:24 -06:00
|
|
|
|
2021-06-22 13:12:22 -05:00
|
|
|
# SAI module for DNX Asic family
|
2021-11-12 23:48:54 -06:00
|
|
|
BRCM_DNX_SAI = libsaibcm_dnx_6.0.0.10-1_amd64.deb
|
|
|
|
$(BRCM_DNX_SAI)_URL = "https://sonicstorage.blob.core.windows.net/packages/bcmsai/6.0/master/DNX/libsaibcm_dnx_6.0.0.10-1_amd64.deb?sv=2015-04-05&sr=b&sig=J1lE1SI1Mtwrl0vZ2tAPvkNLKpkyz2XVgRe98DnPNfo%3D&se=2035-07-22T20%3A53%3A24Z&sp=r"
|
2021-06-22 13:12:22 -05:00
|
|
|
|
2018-10-20 16:39:04 -05:00
|
|
|
SONIC_ONLINE_DEBS += $(BRCM_SAI)
|
2021-06-22 13:12:22 -05:00
|
|
|
SONIC_ONLINE_DEBS += $(BRCM_DNX_SAI)
|
2020-02-25 11:14:23 -06:00
|
|
|
$(BRCM_SAI_DEV)_DEPENDS += $(BRCM_SAI)
|
[build]: wait for conflicts package to be uninstalled (#5039)
when parallel build is enabled, both docker-fpm-frr and docker-syncd-brcm
is built at the same time, docker-fpm-frr requires swss which requires to
install libsaivs-dev. docker-syncd-brcm requires syncd package which requires
to install libsaibcm-dev.
since libsaivs-dev and libsaibcm-dev install the sai header in the same
location, these two packages cannot be installed at the same time. Therefore,
we need to serialize the build between these two packages. Simply uninstall
the conflict package is not enough to solve this issue. The correct solution
is to have one package wait for another package to be uninstalled.
For example, if syncd is built first, then it will install libsaibcm-dev.
Meanwhile, if the swss build job starts and tries to install libsaivs-dev,
it will first try to query if libsaibcm-dev is installed or not. if it is
installed, then it will wait until libsaibcm-dev is uninstalled. After syncd
job is finished, it will uninstall libsaibcm-dev and swss build job will be
unblocked.
To solve this issue, _UNINSTALLS is introduced to uninstall a package that
is no longer needed and to allow blocked job to continue.
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2020-07-27 12:46:20 -05:00
|
|
|
$(eval $(call add_conflict_package,$(BRCM_SAI_DEV),$(LIBSAIVS_DEV)))
|