Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Add scripts for linux-arm64 prebuilds #216

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
build-group: linux-arm64
- os: ubuntu-latest
build-group: linux-x64
# At the time of writing macos-latest is mac 10; we need 11 to build a universal binary.
Expand Down
5 changes: 4 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,8 @@
, "sources": [
"binding.cc"
]
}]
}],
"variables": {
"openssl_fips": ""
}
}
6 changes: 5 additions & 1 deletion deps/rocksdb/rocksdb.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -472,4 +472,8 @@

, 'build_version.cc'
]
}]}
}],
'variables': {
'openssl_fips': ''
}
}
6 changes: 5 additions & 1 deletion deps/snappy/snappy.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,8 @@
, 'snappy-1.1.7/snappy.cc'
, 'snappy-1.1.7/snappy.h'
]
}]}
}],
'variables': {
'openssl_fips': ''
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"coverage": "nyc report -r lcovonly",
"rebuild": "npm run install --build-from-source",
"prebuild": "prebuildify -t 8.14.0 --napi --strip",
"prebuild-linux-arm64": "prebuildify-cross -i linux-arm64-lts -t 8.14.0 --napi --strip",
"prebuild-linux-x64": "prebuildify-cross -i centos7-devtoolset7 -i alpine -t 8.14.0 --napi --strip",
"prebuild-darwin-x64+arm64": "prebuildify -t 8.14.0 --napi --strip --arch x64+arm64",
"prebuild-win32-x64": "prebuildify -t 8.14.0 --napi --strip",
Expand Down