Skip to content

Commit

Permalink
Merge pull request facebook#23 from eerpini/upgrade-aqua-sai-9.0.0.7
Browse files Browse the repository at this point in the history
Upgrade to Aqua SAI 9.0.0.7 EA drop.
  • Loading branch information
eerpini authored Mar 24, 2023
2 parents 7d84a55 + 9be410f commit dbf9903
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions arista/build-utils/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ pip3 install GitPython
SAI_DIR="$FBOSS_DIR/Aqua_SAI/"
if [ $ARCH == "dnx" ];
then
SAI_BUILD_DIR="$SAI_DIR/output/x86-dnx-deb-static-meta"
SAI_BUILD_DIR="$SAI_DIR/output/x86-dnx-deb-static-fboss"
else
SAI_BUILD_DIR="$SAI_DIR/output/x86-xgsall-deb-static"
SAI_BUILD_DIR="$SAI_DIR/output/x86-xgsall-deb-static-fboss"
fi

# Delete SDK var in the env. It can cause the SDK build to fail.
Expand Down
9 changes: 6 additions & 3 deletions arista/fbossctl
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,15 @@ maybe_setup_build_env() {
git clone git@github.com:aristanetworks/Aqua_SAI.git
cd "${FBOSS_HOST_DIR}/Aqua_SAI"
git pull
git checkout REL_SAI_EA_9.0.0.6_META_030123
git checkout REL_SAI_EA_9.0.0.7_META_032223
wget http://dist/storage/fboss/FBOSS-SAI/patch0-Jupiter-SAI-Makefile.patch
git apply patch0-Jupiter-SAI-Makefile.patch
cd "${FBOSS_HOST_DIR}/Aqua_SAI/sdk-src/hsdk_6.5.28_SAI_9.0.0_EA"
wget http://dist/storage/fboss/FBOSS-SAI/sai-sdk-all-6.5.28-cf57740b7.tar.xz
tar -xf sai-sdk-all-6.5.28-cf57740b7.tar.xz
wget http://dist/storage/fboss/FBOSS-SAI/sai-sdk-all-6.5.28-02b1402dd.tar.xz
tar -xf sai-sdk-all-6.5.28-02b1402dd.tar.xz
# Patch Broadcom DNX kernel module make file fixes for SDK 6.5.28
wget http://dist/storage/fboss/FBOSS-SAI/patch3-SDK-6_5_28_DNX_Kernel_Module_fixes.patch
patch "dnx-sdk-6.5.28-gpl-modules/make/Make.config" < patch3-SDK-6_5_28_DNX_Kernel_Module_fixes.patch

# Download FBOSS linux header files.
cd "${FBOSS_HOST_DIR}"
Expand Down

0 comments on commit dbf9903

Please sign in to comment.