Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.2 - adds linux arm64 #38

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# HISTORY

### v2.2.2

- Add arm64 support for Linux platforms.

### v2.2.1

- 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.
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ cp -r path/to/contracts/* test/assets/ && ls ./test/assets/*-slim.js | sed -En '
Current release hashes will always be listed here.

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

## History
Expand Down
2 changes: 1 addition & 1 deletion build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ var verifySignature2 = async (args, internal = false) => {

// src/version.ts
function version() {
console.log("2.2.1");
console.log("2.2.2");
}

// src/main.ts
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chelonia/cli",
"version": "2.2.1",
"version": "2.2.2",
"description": "Chelonia Command-line Interface",
"main": "src/main.ts",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions scripts/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ const supportedPlatforms = {
TARGET: 'x86_64-unknown-linux-gnu',
BINARY_NAME: 'chel'
},
'Linux_arm64': {
TARGET: 'aarch64-unknown-linux-gnu',
BINARY_NAME: 'chel'
},
'Darwin_x64': {
TARGET: 'x86_64-apple-darwin',
BINARY_NAME: 'chel'
Expand Down
4 changes: 1 addition & 3 deletions scripts/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ function $ (command: string) {
const { default: { version } } = await import('../package.json', { with: { type: "json" } })

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