Skip to content

Commit

Permalink
chore: add linux musl build (#150)
Browse files Browse the repository at this point in the history
* chore: add musl build

* chore: bump version to publish
  • Loading branch information
matthewkeil authored Jul 26, 2024
1 parent de9e518 commit 5b31d63
Show file tree
Hide file tree
Showing 10 changed files with 143 additions and 22 deletions.
17 changes: 13 additions & 4 deletions npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst-darwin-arm64",
"version": "2.0.1",
"version": "2.0.2",
"os": [
"darwin"
],
Expand All @@ -11,12 +11,21 @@
"files": [
"blst.darwin-arm64.node"
],
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"keywords": [
"bls",
"bls12-381",
"blst",
"crypto",
"ethereum",
"napi"
],
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
},
"repository": {
"type": "git",
"url": "https://github.com/ChainSafe/blst-ts"
},
"engines": {
"node": ">= 10"
}
}
17 changes: 13 additions & 4 deletions npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst-darwin-x64",
"version": "2.0.1",
"version": "2.0.2",
"os": [
"darwin"
],
Expand All @@ -11,12 +11,21 @@
"files": [
"blst.darwin-x64.node"
],
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"keywords": [
"bls",
"bls12-381",
"blst",
"crypto",
"ethereum",
"napi"
],
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
},
"repository": {
"type": "git",
"url": "https://github.com/ChainSafe/blst-ts"
},
"engines": {
"node": ">= 10"
}
}
17 changes: 13 additions & 4 deletions npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst-linux-arm64-gnu",
"version": "2.0.1",
"version": "2.0.2",
"os": [
"linux"
],
Expand All @@ -11,14 +11,23 @@
"files": [
"blst.linux-arm64-gnu.node"
],
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"keywords": [
"bls",
"bls12-381",
"blst",
"crypto",
"ethereum",
"napi"
],
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
},
"repository": {
"type": "git",
"url": "https://github.com/ChainSafe/blst-ts"
},
"engines": {
"node": ">= 10"
},
"libc": [
"glibc"
]
Expand Down
3 changes: 3 additions & 0 deletions npm/linux-arm64-musl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@chainsafe/blst-linux-arm64-musl`

This is the **aarch64-unknown-linux-musl** binary for `@chainsafe/blst`
34 changes: 34 additions & 0 deletions npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "@chainsafe/blst-linux-arm64-musl",
"version": "2.0.2",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"main": "blst.linux-arm64-musl.node",
"files": [
"blst.linux-arm64-musl.node"
],
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"keywords": [
"bls",
"bls12-381",
"blst",
"crypto",
"ethereum",
"napi"
],
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
},
"repository": {
"type": "git",
"url": "https://github.com/ChainSafe/blst-ts"
},
"libc": [
"musl"
]
}
17 changes: 13 additions & 4 deletions npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst-linux-x64-gnu",
"version": "2.0.1",
"version": "2.0.2",
"os": [
"linux"
],
Expand All @@ -11,14 +11,23 @@
"files": [
"blst.linux-x64-gnu.node"
],
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"keywords": [
"bls",
"bls12-381",
"blst",
"crypto",
"ethereum",
"napi"
],
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
},
"repository": {
"type": "git",
"url": "https://github.com/ChainSafe/blst-ts"
},
"engines": {
"node": ">= 10"
},
"libc": [
"glibc"
]
Expand Down
3 changes: 3 additions & 0 deletions npm/linux-x64-musl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@chainsafe/blst-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `@chainsafe/blst`
34 changes: 34 additions & 0 deletions npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "@chainsafe/blst-linux-x64-musl",
"version": "2.0.2",
"os": [
"linux"
],
"cpu": [
"x64"
],
"main": "blst.linux-x64-musl.node",
"files": [
"blst.linux-x64-musl.node"
],
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"keywords": [
"bls",
"bls12-381",
"blst",
"crypto",
"ethereum",
"napi"
],
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
},
"repository": {
"type": "git",
"url": "https://github.com/ChainSafe/blst-ts"
},
"libc": [
"musl"
]
}
17 changes: 13 additions & 4 deletions npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst-win32-x64-msvc",
"version": "2.0.1",
"version": "2.0.2",
"os": [
"win32"
],
Expand All @@ -11,12 +11,21 @@
"files": [
"blst.win32-x64-msvc.node"
],
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"keywords": [
"bls",
"bls12-381",
"blst",
"crypto",
"ethereum",
"napi"
],
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
},
"repository": {
"type": "git",
"url": "https://github.com/ChainSafe/blst-ts"
},
"engines": {
"node": ">= 10"
}
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst",
"version": "2.0.1",
"version": "2.0.2",
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"scripts": {
"artifacts": "napi artifacts",
Expand Down Expand Up @@ -47,7 +47,9 @@
"triples": {
"additional": [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu"
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"x86_64-unknown-linux-musl"
]
}
},
Expand Down

0 comments on commit 5b31d63

Please sign in to comment.