From 87c25a6084dd5505c477ee8407f317a7190277a2 Mon Sep 17 00:00:00 2001 From: ganeshgore Date: Mon, 6 Apr 2020 00:35:28 -0600 Subject: [PATCH] Added GCC paths to source --- openfpga.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openfpga.sh b/openfpga.sh index 02f2ba5fd..3ae8c992d 100755 --- a/openfpga.sh +++ b/openfpga.sh @@ -4,6 +4,12 @@ # for several simple operations in OpenFPGA project #author : Ganesh Gore #============================================================================== +# Enviroment variables +export PATH=$PATH:/usr/local/stow/gcc/amd64_linux26/gcc-8.4.0/bin +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/stow/gcc/amd64_linux26/gcc-8.4.0/lib64 +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/stow/boost/boost_1_67_0/lib/ +export CC=$(which gcc) +export CXX=$(which g++) export OPENFPGA_PATH="$(pwd)" export OPENFPGA_SCRIPT_PATH="$(pwd)/openfpga_flow/scripts" @@ -82,4 +88,5 @@ fi TaskList=$(ls -tdalh ${OPENFPGA_TASK_PATH}/* | awk '{system("basename " $9)}' | awk '{printf("%s ",$1)}') complete -W "${TaskList}" goto-task complete -W "${TaskList}" run-task +complete -W "${TaskList}" run-shell-task complete -W "${TaskList}" run-modelsim