Author Topic: [DEV] Build ppc64le binary for rubyjs/libv8 rubygem  (Read 4555 times)

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
[DEV] Build ppc64le binary for rubyjs/libv8 rubygem
« on: March 08, 2020, 09:26:58 am »
Few weeks ago, I was asking why Raptor did not choose Discourse as the forum platform. It turns out that libv8 gem does not support ppc64le because .... Google does not offer an easy way to build v8 library out of the box.

Well, I've spent 2 days to learn how to get v8 to compile and managed to build custom libv8 gems which could satisfy the requirement of Discourse.

If you are interested in how, feel free to have a look at my https://github.com/runlevel5/v8-ppc64le
« Last Edit: April 25, 2020, 05:49:24 am by tle »
Faithful Linux enthusiast

My Raptor Blackbird

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Build ppc64le binary for rubyjs/libv8 rubygem
« Reply #1 on: March 08, 2020, 12:39:17 pm »
This means Discourse is a possibility now?

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: Build ppc64le binary for rubyjs/libv8 rubygem
« Reply #2 on: March 08, 2020, 05:41:23 pm »
Ofcourse  ;D

Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: Build ppc64le binary for rubyjs/libv8 rubygem
« Reply #3 on: March 10, 2020, 05:56:40 pm »
I am going to attempt to ask Google to support ppc64le with their toolings. Wish me luck.
Faithful Linux enthusiast

My Raptor Blackbird

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Build ppc64le binary for rubyjs/libv8 rubygem
« Reply #4 on: March 10, 2020, 10:34:27 pm »
You'd think they would, having Zaius and Barreleye.

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: Build ppc64le binary for rubyjs/libv8 rubygem
« Reply #5 on: March 11, 2020, 07:40:57 am »
Google is a member of OpenPOWER foundation. So if they do care about foundation, I guess they might ...
Faithful Linux enthusiast

My Raptor Blackbird