Skip to content

Commit 435a577

Browse files
committed
clone mmtk-core by hand
1 parent 12395ae commit 435a577

File tree

4 files changed

+31
-1
lines changed

4 files changed

+31
-1
lines changed

debian/control

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Build-Depends: bison,
1515
libyaml-dev,
1616
rustc (>= 1.85.0) | rustc-web (>= 1.85.0) | rustc-1.85 (>= 1.85.0),
1717
cargo (>= 1.85.0) | cargo-web (>= 1.85.0) | cargo-1.85,
18-
git,
18+
curl,
19+
ca-certificates,
1920
netbase <!nocheck>,
2021
openssl <!nocheck>,
2122
pkg-config,

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ rbinstall-Disable-arch-dependent-file-isolation.patch
1313
gc-mmtk-avoid-fn_addr_eq-for-MSRV-1.74.patch
1414
test_box-avoid-failure-with-program-suffix.patch
1515
Makefile-probes.h-dtrace-doesn-t-accept-CPPFLAGS.patch
16+
use-mmtk-core-checked-out-by-d-rules.patch
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From: Sorah Fukumori <[email protected]>
2+
Date: Fri, 26 Dec 2025 03:24:56 +0900
3+
Subject: use mmtk-core checked out by d/rules
4+
5+
---
6+
gc/mmtk/Cargo.toml | 6 +++---
7+
1 file changed, 3 insertions(+), 3 deletions(-)
8+
9+
diff --git a/gc/mmtk/Cargo.toml b/gc/mmtk/Cargo.toml
10+
index d0bc5b3..2446efd 100644
11+
--- a/gc/mmtk/Cargo.toml
12+
+++ b/gc/mmtk/Cargo.toml
13+
@@ -24,11 +24,11 @@ sysinfo = "0.32.0"
14+
features = ["is_mmtk_object", "object_pinning", "sticky_immix_non_moving_nursery", "immix_non_moving"]
15+
16+
# Uncomment the following lines to use mmtk-core from the official repository.
17+
-git = "https://github.com/mmtk/mmtk-core.git"
18+
-rev = "c6317a3f1c262e33fc2e427e4cc999c17bcc4791"
19+
+# git = "https://github.com/mmtk/mmtk-core.git"
20+
+# rev = "c6317a3f1c262e33fc2e427e4cc999c17bcc4791"
21+
22+
# Uncomment the following line to use mmtk-core from a local repository.
23+
-# path = "../../../mmtk-core"
24+
+path = "../../mmtk-core"
25+
26+
[features]
27+
default = []

debian/rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export LC_ALL := $(LANG)
105105
override_dh_auto_configure:
106106
cp /usr/share/misc/config.guess tool
107107
cp /usr/share/misc/config.sub tool
108+
( mkdir mmtk-core && curl -L https://github.com/mmtk/mmtk-core/archive/c6317a3f1c262e33fc2e427e4cc999c17bcc4791.tar.gz | tar xz --strip-components=1 -C mmtk-core )
108109
./configure $(configure_options)
109110

110111
override_dh_auto_clean:

0 commit comments

Comments
 (0)