whitespace cleanup

This commit is contained in:
Jordan Carlin 2024-06-29 00:29:01 -07:00
parent 3d8e850505
commit 6c81fd7759
No known key found for this signature in database
4 changed files with 172 additions and 172 deletions

View File

@ -51,8 +51,8 @@ source "$os_release"
if [[ "$ID" = rhel || "$ID_LIKE" = *rhel* ]]; then if [[ "$ID" = rhel || "$ID_LIKE" = *rhel* ]]; then
FAMILY=rhel FAMILY=rhel
if [ "$ID" != rhel ] && [ "$ID" != rocky ]; then if [ "$ID" != rhel ] && [ "$ID" != rocky ]; then
echo "For Red Hat family distros, the Wally install script has only been tested on RHEL and Rocky Linux. Your distro \ printf "%s\n" "For Red Hat family distros, the Wally install script has only been tested on RHEL and Rocky Linux. Your distro " \
is $PRETTY_NAME. The regular Red Hat install will be attempted, but there will likely be issues." "is $PRETTY_NAME. The regular Red Hat install will be attempted, but there will likely be issues."
fi fi
if [ "${VERSION_ID:0:1}" = 8 ]; then if [ "${VERSION_ID:0:1}" = 8 ]; then
RHEL_VERSION=8 RHEL_VERSION=8
@ -65,13 +65,13 @@ is $PRETTY_NAME. The regular Red Hat install will be attempted, but there will l
elif [[ "$ID" = ubuntu || "$ID_LIKE" = *ubuntu* ]]; then elif [[ "$ID" = ubuntu || "$ID_LIKE" = *ubuntu* ]]; then
FAMILY=ubuntu FAMILY=ubuntu
if [ "$ID" != ubuntu ]; then if [ "$ID" != ubuntu ]; then
echo "For Ubuntu family distros, the Wally install script has only been tested on standard Ubuntu. Your distro \ printf "%s\n" "For Ubuntu family distros, the Wally install script has only been tested on standard Ubuntu. Your distro " \
is $PRETTY_NAME. The regular Ubuntu install will be attempted, but there may be issues." "is $PRETTY_NAME. The regular Ubuntu install will be attempted, but there may be issues."
fi fi
else else
echo "The Wally install script is currently only compatible with Ubuntu and Red Hat family \ printf "%s\n" "The Wally install script is currently only compatible with Ubuntu and Red Hat family " \
(RHEL or Rocky Linux) distros. Your detected distro is $PRETTY_NAME. You may try manually running the \ "(RHEL or Rocky Linux) distros. Your detected distro is $PRETTY_NAME. You may try manually running the " \
commands in this script, but it is likely that some will need to be altered." "commands in this script, but it is likely that some will need to be altered."
exit 1 exit 1
fi fi
@ -90,7 +90,7 @@ export PATH=$PATH:$RISCV/bin:/usr/bin
export PKG_CONFIG_PATH=$RISCV/lib64/pkgconfig:$RISCV/lib/pkgconfig:$RISCV/share/pkgconfig:$PKG_CONFIG_PATH export PKG_CONFIG_PATH=$RISCV/lib64/pkgconfig:$RISCV/lib/pkgconfig:$RISCV/share/pkgconfig:$PKG_CONFIG_PATH
mkdir -p "$RISCV" mkdir -p "$RISCV"
echo -e "Detected information" echo "Detected information"
echo "Distribution: $PRETTY_NAME" echo "Distribution: $PRETTY_NAME"
echo "Version: $VERSION" echo "Version: $VERSION"
echo "Running as root: $ROOT" echo "Running as root: $ROOT"

View File

@ -41,7 +41,7 @@ limit stacksize unlimited
setenv IDV $RISCV/ImperasDV-OpenHW setenv IDV $RISCV/ImperasDV-OpenHW
if ($?IDV) then if ($?IDV) then
# echo "Imperas exists" # echo "Imperas exists"
setenv IMPERAS_HOME $IDV/Imperas setenv IMPERAS_HOME $IDV/Imperas
setenv IMPERAS_PERSONALITY CPUMAN_DV_ASYNC setenv IMPERAS_PERSONALITY CPUMAN_DV_ASYNC
setenv ROOTDIR ~/ setenv ROOTDIR ~/

View File

@ -43,7 +43,7 @@ ulimit -c 234613
export IDV=$RISCV/ImperasDV-OpenHW export IDV=$RISCV/ImperasDV-OpenHW
if [ -e "$IDV" ]; then if [ -e "$IDV" ]; then
# echo "Imperas exists" # echo "Imperas exists"
export IMPERAS_HOME=$IDV/Imperas export IMPERAS_HOME=$IDV/Imperas
export IMPERAS_PERSONALITY=CPUMAN_DV_ASYNC export IMPERAS_PERSONALITY=CPUMAN_DV_ASYNC
export ROOTDIR=~/ export ROOTDIR=~/