File tree Expand file tree Collapse file tree 5 files changed +219
-227
lines changed
Expand file tree Collapse file tree 5 files changed +219
-227
lines changed Original file line number Diff line number Diff line change 11if [[ " $OSTYPE " == " darwin" * ]]; then
2- modroot =" $( dirname $( perl -e ' use Cwd "abs_path";print abs_path(shift)' " ${BASH_SOURCE[0]} " ) ) /tools "
2+ DIR =" $( dirname $( perl -e ' use Cwd "abs_path";print abs_path(shift)' " ${BASH_SOURCE[0]} " ) ) "
33else
4- modroot=" $( dirname $( readlink -f " ${BASH_SOURCE[0]} " ) ) /tools"
5- fi
6-
7- if [ ! -d " ${modroot} " ]; then
8- echo " Module path does not exist: ${modroot} "
9- return 1
4+ DIR=" $( dirname $( readlink -f " ${BASH_SOURCE[0]} " ) ) "
105fi
116
127if [ -f /opt/rh/rh-python38/enable ]; then
138 source /opt/rh/rh-python38/enable
149fi
1510
16- export OPENROAD=${modroot} /OpenROAD
11+ export OPENROAD=${DIR} /tools /OpenROAD
1712echo " OPENROAD: ${OPENROAD} "
1813
19- export PATH=${modroot} /install/OpenROAD/bin:${modroot} /install/yosys/bin:${modroot} /install/LSOracle/bin:$PATH
14+ export PATH=${DIR} /tools/install/OpenROAD/bin:$PATH
15+ export PATH=${DIR} /tools/install/yosys/bin:$PATH
16+ export PATH=${DIR} /tools/install/LSOracle/bin:$PATH
17+ export PATH=${DIR} /dependencies/bin:$PATH
2018
2119if [[ " $OSTYPE " == " darwin" * ]]; then
2220 export PATH=" /Applications/KLayout/klayout.app/Contents/MacOS:$PATH "
You can’t perform that action at this time.
0 commit comments