projects
/
dev-env-setup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc0020
)
Added cocotb setup script.
author
R Veera Kumar
<vklr@vkten.in>
Sat, 22 May 2021 19:03:59 +0000
(
00:33
+0530)
committer
R Veera Kumar
<vklr@vkten.in>
Sat, 22 May 2021 19:03:59 +0000
(
00:33
+0530)
cocotb-install
[new file with mode: 0755]
patch
|
blob
diff --git a/cocotb-install
b/cocotb-install
new file mode 100755
(executable)
index 0000000..
4a34adb
--- /dev/null
+++ b/
cocotb-install
@@ -0,0
+1,11
@@
+#!/bin/bash
+if [ "$EUID" -ne 0 ]
+ then echo "Please run as root using 'sudo bash'"
+ exit
+fi
+
+apt-get update -y
+apt-get install -y git python3 python3-dev g++ make python3-pip
+
+pip3 install git+https://github.com/cocotb/cocotb@v1.5.2
+