Skip to content

Commit

Permalink
Set ariane_setup.sh back to what it was
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbalkind authored Aug 30, 2023
1 parent 3df115f commit 970b866
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions piton/ariane_setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
# Modified by Barcelona Supercomputing Center on March 3rd, 2022
# Copyright 2018 ETH Zurich and University of Bologna.
# Copyright and related rights are licensed under the Solderpad Hardware
# License, Version 0.51 (the "License"); you may not use this file except in
Expand Down Expand Up @@ -52,11 +51,8 @@ echo "make sure that you source this script in a bash shell in the root folder o

if [ -z "$BASH" ] || [ ${0: -4} != "bash" ]
then
#echo "not in bash ($0), aborting"
# Commentted out, as it is not really an issue and it may fail when running the CICD
echo "not in bash ($0)"
#return

echo "not in bash ($0), aborting"
return
fi

SCRIPTNAME=ariane_setup.sh
Expand All @@ -80,15 +76,18 @@ export ARIANE_ROOT=${PITON_ROOT}/piton/design/chip/tile/ariane/
export CXX=g++ CC=gcc
# customize this to a fast local disk

export RISCV=~/scratch/`whoami`/riscv_install
export VERILATOR_ROOT=~/scratch/`whoami`/verilator_4_104/
if [ "$RISCV" == "" ]
then
export RISCV=$HOME/scratch/riscv_install
fi
export VERILATOR_ROOT=$ARIANE_ROOT/tmp/verilator-4.014/

# setup paths
export PATH=$RISCV/bin:$VERILATOR_ROOT/bin:$PATH
export LIBRARY_PATH=$RISCV/lib
export LD_LIBRARY_PATH=$RISCV/lib:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=$RISCV/include:$VERILATOR_ROOT/include:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=$RISCV/include:$VERILATOR_ROOT/include:$CPLUS_INCLUDE_PATH
export MODELSIM_HOME=$HOME/scratch/questa_install/questasim
export LD_LIBRARY_PATH=$RISCV/lib
export C_INCLUDE_PATH=$RISCV/include:$VERILATOR_ROOT/include
export CPLUS_INCLUDE_PATH=$RISCV/include:$VERILATOR_ROOT/include

# source OpenPiton setup script
# note: customize this script to reflect your tool setup
Expand Down

0 comments on commit 970b866

Please sign in to comment.