In case the issue is this, I'm running El Capitan 10.11.6
On Saturday, December 24, 2016 at 12:04:00 PM UTC-8, Mindy DelliCarpini
wrote:
>
> Ok so did this to the .gclient file 1 directory up:
> solutions = [
> {
> "url": "https://chromium.googlesource.com/v8/v8.git",
> "managed": False,
> "name": "v8",
> "deps_file": "DEPS",
> "custom_deps": {},
> "target_os" : ['android', 'mac']
> },
> ]
>
> Then: gclient sync
> Then tools/dev/v8gen.py arm.release
>
> Then this in args.gn
> is_debug = false
> target_cpu = "arm"
> v8_target_cpu = "arm"
> target_os="android"
>
> Then:
>
> ninja -C out.gn/arm.release/
>
>
> This error persists:
>
> mindyp-macbookpro:v8 mindyp$ ninja -C out.gn/arm.release/
>
> ninja: Entering directory `out.gn/arm.release/'
>
> [1/1] Regenerating ninja files
>
> FAILED: build.ninja
>
> /Users/mindyp/local/src/v8/buildtools/mac/gn
> --root=/Users/mindyp/local/src/v8 -q --check gen .
>
> ERROR Unresolved dependencies.
>
> //:run_mkpeephole(//build/toolchain/android:android_arm)
>
> needs //:mkpeephole(//build/toolchain/mac:clang_x86_v8_arm)
>
> //:run_mksnapshot(//build/toolchain/android:android_arm)
>
> needs //:mksnapshot(//build/toolchain/mac:clang_x86_v8_arm)
>
>
> ninja: error: rebuilding 'build.ninja': subcommand failed
>
> [1]+ Done mate ../.gclient
>
>
>
>
>
>
> On Thursday, December 22, 2016 at 11:46:38 PM UTC-8, Jochen Eisinger wrote:
>>
>> hey,
>>
>> to build for android, you should add target_os = "android" and target_cpu
>> = "arm".
>>
>> you'll also have to add target_os = ['android', 'mac'] to your .gclient
>> file (which should be one level up from your v8 checkout), so gclient sync
>> will download the android specific deps
>>
>> hth
>> -jochen
>>
>> On Thu, Dec 22, 2016 at 5:41 PM 'Mindy DelliCarpini' via v8-users <
>> [email protected]> wrote:
>>
>>> Need a V8 build for our prototyping tool (boom.googleplex.com). The
>>> tool runs with a Mac simulator, so the build has to be completed on a Mac.
>>>
>>> The TOT v8 builds are broken for Mac, and also for building static full
>>> libraries (no the thin .a files, which wouldn't be shareable)
>>>
>>> I'm interested in getting any of the following working (preference for
>>> Mac build, but I know its not a common thing)
>>>
>>> 1) *Build v8 on my mac*
>>> Tried old instructions, but failed with missing libraries (standard c++?)
>>> https://github.com/v8/v8/wiki/D8-on-Android
>>> Tried new instructions:
>>> tools/dev/v8gen.py arm.release
>>> Added: target_os=arm
>>> Getting this failure:
>>>
>>> /Users/mindyp/local/src/v8/buildtools/mac/gn
>>> --root=/Users/mindyp/local/src/v8 -q --check gen .
>>>
>>> ERROR Unresolved dependencies.
>>>
>>> //:run_mkpeephole(//build/toolchain/android:android_arm)
>>>
>>> needs //:mkpeephole(//build/toolchain/mac:clang_x86_v8_arm)
>>>
>>> //:run_mksnapshot(//build/toolchain/android:android_arm)
>>>
>>> needs //:mksnapshot(//build/toolchain/mac:clang_x86_v8_arm)
>>>
>>>
>>> 2) *Full static library build on Linux that is not just the .a, so I
>>> can transfer it to my mac*
>>> Followed:
>>> http://linuxplayer.org/2013/12/how-to-build-v8-static-library
>>> But this breaks during the LD phase
>>> Added: https://bugs.chromium.org/p/v8/issues/detail?id=5617#c1
>>> (LDFLAGS=-lc++)
>>> Still broken
>>>
>>> --
>>> --
>>> v8-users mailing list
>>> [email protected]
>>> http://groups.google.com/group/v8-users
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "v8-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.