Skip to content

Commit fac9805

Browse files
use mops for all motoko benchmarks (dfinity#87)
* use mops for all motoko benchmarks * bump sha2
1 parent 9108afa commit fac9805

File tree

7 files changed

+20
-4
lines changed

7 files changed

+20
-4
lines changed

crypto/motoko/mops.template.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[dependencies]
22
base = "https://github.com/dfinity/motoko-base#moc-$MOC_VERSION"
3-
sha2 = "0.0.2"
3+
sha2 = "0.0.4"
44
ic-certification = "https://github.com/nomeata/ic-certification#main"

dapps/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include ../*.mk
44
all: build perf
55

66
motoko:
7-
$(call build,motoko)
7+
$(call build_with_mops,motoko)
88

99
rust:
1010
$(call build,rust)

dapps/motoko/dfx.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@
66
"basic_dao": {
77
"main": "basic_dao/Main.mo"
88
}
9+
},
10+
"defaults": {
11+
"build": {
12+
"packtool": "mops sources",
13+
"args": ""
14+
}
915
}
1016
}

dapps/motoko/mops.template.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[dependencies]
2+
base = "https://github.com/dfinity/motoko-base#moc-$MOC_VERSION"

pub-sub/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include ../*.mk
44
all: build perf
55

66
motoko:
7-
$(call build,motoko)
7+
$(call build_with_mops,motoko)
88

99
rust:
1010
$(call build,rust)

pub-sub/motoko/dfx.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@
66
"sub": {
77
"main": "src/sub/Main.mo"
88
}
9+
},
10+
"defaults": {
11+
"build": {
12+
"packtool": "mops sources",
13+
"args": ""
14+
}
915
}
10-
}
16+
}

pub-sub/motoko/mops.template.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[dependencies]
2+
base = "https://github.com/dfinity/motoko-base#moc-$MOC_VERSION"

0 commit comments

Comments
 (0)