Skip to content

Commit 0dc2d58

Browse files
authored
Merge pull request #38 from okTurtles/linux-arm64
v2.2.2 - adds linux arm64
2 parents c431a93 + 3c43386 commit 0dc2d58

File tree

7 files changed

+18
-11
lines changed

7 files changed

+18
-11
lines changed

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# HISTORY
22

3+
### v2.2.2
4+
5+
- Add arm64 support for Linux platforms.
6+
37
### v2.2.1
48

59
- Restore `bin/chel` (fixes broken install). See [issue #37](https://github.com/okTurtles/chel/issues/37) for more details and if you'd like to help with this.

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ cp -r path/to/contracts/* test/assets/ && ls ./test/assets/*-slim.js | sed -En '
9393
Current release hashes will always be listed here.
9494

9595
```
96-
fe1de2ce047061b8753c5da4f1511751caafaf786031dd177348f8e58e4bf67c dist/chel-v2.2.1-aarch64-apple-darwin.tar.gz
97-
673ef07c4649564957e922ebdb1d8e454b5f3fcf8a77115eb17b6fe9a075bef6 dist/chel-v2.2.1-x86_64-apple-darwin.tar.gz
98-
af0a1738076666941efbdc755785df898f5046cf7c19c7d93e89d56561b28087 dist/chel-v2.2.1-x86_64-pc-windows-msvc.tar.gz
99-
78a36bbe6f60b6f3583337b21e41c8e1f5e1a6e65368d4116a6e93f12b447563 dist/chel-v2.2.1-x86_64-unknown-linux-gnu.tar.gz
96+
7ef6875b8eefef90aa09e569fc817b17c14c866204d028d5012dd5177e2aef06 dist/chel-v2.2.2-aarch64-apple-darwin.tar.gz
97+
ac01a9a391b7aa7a16af36f59ad4858abed37ef02415a448bf9fc76446ff8207 dist/chel-v2.2.2-aarch64-unknown-linux-gnu.tar.gz
98+
786bf79a1235f5ea3f59238c43be339b91df9d933ab4291fb3bc4dc89c1fd263 dist/chel-v2.2.2-x86_64-apple-darwin.tar.gz
99+
87bf34281997a375347c4ed6ab99b1326d774d9d985f191fa086ed28ef732387 dist/chel-v2.2.2-x86_64-pc-windows-msvc.tar.gz
100+
8e35bcf26d16026b38238c1c835cde16d0bd859ba704c1228c324c151c2742c1 dist/chel-v2.2.2-x86_64-unknown-linux-gnu.tar.gz
100101
```
101102

102103
## History

build/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ var verifySignature2 = async (args, internal = false) => {
936936

937937
// src/version.ts
938938
function version() {
939-
console.log("2.2.1");
939+
console.log("2.2.2");
940940
}
941941

942942
// src/main.ts

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chelonia/cli",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "Chelonia Command-line Interface",
55
"main": "src/main.ts",
66
"scripts": {

scripts/binary.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ const supportedPlatforms = {
1313
TARGET: 'x86_64-unknown-linux-gnu',
1414
BINARY_NAME: 'chel'
1515
},
16+
'Linux_arm64': {
17+
TARGET: 'aarch64-unknown-linux-gnu',
18+
BINARY_NAME: 'chel'
19+
},
1620
'Darwin_x64': {
1721
TARGET: 'x86_64-apple-darwin',
1822
BINARY_NAME: 'chel'

scripts/compile.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ function $ (command: string) {
99
const { default: { version } } = await import('../package.json', { with: { type: "json" } })
1010

1111
export async function compile () {
12-
// NOTE: Apple ARM is slower than x86 on M1!
13-
// https://github.com/denoland/deno/issues/14935
14-
const archs = ['x86_64-unknown-linux-gnu', 'x86_64-pc-windows-msvc', 'x86_64-apple-darwin', 'aarch64-apple-darwin']
12+
const archs = ['x86_64-unknown-linux-gnu', 'aarch64-unknown-linux-gnu', 'x86_64-pc-windows-msvc', 'x86_64-apple-darwin', 'aarch64-apple-darwin']
1513
for (const arch of archs) {
1614
const dir = `./dist/tmp/${arch}`
1715
const bin = arch.includes('windows') ? 'chel.exe' : 'chel'

0 commit comments

Comments
 (0)