orca icon indicating copy to clipboard operation
orca copied to clipboard

ARM support

Open mishka opened this issue 5 years ago • 3 comments

Hi everyone!

Could you please compile it for ARM as well so we could run it on devices such as raspberry pi?

mishka avatar May 28 '19 16:05 mishka

I tried to compile on centos7-aarch64. npm install and npm run pack finish successfully but the generated release/orca-1.2.1-arm64.AppImage does not work:

[me]~/orca-3.3.4% release/orca-1.2.1-arm64.AppImage --help
[me]~/orca-3.3.4% echo $?
1

npm run test:unit fails on every major test:

test/unit/server_test.js ............................ 14/34 17s
  createServer: > should reply pong to ping post
  not ok should be equal
    +++ found
    --- wanted
    -pong
    compare: ===
    at:
      line: 153
      column: 11
      file: test/unit/server_test.js
      type: Request
      function: _post
      method: _callback
    stack: |
      Request._post [as _callback] (test/unit/server_test.js:153:11)
      Request.self.callback (node_modules/request/request.js:185:22)
      Request.<anonymous> (node_modules/request/request.js:1161:10)
      IncomingMessage.<anonymous> (node_modules/request/request.js:1083:12)
    source: |
      t.equal(body, 'pong')

ProgramFan avatar Feb 04 '20 01:02 ProgramFan

Any ideas on this?

ProgramFan avatar Feb 04 '20 01:02 ProgramFan

I use the recommended node and npm:

[zyang@kunpeng920]~/orca-3.3.4% which node
~/node-v8.17.0-linux-arm64/bin/node
[zyang@kunpeng920]~/orca-3.3.4% which npm
~/node-v8.17.0-linux-arm64/bin/npm

ProgramFan avatar Feb 04 '20 01:02 ProgramFan