Skip to content

Commit

Permalink
Use newer private DASH commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyzhai committed Sep 27, 2024
1 parent 2c47e35 commit d30b766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rules/dash-sai.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DASH SAI repo: https://github.com/sonic-net/DASH

DASH_SAI_VERSION = 1.0.0
DASH_SAI_COMMIT = cc281333e24ade258773ea843f669251a44d7c9a
DASH_SAI_COMMIT = fa37fd6

export DASH_SAI_VERSION
export DASH_SAI_COMMIT
Expand Down
4 changes: 3 additions & 1 deletion src/dash-sai/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
# Remove any stale files
rm -rf DASH

git clone https://github.com/sonic-net/DASH.git DASH
git clone https://github.com/jimmyzhai/DASH.git DASH

pushd DASH/dash-pipeline
git checkout $(DASH_SAI_COMMIT)
Expand All @@ -29,6 +29,8 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
p4c-bm2-ss -DTARGET_BMV2_V1MODEL $(P4_MAIN) -o $(P4_OUTDIR)/dash_pipeline.json --p4runtime-files $(P4_OUTDIR)/dash_pipeline_p4rt.json,$(P4_OUTDIR)/dash_pipeline_p4rt.txt --toJSON $(P4_OUTDIR)/dash_pipeline_ir.json

# Generate SAI files
sudo pip3 install pyyaml-include
sudo ln -sf $(PIPELINE_DIR)/SAI /SAI
pushd SAI
make
popd
Expand Down

0 comments on commit d30b766

Please sign in to comment.