Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux ppc64le target #11

Open
lloeki opened this issue Oct 31, 2020 · 8 comments
Open

Add Linux ppc64le target #11

lloeki opened this issue Oct 31, 2020 · 8 comments

Comments

@lloeki
Copy link
Collaborator

lloeki commented Oct 31, 2020

Available on Travis

@lloeki lloeki changed the title Add ppc64le target Add Linux ppc64le target Oct 31, 2020
@runlevel5
Copy link

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

@runlevel5
Copy link

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

@lloeki
Copy link
Collaborator Author

lloeki commented Feb 25, 2021

I will! Thanks @runlevel5 :)

@lloeki
Copy link
Collaborator Author

lloeki commented May 18, 2021

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
Copy link
Collaborator Author

lloeki commented Jun 21, 2021

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

@runlevel5
Copy link

@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
Copy link

@lloeki I guess we could close this issue?

@lloeki
Copy link
Collaborator Author

lloeki commented Sep 14, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants