Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple Architectures in build_p4sde.sh #116

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/README_DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ for creating the vhost socket interfaces in `volume/intf`, all the log files in
`volume/logs` and can be used to share files with the IPDK daemon container
where the `VOLUME` directory is available as '/tmp'.

* Run - 'ipdk connect' - To connect to your IPDK container daemon and to use
* Run - `ipdk connect` - To connect to your IPDK container daemon and to use
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to your commit, but fine to merge with this anyways.

it from a command line.

If above commands are successful, at this point you should have your IPDK
Expand Down
3 changes: 2 additions & 1 deletion build/scripts/build_p4sde.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export SDE_INSTALL="$SDE/install"

#...Package Config Path...#
if [ "${OS}" = "Ubuntu" ] || [ "${VER}" = "20.04" ] ; then
export PKG_CONFIG_PATH=${SDE_INSTALL}/lib/x86_64-linux-gnu/pkgconfig
arch=$(uname -m)
export PKG_CONFIG_PATH=${SDE_INSTALL}/lib/${arch}-linux-gnu/pkgconfig
else
export PKG_CONFIG_PATH=${SDE_INSTALL}/lib64/pkgconfig
fi
Expand Down