File tree 2 files changed +14
-2
lines changed 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,13 @@ RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
16
16
ENV PATH="/root/mmtk-v8-workspace/depot_tools:${PATH}"
17
17
RUN gclient
18
18
RUN fetch v8
19
- RUN gclient sync
20
19
# Clone MMTk
21
20
RUN git clone https://github.com/mmtk/mmtk-v8.git
22
21
22
+ # Checkout a working V8 revision.
23
+ # TODO: Use latest v8.
24
+ RUN git -C v8 checkout 191b637f28c0e2c6ca5f2d6ac89377039a754337
25
+ RUN gclient sync
23
26
24
27
WORKDIR /root/mmtk-v8-workspace
25
28
COPY ./args-debug.gn ./v8/out/x64.debug-mmtk/args.gn
Original file line number Diff line number Diff line change 4
4
5
5
### Build docker image
6
6
7
- * This will fetch the latest v8 and mmtk-v8 repo.*
7
+ * This will fetch the ~~ latest~~ ` 191b637f ` v8 and the latest mmtk-v8 repo.*
8
8
9
9
``` console
10
10
$ docker image build -t mmtk-v8 .
@@ -24,3 +24,12 @@ $ docker container run mmtk-v8 # directly executes `gm x64.optdebug-mmtk.checkal
24
24
$ docker container run -it mmtk-v8 bash
25
25
root@70f9de71f77b:~/mmtk-v8-workspace # make check
26
26
```
27
+
28
+ ## Note!
29
+
30
+ A specific v8 git revision (` 191b637f ` ) is used at the moment due to the different third-party-heap API between
31
+ v8 and mmtk-v8 -- V8 TPH api is changing rapidly at the moment.
32
+
33
+ ## TODO:
34
+
35
+ - [ ] Use latest v8
You can’t perform that action at this time.
0 commit comments