Skip to content

Commit

Permalink
Also avoid using sudo in batch-install.sh script
Browse files Browse the repository at this point in the history
Also remove isntallation of ccache, since p4studio should
install that.

Signed-off-by: Andy Fingerhut <[email protected]>
  • Loading branch information
jafingerhut committed Jan 21, 2025
1 parent 244866e commit 881c17a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions batch-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ date
TIME_START=$(date +%s)
set -x

# This is required for some of the build steps, but is not installed
# by any later commands.
sudo apt-get install --yes ccache

set +x
echo "Version of p4lang/open-p4studio repo used:"
set -x
Expand All @@ -212,7 +208,7 @@ set -x
git log -n 1 | head -n 3
cd "${THIS_SCRIPT_DIR_ABSOLUTE}"

sudo -E ./p4studio/p4studio profile apply --jobs ${num_jobs} ./p4studio/profiles/testing.yaml
./p4studio/p4studio profile apply --jobs ${num_jobs} ./p4studio/profiles/testing.yaml

set +x
echo "------------------------------------------------------------"
Expand Down

0 comments on commit 881c17a

Please sign in to comment.