You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-15Lines changed: 35 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,25 +7,45 @@ GitBug-Java is a reproducible Java benchmark of recent bugs.
7
7
## Setup GitBug-Java
8
8
9
9
Requirements:
10
-
- Python
11
-
- Poetry
12
-
- Docker
10
+
- Python (Recommended 3.11)
11
+
- Poetry (Recommended 1.8 and higher)
12
+
- Docker (v20 or higher)
13
+
- If you are on Ubuntu/Debian, choose a system with GLIBC 2.32 or 2.34 as some of the dependencies require these versions (A docker image would not be suitable as it would require DinD).
14
+
15
+
For example you can create a virtual machine of ubuntu 21.10 (glibc 2.32). Here is a quick setup of an ubuntu VM:
16
+
- Install multipass (allows to quickly create ubuntu VMs and works on Linux/Mac/Windows). Follow instructions here: https://multipass.run/docs/install-multipass.
17
+
- create an ubuntu image (e.g, 280G in disk space, 16G in memory and 2 cpus):
**Note:** The above command needs to be executed on every new shell instance
44
+
45
+
3. Run Setup (Installs Docker Image ~50GiB, downloads required dependencies ~80GiB). The downloadable data size is around 130GB. However, after unzipping files, the space taken goes up to 240GB (it goes down after deleting the zipped files).
46
+
```bash
47
+
gitbug-java setup
48
+
```
29
49
30
50
**NOTE: Ensure that all `gitbug-java` commands are executed without using `sudo` to guarantee correct functionality.**
0 commit comments