rubyjs / libv8-node

Package libv8 from Node
MIT License
14 stars 27 forks source link

Add Linux ppc64le target #11

Open lloeki opened 4 years ago

lloeki commented 4 years ago

Available on Travis

runlevel5 commented 3 years ago

@lloeki if you need any help, please let me know

runlevel5 commented 3 years ago

@lloeki just in case you want to gain access to a ppc64le node for development, please check github.com/KernelCafe/welcome

lloeki commented 3 years ago

I will! Thanks @runlevel5 :)

lloeki commented 3 years ago

So @runlevel5 if you could:

  1. try out installing straight from gem install libv8-node on a linux ppc64le machine. This should pull the ruby platform gem and attempt to build libv8 from node's source.
  2. if 1. is successful, try installing mini_racer from gem install mini_racer. This should pull 0.4.x and build against the just installed libv8-node.
  3. if 2. is successful, try out sample code listed in miniracer's README in irb or a .rb file, whatever is practical for you.
  4. if 1. is successful, clone https://github.com/rubyjs/mini_racer, run bundle install && bundle exec rake compile && bundle exec rake test. Hopefully the tests should pass.
  5. if 1. fails, clone https://github.com/sqreen/ruby-libv8-node, run the libexec scripts in the order defined in .github/workflows/build.yml (e.g ./libexec/download-node 15.14.0, and so on).

If any of these fail, report here with any relevant detail.

Thanks a lot!

lloeki commented 3 years ago

@runlevel5 today's work on cross-compiling for aarch64 will probably trickle down to have ppc built by CI as well.

runlevel5 commented 3 years ago

@lloeki sorry for late response, 👍 everything works beautifully. No error when installing libv8-node and mini_racer. All the tests of mini_racer passed

runlevel5 commented 3 years ago

@lloeki I guess we could close this issue?

lloeki commented 3 years ago

I'd like to add it to CI through cross-compiling before closing :)