Skip to content

Commit 417675b

Browse files
committed
Merge branch 'master' into secure-yosys_0.36
Signed-off-by: Eder Monteiro <[email protected]>
2 parents c31a5b5 + f606e56 commit 417675b

File tree

5 files changed

+219
-227
lines changed

5 files changed

+219
-227
lines changed

env.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
if [[ "$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]}"))"
33
else
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]}"))"
105
fi
116

127
if [ -f /opt/rh/rh-python38/enable ]; then
138
source /opt/rh/rh-python38/enable
149
fi
1510

16-
export OPENROAD=${modroot}/OpenROAD
11+
export OPENROAD=${DIR}/tools/OpenROAD
1712
echo "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

2119
if [[ "$OSTYPE" == "darwin"* ]]; then
2220
export PATH="/Applications/KLayout/klayout.app/Contents/MacOS:$PATH"

0 commit comments

Comments
 (0)