1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00
Commit graph

19 commits

Author SHA1 Message Date
Jarred Holman
47b3ca909b Added support for windows platforms using mingw. 2015-04-04 17:17:38 +10:30
Petko Bordjukov
8f8e205856 Remove duplicated part of patch file 2015-03-29 11:54:42 +03:00
Edouard Bonlieu
2e28758189 Compile libv8 on ARMv7 HF vfpv3 32bits 2014-07-08 17:09:51 +02:00
Prem Sichanugrist
20093a74bf Add -Wno-unused-variable flag to OS X clang flag
Without this flag, it's unable to compile libv8 on OS X 10.10 due to
this error message:

    ruby ext/libv8/extconf.rb
    creating Makefile
    HEAD is now at 7ce3fe1... Version 3.16.14
    Using existing [svn-remote "svn"]
    HEAD is now at f7bc250... Make gyp/win32 compatible with upstream ninja.
    Compiling v8 for x64
    Using python 2.7.6
    Using compiler: /usr/bin/c++ (clang version 5.1)
    ../src/cached-powers.cc:136:18: error: unused variable 'kCachedPowersLength' [-Werror,-Wunused-const-variable]
    static const int kCachedPowersLength = ARRAY_SIZE(kCachedPowers);
                     ^
    1 error generated.
    make[1]: *** [/Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/cached-powers.o] Error 1
    make: *** [x64.release] Error 2
    GYP_GENERATORS=make \
            build/gyp/gyp --generator-output="out" build/all.gyp \
                          -Ibuild/standalone.gypi --depth=. \
                          -Dv8_target_arch=x64 \
                          -S.x64  -Dv8_enable_backtrace=1 -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 -Dv8_can_use_vfp3_instructions=true -Darm_fpu=vfpv3
      CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o
      CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/atomicops_internals_x86_gcc.o
      CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum.o
      CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum-dtoa.o
      CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/cached-powers.o

This has been tested against this version of clang and OS X:

    $ g++ -v
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
    Target: x86_64-apple-darwin14.0.0
    Thread model: posix

This should fix #123
2014-06-09 11:50:59 -04:00
Petko Bordjukov
2a5af64d0e Revamp patching functionality and add clang patches
This commit fixes #94 and closes #105
2013-12-05 00:48:27 +02:00
ignisf
4a820b1b17 Reintroduce the vfp3/armv7 patch 2013-05-26 22:50:33 +03:00
ignisf
cf58d33a83 Reintroduce the -fPIC patch for the static library 2013-05-15 15:41:14 +03:00
ignisf
552afe2fcd Add patches that allow compiling under GCC4.8 2013-05-15 15:10:37 +03:00
Charles Lowell
88e1395783 set master to V8 3.16.14 release
In this release, both sets of custom patches have
been fixed upstream. This will of course require
verification.

Hopefully there will not be the need to introduce
more patches for other things that break :)
2013-03-25 11:06:39 -05:00
ignisf
9ccf0b7376 Fix linking against v8 under 64-bit Illumos
This commit fixes #87 and also fixes cowboyd/therubyracer#245
2013-03-06 02:17:27 +02:00
ignisf
0a395f5f49 Avoid compilation failure in snapshot 2013-02-28 02:30:27 +02:00
ignisf
8550399378 Remove unneeded FreeBSD GYP flavor patch 2013-01-09 14:12:09 +02:00
ignisf
98715b976f Dispose of unecessary patches. 2013-01-07 06:12:35 +02:00
ignisf
35c198a3fb Add no-strict-aliasing to FreeBSD/gcc42 builds
Remove the patch that was not getting applied on rake build on a
buildhost and add a conditional make flag in builder.rb. This commit
fixes #68
2013-01-06 11:58:14 +02:00
Andrea C. Granata
319503af02 Disable strict-aliasing on FreeBSD with stock compiler. 2012-09-10 23:53:35 +02:00
Andrea C. Granata
9c5c447296 Apply the -fPIC also on FreeBSD. 2012-09-10 23:53:23 +02:00
Charles Lowell
6c1e42dbba add -fPIC on linux x64 build 2012-07-01 22:36:02 -05:00
Geoff Garside
390d0600d3 Add patch for vendor/v8/src/platform-freebsd.cc.
Fixes a unused-but-set-variable error. Further information available at
http://code.google.com/p/v8/issues/detail?id=2126
2012-05-12 16:52:19 +01:00
Geoff Garside
53972fc998 Add patch to support FreeBSD 9 and 10 in GYP.
Without this patch GYP will attempt to build v8 for Linux which will
fail due to missing headers.
2012-05-12 15:41:09 +01:00