Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 49f5fcc

Browse files
committed
Use the system libcxx to build V8
1 parent b0ddeff commit 49f5fcc

6 files changed

Lines changed: 11 additions & 4 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
dist: xenial
2+
compiler: clang
13
language: ruby
24
rvm:
35
- 2.5

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Building the V8 library from source imposes the following requirements:
8585
platforms.
8686
* Python 2
8787
* pkg-config
88+
* GLib 2
8889

8990
### Using a git version
9091

ext/libv8/builder.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ class Builder
1212
include Libv8::Arch
1313

1414
def gn_args
15-
%W(is_debug=#{debug_build? ? 'true' : 'false'}
15+
%W(clang_use_chrome_plugins=false
16+
linux_use_bundled_binutils=false
17+
use_custom_libcxx=false
18+
use_sysroot=false
19+
is_debug=#{debug_build? ? 'true' : 'false'}
1620
symbol_level=#{debug_build? ? '-1' : '0'}
1721
is_component_build=false
1822
v8_monolithic=true

release/x86-linux/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Vagrant.configure(2) do |config|
7878
sudo apt-add-repository ppa:brightbox/ruby-ng
7979
sudo apt-get update
8080
sudo apt-get dist-upgrade -y
81-
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev pkg-config
81+
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev libglib2.0-dev
8282
sudo ruby-switch --set ruby2.3
8383
sudo gem install bundler
8484
SHELL

release/x86_64-linux/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Vagrant.configure(2) do |config|
7878
sudo apt-add-repository ppa:brightbox/ruby-ng
7979
sudo apt-get update
8080
sudo apt-get dist-upgrade -y
81-
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev pkg-config
81+
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev libglib2.0-dev
8282
sudo ruby-switch --set ruby2.3
8383
sudo gem install bundler
8484
SHELL

vendor/depot_tools

Submodule depot_tools updated from 8ada4d5 to 6d9913a

0 commit comments

Comments
 (0)