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

GYP has been deprecated in favor of GN #228

Closed
3 of 6 tasks
ignisf opened this issue Oct 17, 2016 · 3 comments · Fixed by #258
Closed
3 of 6 tasks

GYP has been deprecated in favor of GN #228

ignisf opened this issue Oct 17, 2016 · 3 comments · Fixed by #258

Comments

@ignisf
Copy link
Collaborator

ignisf commented Oct 17, 2016

https://github.com/v8/v8/wiki/Building%20with%20Gyp

https://github.com/v8/v8/wiki/Building%20with%20GN

  • Find a way to produce a standalone archive instead of a thin one. Keywords in the ninja build files: standalone_static_library, alink and alink_thin.
  • Find a way to produce an -fPIC library (it could be possible to specify additional flags via a ninja build flag)
  • Skip building the test suite (it could be possible to give ninja a specific target to build)
  • Use the system toolchain instead of the built-in ones (see ninja argument)
  • Use the system binutils
  • Use the system ld
@ignisf
Copy link
Collaborator Author

ignisf commented May 5, 2018

linux_use_bundled_binutils=false
clang_base_path=""
target_sysroot_dir=""
v8_use_external_startup_data=false
is_component_build=false
v8_monolithic=true
v8_enable_i18n_support=false
#use_xcode_clang=true
use_sysroot=false
use_pic=true
use_custom_libcxx=false

current testing set:

is_debug=false
is_component_build=false
binutils_path="/usr"
clang_base_path="/usr"
clang_use_chrome_plugins=false
use_custom_libcxx=true
use_sysroot=false
v8_monolithic=true
v8_use_external_startup_data=false
target_cpu="x64"
v8_target_cpu="x64"
treat_warnings_as_errors=false
is_clang=true
enable_precompiled_headers=false
use_gold=true
v8_enable_i18n_support=false

# Build arguments go here.
# See "gn args <out_dir> --list" for available build arguments.
is_debug=false
is_component_build=false
#binutils_path="/usr"
#clang_base_path="/usr"
#clang_use_chrome_plugins=false
#use_custom_libcxx=true
#use_sysroot=false
v8_monolithic=true
v8_use_external_startup_data=false
target_cpu="x64"
v8_target_cpu="x64"
#treat_warnings_as_errors=false
#is_clang=true
#enable_precompiled_headers=false
#use_gold=true
v8_enable_i18n_support=false

ninja -C out.gn/libv8 v8_monolith

@SamSaffron
Copy link
Contributor

Given 6.6 is now out and stable and GYP is gone, I am reaching out on Twitter to see if anyone can help us out here!

@ignisf ignisf changed the title GYP is going to be deprecated in favor of GN in the future GYP has been deprecated in favor of GN Jun 21, 2018
@ignisf
Copy link
Collaborator Author

ignisf commented Jul 6, 2018

Tracking issue for the system toolchain support: #260

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants