GithubHelp home page GithubHelp logo

v8-ppc64le's Introduction

The goal is to get those precious:

  • libv8_libbase.a
  • libv8_libplatform.a
  • libv8_monolith.a

which are needed to build rubyjs/libv8 rubygem

So, here is the steps:

  1. You need a Linux ppc64le to play with
  2. Clone this repo
  3. Build the container image:
$ podman build . --tag=libv8

NOTE: you could use docker if you prefer

  1. Run the container:
$ mkdir -p /tmp/v8
$ podman run -d -v /tmp/v8:/tmp/v8/out.gn/libv8 libv8
$ cp /tmp/v8/obj/*.a /destination # wherever you want them

On related topic, if you want to build libv8 rubygem, please follow these steps:

$ git clone https://github.com/rubyjs/libv8.git
$ cd libv8
$ mkdir -p vendor/v8/out.gn/libv8/obj
$ cp /tmp/v8/obj/*.a vendor/v8/out.gn/libv8/obj/
$ mv /tmp/v8/include vendor/v8/
$ sed -i "s/VERSION.*/VERSION\ =\ \"7.3.495.0\"/g" lib/libv8/version.rb # update version to match the v8
$ sed -i "s/task\ :binary\ =>.*/task\ :binary\ do/g" Rakefile # skip the :compile step
$ bundle exec rake binary # the built gem is placed in pkg/libv8-7.3.495-powerpc64le-linux.gem

v8-ppc64le's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.