Skip to content

Commit

Permalink
ci: Add workflow comments to Verilator installation script
Browse files Browse the repository at this point in the history
    - Clarify purpose of ~/tools/verilator directory operations with inline comments
  • Loading branch information
bi262934 committed Jan 29, 2025
1 parent be42625 commit f7a5336
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/install-verilator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ if [ ! -e "$2/verilator-$1/bin/verilator" ]; then
./configure --prefix="$2/verilator-$1"
make -j$(nproc)
cp -r * $2/verilator-$1/
rm -rf ~/tools/verilator
cp -r * ~/tools/verilator
rm -rf ~/tools/verilator # used in naxriscv github workflow
cp -r * ~/tools/verilator # used in naxriscv github workflow
cd ..
else
echo "Using Verilator from cached directory."
# Vérification que ~/tools/verilator est à jour
rm -rf ~/tools/verilator
cp -r "$2/verilator-$1" ~/tools/verilator
rm -rf ~/tools/verilator # used in naxriscv github workflow
cp -r "$2/verilator-$1" ~/tools/verilator # used in naxriscv github workflow
fi

0 comments on commit f7a5336

Please sign in to comment.