-
Notifications
You must be signed in to change notification settings - Fork 5
/
configure
executable file
·41 lines (31 loc) · 1.05 KB
/
configure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env bash
#This script will set up some configuration variables to be used by TheSDK by creating
#a file TheSDK.config that can be included to all other shell scripts
PYTHON="python3"
#These are generated here, but local configurations should be done to
# Root TheSDK.config which is not included in Git
cat << EOF > ./TheSDK.config
THESDKHOME="`cd \`dirname "$0"\` && pwd`"
#Comment these if you do not have LSF
$(if [ -z "`command -v bsub`" ]; then
echo '#LSFSUBMISSION="bsub -K"'
echo '#LSFINTERACTIVE="bsub -I"'
else
echo 'LSFSUBMISSION="bsub -K"'
echo 'LSFINTERACTIVE="bsub -I"'
fi)
#Variables below define the commands to be executed in Makefiles
#Local (Non-LSF) python submission
PYL="${PYTHON}"
#Non-interative LSF python submission
PY="${LSFSUBMISSION} ${PYTHON}"
#Interative LSF python submission
PYI="${LSFINTERACTIVE} ${PYTHON}"
#Library paths for Eldo and Spectre simulations
#SPECTRELIBFILE=""
#ELDOLIBFILE=""
#Library file for verilogsimulations
#VLOGLIBFILE=""
#Library file for verilogsimulations
#VHDLLIBFILE=""
EOF