uhop / node-re2

node.js bindings for RE2: fast, safe alternative to backtracking regular expression engines.
Other
495 stars 53 forks source link

loong64 prebuild binaries #144

Closed yetist closed 1 year ago

yetist commented 1 year ago

An error was reported when building eslint-8.26.0, please release the loong64 version, thank you.

npm ERR! path /dev/shm/makepkg/eslint/src/eslint-8.26.0/node_modules/re2                                                                                                                                                                      
npm ERR! command failed                                                                                                                                                                                                                       
npm ERR! command sh -c -- install-from-cache --artifact build/Release/re2.node --host-var RE2_DOWNLOAD_MIRROR --skip-path-var RE2_DOWNLOAD_SKIP_PATH --skip-ver-var RE2_DOWNLOAD_SKIP_VER || npm run rebuild                                  
npm ERR! Trying https://github.com/uhop/node-re2/releases/download/1.17.8/linux-loong64-111.br ...                                                                                                                                            
npm ERR! Trying https://github.com/uhop/node-re2/releases/download/1.17.8/linux-loong64-111.gz ...                                                                                                                                            
npm ERR! Building locally ...                                                                                                                                                                                                                 
npm ERR!                                                                                                                                                                                                                                      
npm ERR! > re2@1.17.8 rebuild                                                                                                                                                                                                                 
npm ERR! > node-gyp rebuild         
uhop commented 1 year ago

It is not an error. It is normal behavior when there is no suitable version available.

Local compilation is always possible so don't forget to make sure that node-gyp, which is used to build Node extensions, has all proper dependencies.