libv8 3.16.14.17 → 3.16.14.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -17
- data/CHANGELOG.md +4 -1
- data/lib/libv8/version.rb +1 -1
- data/patches/disable-xcode-debugging.patch +11 -0
- data/patches/do-not-use-MAP_NORESERVE-on-freebsd.patch +31 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5473ab1e77be5a8d16e694523a9f773434e38ff2
|
4
|
+
data.tar.gz: 22fa15323c7fe7dad6ad13edf5fcd1719d62e934
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32346f938de26d589e00fadac9dc0e2cd7a62f5463b93def138324ac77c9c5c3fe7b144161d0a62c6a010eb184a097a80873907fb2a0562e2e65bd23b00d2731
|
7
|
+
data.tar.gz: 5b7fd401cccf2025abcaa04c239a6ce1415fa8c34edbdab68806b45bea17bd752e27a916e0f698eb961bfc33a05d16a53ca56174a2292e8e479e7f5669b886e9
|
data/.travis.yml
CHANGED
@@ -1,45 +1,39 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
3
|
+
- 2.4.0
|
4
|
+
- 2.3.3
|
4
5
|
- 2.2
|
5
|
-
-
|
6
|
-
- rbx-2.2.7
|
6
|
+
- rbx
|
7
7
|
matrix:
|
8
8
|
include:
|
9
|
-
- rvm: 2.
|
9
|
+
- rvm: 2.4.0
|
10
10
|
os: osx
|
11
11
|
osx_image: xcode8.2
|
12
|
-
- rvm: 2.
|
13
|
-
os: osx
|
14
|
-
osx_image: xcode7.3
|
15
|
-
- rvm: system
|
12
|
+
- rvm: 2.4.0
|
16
13
|
os: osx
|
17
14
|
osx_image: xcode7.3
|
18
15
|
- rvm: system
|
19
16
|
os: osx
|
20
17
|
osx_image: xcode8.2
|
21
|
-
- rvm: 2.3.2
|
22
|
-
os: osx
|
23
|
-
osx_image: xcode6.4
|
24
18
|
- rvm: system
|
25
19
|
os: osx
|
26
|
-
osx_image:
|
20
|
+
osx_image: xcode7.3
|
27
21
|
- rvm: ruby-2.3.2-clang
|
28
22
|
env: CXX=clang++
|
29
23
|
- rvm: 1.9.3
|
30
24
|
allow_failures:
|
31
25
|
- rvm: 1.9.3
|
32
|
-
- rvm: rbx
|
33
|
-
- os: osx
|
34
|
-
osx_image: xcode6.4
|
26
|
+
- rvm: rbx
|
35
27
|
fast_finish: true
|
36
|
-
bundler_args: --jobs=
|
28
|
+
bundler_args: --jobs=4 --retry=3
|
37
29
|
before_install:
|
38
30
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi
|
39
31
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install git-svn; fi
|
40
32
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update --system; fi
|
41
33
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update bundler; fi
|
42
|
-
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo gem install bundler
|
34
|
+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" == "system" ]; then sudo gem install bundler; fi
|
35
|
+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update --system; fi
|
36
|
+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update bundler; fi
|
43
37
|
script:
|
44
38
|
- MAKEFLAGS+=-j8 bundle exec rake checkout compile spec binary --trace
|
45
39
|
deploy:
|
data/CHANGELOG.md
CHANGED
data/lib/libv8/version.rb
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
diff --git a/build/standalone.gypi b/build/standalone.gypi
|
2
|
+
index 125c5bf..7c1fe2b 100644
|
3
|
+
--- a/build/standalone.gypi
|
4
|
+
+++ b/build/standalone.gypi
|
5
|
+
@@ -194,6 +194,7 @@
|
6
|
+
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
|
7
|
+
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
|
8
|
+
'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
|
9
|
+
+ 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', # No -gdwarf-2
|
10
|
+
'GCC_VERSION': 'com.apple.compilers.llvmgcc42',
|
11
|
+
'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
|
@@ -0,0 +1,31 @@
|
|
1
|
+
diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc
|
2
|
+
index 62653b4ca7..a64dd98ce5 100644
|
3
|
+
--- a/src/platform-freebsd.cc
|
4
|
+
+++ b/src/platform-freebsd.cc
|
5
|
+
@@ -368,7 +368,7 @@ VirtualMemory::VirtualMemory(size_t size, size_t alignment)
|
6
|
+
void* reservation = mmap(OS::GetRandomMmapAddr(),
|
7
|
+
request_size,
|
8
|
+
PROT_NONE,
|
9
|
+
- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
|
10
|
+
+ MAP_PRIVATE | MAP_ANON,
|
11
|
+
kMmapFd,
|
12
|
+
kMmapFdOffset);
|
13
|
+
if (reservation == MAP_FAILED) return;
|
14
|
+
@@ -440,7 +440,7 @@ void* VirtualMemory::ReserveRegion(size_t size) {
|
15
|
+
void* result = mmap(OS::GetRandomMmapAddr(),
|
16
|
+
size,
|
17
|
+
PROT_NONE,
|
18
|
+
- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
|
19
|
+
+ MAP_PRIVATE | MAP_ANON,
|
20
|
+
kMmapFd,
|
21
|
+
kMmapFdOffset);
|
22
|
+
|
23
|
+
@@ -470,7 +470,7 @@ bool VirtualMemory::UncommitRegion(void* base, size_t size) {
|
24
|
+
return mmap(base,
|
25
|
+
size,
|
26
|
+
PROT_NONE,
|
27
|
+
- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED,
|
28
|
+
+ MAP_PRIVATE | MAP_ANON | MAP_FIXED,
|
29
|
+
kMmapFd,
|
30
|
+
kMmapFdOffset) != MAP_FAILED;
|
31
|
+
}
|
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: 3.16.14.
|
4
|
+
version: 3.16.14.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Lowell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -101,7 +101,9 @@ files:
|
|
101
101
|
- libv8.gemspec
|
102
102
|
- patches/disable-building-tests.patch
|
103
103
|
- patches/disable-werror-on-osx.patch
|
104
|
+
- patches/disable-xcode-debugging.patch
|
104
105
|
- patches/do-not-imply-vfp3-and-armv7.patch
|
106
|
+
- patches/do-not-use-MAP_NORESERVE-on-freebsd.patch
|
105
107
|
- patches/do-not-use-vfp2.patch
|
106
108
|
- patches/fPIC-for-static.patch
|
107
109
|
- patches/mingw-generate-makefiles.sh
|
@@ -3054,7 +3056,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3054
3056
|
version: '0'
|
3055
3057
|
requirements: []
|
3056
3058
|
rubyforge_project: libv8
|
3057
|
-
rubygems_version: 2.
|
3059
|
+
rubygems_version: 2.5.2
|
3058
3060
|
signing_key:
|
3059
3061
|
specification_version: 4
|
3060
3062
|
summary: Distribution of the V8 JavaScript engine
|