From f43ea946aaae61de267a50ad3462d98145c127e8 Mon Sep 17 00:00:00 2001 From: bbracker Date: Tue, 18 May 2021 14:33:22 -0400 Subject: [PATCH] changed lint script to use absolute path for verilator because cron jobs stink at using paths --- wally-pipelined/lint-wally | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wally-pipelined/lint-wally b/wally-pipelined/lint-wally index ed67dbab6..47a432357 100755 --- a/wally-pipelined/lint-wally +++ b/wally-pipelined/lint-wally @@ -1,11 +1,12 @@ #!/bin/bash # check for warnings in Verilog code # The verilator lint tool is faster and better than Modelsim so it is best to run this first. +verilator="/usr/local/bin/verilator" basepath=$(dirname $0) for config in rv64ic rv32ic; do echo "$config linting..." - if !(verilator --lint-only "$@" --top-module wallypipelinedsoc "-I$basepath/config/$config" $basepath/src/*/*.sv); then + if !($verilator --lint-only "$@" --top-module wallypipelinedsoc "-I$basepath/config/$config" $basepath/src/*/*.sv); then echo "Exiting after $config lint due to errors or warnings" exit 1 fi