You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configure.ac only generates a Makefile for tests/mock_tests if no SAI library is installed:
# If no SAI library is installed, compile with SAIVS and run unit tests
AM_COND_IF([HAVE_SAI],[],
[AC_CONFIG_FILES([tests/mock_tests/Makefile])])
However, the Makefile.am for tests specifies that mock_tests is to be built unconditionally:
SUBDIRS = mock_tests
As a result, when trying to build swss against a SAI library, the tests Makefile attempts to build mock_tests first, causing the build to crash.
This was introduced by #1103. We can't revert this commit because it includes a bugfix for portsorch, so we'll need to open another PR to patch this before we can update the swss submodule in sonic-buildimage.
The text was updated successfully, but these errors were encountered:
… a Debian package (sonic-net#1122)
Support building sonic-utilities as a Python wheel package rather than a Debian package.
Notes:
- Wheel packaging restricts the installation of files to within the dist-packages directory. Thus, we cannot install data files to system directories. Therefore, I am building a separate 'sonic-utilities-data' package for installing the data files (bash_completion, templates)
- Wheel packages install scripts/entrypoints to the /usr/local/bin directory, whereas Debian packages install to /usr/bin
configure.ac only generates a Makefile for
tests/mock_tests
if no SAI library is installed:However, the Makefile.am for
tests
specifies thatmock_tests
is to be built unconditionally:As a result, when trying to build swss against a SAI library, the
tests
Makefile attempts to buildmock_tests
first, causing the build to crash.This was introduced by #1103. We can't revert this commit because it includes a bugfix for portsorch, so we'll need to open another PR to patch this before we can update the swss submodule in sonic-buildimage.
The text was updated successfully, but these errors were encountered: