libv8 5.3.332.38.3 → 5.3.332.38.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1694bf95f931f3781fcbf55aabb8cfd2d347a1e2
4
- data.tar.gz: c6f5d696ed02c8e6adcc001c349a463529e81534
3
+ metadata.gz: 815871c5d49849f6906dbcb4ee93bb321c0f22e2
4
+ data.tar.gz: b02ebc0561a6837292ce639383a10f126791cbc0
5
5
  SHA512:
6
- metadata.gz: de62104f791bab3742765941d220fe2e9d4ff9be3b5cf54e17c2c2b4c9c42e05b6bb91b0670dccad7638e283884fa1c21d0a9b76999a297f5ca02a1c0690a673
7
- data.tar.gz: abeca5e934c429768fcb534ccf41ccf3bbd1f07bc362a322c270888784f775479e7559a6d14fa515443cb1f3f36c6b56fdbf861a756783090d6523722cfc62e8
6
+ metadata.gz: '08197a4ecca4094f376d4c6a095b2b1510702a41386b7a615a31b7da035a6476b92997910d2ac4b14f65082766be941e18a3ed35b9a5e30015017a2fb8dada8e'
7
+ data.tar.gz: 9c0cc0793def8edc4e88d9d8a08ce361da7de55efb0edd56d3b2195b1722b2416af58113a4c5ed564f71ad99650bd9111124ad37b8dbb47db4954e9005d44e42
@@ -1,38 +1,35 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.2
3
+ - 2.4.0
4
+ - 2.3.3
4
5
  - 2.2
5
- - 2.1
6
6
  - rbx
7
7
  matrix:
8
8
  include:
9
- - rvm: 2.3.2
9
+ - rvm: 2.4.0
10
10
  os: osx
11
11
  osx_image: xcode8.2
12
- - rvm: 2.2
12
+ - rvm: 2.4.0
13
13
  os: osx
14
14
  osx_image: xcode7.3
15
- - rvm: system
15
+ - rvm: 2.4.0
16
16
  os: osx
17
- osx_image: xcode7.3
17
+ osx_image: xcode6.4
18
18
  - rvm: system
19
19
  os: osx
20
20
  osx_image: xcode8.2
21
- - rvm: 2.3.2
21
+ - rvm: system
22
22
  os: osx
23
- osx_image: xcode6.4
23
+ osx_image: xcode7.3
24
24
  - rvm: system
25
25
  os: osx
26
26
  osx_image: xcode6.4
27
- - rvm: ruby-2.3.2-clang
27
+ - rvm: ruby-2.3.1-clang
28
28
  env: CXX=clang++
29
29
  - rvm: 1.9.3
30
30
  allow_failures:
31
31
  - rvm: 1.9.3
32
32
  - rvm: rbx
33
- - rvm: 2.3.2
34
- os: osx
35
- osx_image: xcode6.4
36
33
  fast_finish: true
37
34
  dist: trusty
38
35
  addons:
@@ -1,6 +1,14 @@
1
1
  ### Unreleased
2
2
 
3
+ ### v5.3.332.38.4, v5.3.332.38.5 - 2016-02-27
4
+
3
5
  * Fix architecture detection for armv7 #226
6
+ * Dramatically reduce the binary size on macOS (thanks @aviat)
7
+ * Allow passing of GYP_DEFINES as an environment variable
8
+
9
+ ### v5.3.332.38.2, v5.3.332.38.3 - 2016-11-21
10
+
11
+ * Add a macOS Sierra binary gem
4
12
 
5
13
  ### v5.3.332.38.0, v5.3.332.38.1 - 2016-09-07
6
14
 
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # libv8
2
2
  [![Gem Version](https://badge.fury.io/rb/libv8.svg)](http://badge.fury.io/rb/libv8)
3
+ [![Number of downloads](http://ruby-gem-downloads-badge.herokuapp.com/libv8?type=total)](https://rubygems.org/gems/libv8)
3
4
  [![Build Status](https://travis-ci.org/cowboyd/libv8.svg?branch=master)](https://travis-ci.org/cowboyd/libv8)
4
5
  [![Join the chat at https://gitter.im/cowboyd/therubyracer](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cowboyd/therubyracer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5
6
  [![Code Triagers Badge](https://www.codetriage.com/cowboyd/libv8/badges/users.svg)](https://www.codetriage.com/cowboyd/libv8)
@@ -22,6 +23,7 @@ opens the door for supporting Windows.
22
23
  That depends on your platform. Right now, we support the following
23
24
  platforms.
24
25
 
26
+ * x86_64-darwin-16
25
27
  * x86_64-darwin-15
26
28
  * x86_64-darwin-14
27
29
  * x86_64-linux
data/Rakefile CHANGED
@@ -51,7 +51,7 @@ task :binary => :compile do
51
51
  end
52
52
 
53
53
  namespace :build do
54
- ['x86_64-linux', 'x86-linux', 'armhf-linux', 'x86_64-freebsd-10'].each do |arch|
54
+ ['x86_64-linux', 'x86-linux', 'armhf-linux', 'x86_64-freebsd-10', 'x86_64-freebsd-11'].each do |arch|
55
55
  desc "build binary gem for #{arch}"
56
56
  task arch do
57
57
  arch_dir = Pathname(__FILE__).dirname.join("release/#{arch}")
@@ -61,9 +61,9 @@ namespace :build do
61
61
  sh "vagrant ssh -c 'rm -rf ~/libv8'"
62
62
  sh "vagrant ssh -c 'git clone /libv8/.git ~/libv8 --recursive'"
63
63
  sh "vagrant ssh -c 'cd ~/libv8 && bundle install --path vendor/bundle'"
64
- sh "vagrant ssh -c 'cd ~/libv8 && MAKEFLAGS+=-j4 bundle exec rake binary'"
64
+ sh "vagrant ssh -c 'cd ~/libv8 && env MAKEFLAGS+=-j4 bundle exec rake binary'"
65
65
  sh "vagrant ssh -c 'cp ~/libv8/pkg/*.gem /vagrant'"
66
- sh "vagrant destroy"
66
+ sh "vagrant destroy -f"
67
67
  end
68
68
  end
69
69
  end
@@ -35,6 +35,9 @@ module Libv8
35
35
  # Pass clang flag to GYP in order to work around GCC compilation failures
36
36
  defines << "clang=#{@compiler.is_a?(Compiler::Clang) ? '1' : '0'}"
37
37
 
38
+ # Add contents of the GYP_DEFINES environment variable if present
39
+ defines << ENV['GYP_DEFINES'] unless ENV['GYP_DEFINES'].nil?
40
+
38
41
  "GYP_DEFINES=\"#{defines.join ' '}\""
39
42
  end
40
43
 
@@ -1,3 +1,3 @@
1
1
  module Libv8
2
- VERSION = "5.3.332.38.3"
2
+ VERSION = "5.3.332.38.4"
3
3
  end
@@ -1,14 +1,14 @@
1
- From 8e34b0f097ea5ea5bbde4ee8b7fd6521d40dd5e3 Mon Sep 17 00:00:00 2001
1
+ From 8c1707d7eeb86824f03c0f02e724d27663cb768f Mon Sep 17 00:00:00 2001
2
2
  From: Petko Bordjukov <bordjukov@gmail.com>
3
3
  Date: Mon, 25 Jul 2016 00:00:19 +0300
4
- Subject: [PATCH 1/4] Build a standalone static library
4
+ Subject: [PATCH 1/5] Build a standalone static library
5
5
 
6
6
  ---
7
7
  gypfiles/standalone.gypi | 3 +++
8
8
  1 file changed, 3 insertions(+)
9
9
 
10
10
  diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11
- index c6c26fb..a59e12b 100644
11
+ index c6c26fbbb5..a59e12bbfc 100644
12
12
  --- a/gypfiles/standalone.gypi
13
13
  +++ b/gypfiles/standalone.gypi
14
14
  @@ -505,6 +505,9 @@
@@ -22,5 +22,5 @@ index c6c26fb..a59e12b 100644
22
22
  'defines!': [
23
23
  'DEBUG',
24
24
  --
25
- 2.9.3
25
+ 2.11.1
26
26
 
@@ -1,15 +1,15 @@
1
- From 48d4b7ae6cbb8a2109555f57845fa5f6aa4fa30a Mon Sep 17 00:00:00 2001
1
+ From 968b21f2063fa03267ebe52548d4bf94a1838983 Mon Sep 17 00:00:00 2001
2
2
  From: Petko Bordjukov <bordjukov@gmail.com>
3
- Date: Mon, 25 Jul 2016 00:04:07 +0300
4
- Subject: [PATCH 2/4] Don't compile unnecessary stuff
3
+ Date: Sat, 15 Oct 2016 15:05:01 +0300
4
+ Subject: [PATCH 2/5] Don't compile unnecessary stuff
5
5
 
6
6
  ---
7
7
  Makefile | 7 +------
8
- gypfiles/all.gyp | 32 --------------------------------
9
- 2 files changed, 1 insertion(+), 38 deletions(-)
8
+ gypfiles/all.gyp | 34 +---------------------------------
9
+ 2 files changed, 2 insertions(+), 39 deletions(-)
10
10
 
11
11
  diff --git a/Makefile b/Makefile
12
- index ffb5192..8e60aab 100644
12
+ index ffb5192bfa..8e60aabc02 100644
13
13
  --- a/Makefile
14
14
  +++ b/Makefile
15
15
  @@ -265,12 +265,7 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
@@ -27,13 +27,14 @@ index ffb5192..8e60aab 100644
27
27
  # If vtunejit=on, the v8vtune.gyp will be appended.
28
28
  ifeq ($(vtunejit), on)
29
29
  diff --git a/gypfiles/all.gyp b/gypfiles/all.gyp
30
- index ff1bea4..96820a0 100644
30
+ index ff1bea4b61..9b02b4d305 100644
31
31
  --- a/gypfiles/all.gyp
32
32
  +++ b/gypfiles/all.gyp
33
- @@ -16,38 +16,6 @@
33
+ @@ -15,39 +15,7 @@
34
+ 'dependencies': [
34
35
  '../tools/parser-shell.gyp:parser-shell',
35
36
  ],
36
- }],
37
+ - }],
37
38
  - # These items don't compile for Android on Mac.
38
39
  - ['host_os!="mac" or OS!="android"', {
39
40
  - 'dependencies': [
@@ -66,9 +67,10 @@ index ff1bea4..96820a0 100644
66
67
  - '../tools/run-valgrind.gyp:*',
67
68
  - ],
68
69
  - }],
70
+ + }]
69
71
  ]
70
72
  }
71
73
  ]
72
74
  --
73
- 2.9.3
75
+ 2.11.1
74
76
 
@@ -1,14 +1,14 @@
1
- From 44da612b4aa078bc2090cad3bd42506f444dd900 Mon Sep 17 00:00:00 2001
1
+ From b0f5f916c4b6b908c0ece2805ecad22cff644c0f Mon Sep 17 00:00:00 2001
2
2
  From: Petko Bordjukov <bordjukov@gmail.com>
3
3
  Date: Mon, 25 Jul 2016 00:05:47 +0300
4
- Subject: [PATCH 3/4] Use the -fPIC flag for the static library
4
+ Subject: [PATCH 3/5] Use the -fPIC flag for the static library
5
5
 
6
6
  ---
7
7
  gypfiles/standalone.gypi | 2 +-
8
8
  1 file changed, 1 insertion(+), 1 deletion(-)
9
9
 
10
10
  diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11
- index a59e12b..4e64f2e 100644
11
+ index a59e12bbfc..4e64f2ed94 100644
12
12
  --- a/gypfiles/standalone.gypi
13
13
  +++ b/gypfiles/standalone.gypi
14
14
  @@ -772,7 +772,7 @@
@@ -21,5 +21,5 @@ index a59e12b..4e64f2e 100644
21
21
  }],
22
22
  [ 'clang==0 and coverage==1', {
23
23
  --
24
- 2.9.3
24
+ 2.11.1
25
25
 
@@ -1,14 +1,14 @@
1
- From cf7ec827796ccaef75e77bd83771e7f31b645d2f Mon Sep 17 00:00:00 2001
1
+ From c04e8c3d31921526dfcb726a79b92c55d22713bf Mon Sep 17 00:00:00 2001
2
2
  From: Petko Bordjukov <bordjukov@gmail.com>
3
3
  Date: Wed, 27 Jul 2016 06:20:13 +0300
4
- Subject: [PATCH 4/4] Reinterpret thread hash for FreeBSD, too
4
+ Subject: [PATCH 4/5] Reinterpret thread hash for FreeBSD, too
5
5
 
6
6
  ---
7
7
  src/libsampler/v8-sampler.cc | 2 +-
8
8
  1 file changed, 1 insertion(+), 1 deletion(-)
9
9
 
10
10
  diff --git a/src/libsampler/v8-sampler.cc b/src/libsampler/v8-sampler.cc
11
- index edf6df1..9b2a718 100644
11
+ index edf6df130e..9b2a71893b 100644
12
12
  --- a/src/libsampler/v8-sampler.cc
13
13
  +++ b/src/libsampler/v8-sampler.cc
14
14
  @@ -194,7 +194,7 @@ void* ThreadKey(pthread_t thread_id) {
@@ -21,5 +21,5 @@ index edf6df1..9b2a718 100644
21
21
  #else
22
22
  return static_cast<uint32_t>(thread_id);
23
23
  --
24
- 2.9.3
24
+ 2.11.1
25
25
 
@@ -0,0 +1,25 @@
1
+ From 61cf732ad34ca121b6c57556596504ea631798b4 Mon Sep 17 00:00:00 2001
2
+ From: Jb Aviat <jb@sqreen.io>
3
+ Date: Mon, 27 Feb 2017 11:14:42 +0200
4
+ Subject: [PATCH 5/5] Do not embed debug symbols in macOS libraries
5
+
6
+ This lowers dramatically the produced binary size
7
+ ---
8
+ gypfiles/standalone.gypi | 1 +
9
+ 1 file changed, 1 insertion(+)
10
+
11
+ diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
12
+ index 4e64f2ed94..dcf2bfa266 100644
13
+ --- a/gypfiles/standalone.gypi
14
+ +++ b/gypfiles/standalone.gypi
15
+ @@ -1031,6 +1031,7 @@
16
+ 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
17
+ 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
18
+ 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
19
+ + 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', # No -gdwarf-2
20
+ # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden
21
+ 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
22
+ 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
23
+ --
24
+ 2.11.1
25
+
@@ -1 +1 @@
1
- vendor/depot_tools/support/chromite_wrapper
1
+ support/chromite_wrapper
@@ -1 +1 @@
1
- vendor/depot_tools/support/chromite_wrapper
1
+ support/chromite_wrapper
@@ -1 +1 @@
1
- vendor/depot_tools/support/chromite_wrapper
1
+ support/chromite_wrapper
@@ -1 +1 @@
1
- vendor/depot_tools/support/chromite_wrapper
1
+ support/chromite_wrapper
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.332.38.3
4
+ version: 5.3.332.38.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Lowell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-21 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -89,6 +89,7 @@ files:
89
89
  - patches/0002-Don-t-compile-unnecessary-stuff.patch
90
90
  - patches/0003-Use-the-fPIC-flag-for-the-static-library.patch
91
91
  - patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch
92
+ - patches/0005-Do-not-embed-debug-symbols-in-macOS-libraries.patch
92
93
  - patches/mingw-generate-makefiles.sh
93
94
  - spec/compiler/apple_llvm_spec.rb
94
95
  - spec/compiler/clang_spec.rb
@@ -1007,7 +1008,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1007
1008
  version: '0'
1008
1009
  requirements: []
1009
1010
  rubyforge_project: libv8
1010
- rubygems_version: 2.6.8
1011
+ rubygems_version: 2.5.2
1011
1012
  signing_key:
1012
1013
  specification_version: 4
1013
1014
  summary: Distribution of the V8 JavaScript engine