build: add an option to skip the install-sysroot hooks (#42444)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
68dfa0440a
commit
8903eecbb6
1 changed files with 9 additions and 6 deletions
15
DEPS
15
DEPS
|
@ -48,6 +48,9 @@ vars = {
|
||||||
# It's only needed to parse the native tests configurations.
|
# It's only needed to parse the native tests configurations.
|
||||||
'checkout_pyyaml': False,
|
'checkout_pyyaml': False,
|
||||||
|
|
||||||
|
# Can be used to disable the sysroot hooks.
|
||||||
|
'install_sysroot': True,
|
||||||
|
|
||||||
'use_rts': False,
|
'use_rts': False,
|
||||||
|
|
||||||
'mac_xcode_version': 'default',
|
'mac_xcode_version': 'default',
|
||||||
|
@ -164,7 +167,7 @@ hooks = [
|
||||||
{
|
{
|
||||||
'name': 'sysroot_arm',
|
'name': 'sysroot_arm',
|
||||||
'pattern': '.',
|
'pattern': '.',
|
||||||
'condition': 'checkout_linux and checkout_arm',
|
'condition': 'install_sysroot and checkout_linux and checkout_arm',
|
||||||
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
||||||
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
||||||
'--arch=arm'],
|
'--arch=arm'],
|
||||||
|
@ -172,7 +175,7 @@ hooks = [
|
||||||
{
|
{
|
||||||
'name': 'sysroot_arm64',
|
'name': 'sysroot_arm64',
|
||||||
'pattern': '.',
|
'pattern': '.',
|
||||||
'condition': 'checkout_linux and checkout_arm64',
|
'condition': 'install_sysroot and checkout_linux and checkout_arm64',
|
||||||
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
||||||
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
||||||
'--arch=arm64'],
|
'--arch=arm64'],
|
||||||
|
@ -180,7 +183,7 @@ hooks = [
|
||||||
{
|
{
|
||||||
'name': 'sysroot_x86',
|
'name': 'sysroot_x86',
|
||||||
'pattern': '.',
|
'pattern': '.',
|
||||||
'condition': 'checkout_linux and (checkout_x86 or checkout_x64)',
|
'condition': 'install_sysroot and checkout_linux and (checkout_x86 or checkout_x64)',
|
||||||
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
||||||
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
||||||
'--arch=x86'],
|
'--arch=x86'],
|
||||||
|
@ -188,7 +191,7 @@ hooks = [
|
||||||
{
|
{
|
||||||
'name': 'sysroot_mips',
|
'name': 'sysroot_mips',
|
||||||
'pattern': '.',
|
'pattern': '.',
|
||||||
'condition': 'checkout_linux and checkout_mips',
|
'condition': 'install_sysroot and checkout_linux and checkout_mips',
|
||||||
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
||||||
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
||||||
'--arch=mips'],
|
'--arch=mips'],
|
||||||
|
@ -196,7 +199,7 @@ hooks = [
|
||||||
{
|
{
|
||||||
'name': 'sysroot_mips64',
|
'name': 'sysroot_mips64',
|
||||||
'pattern': '.',
|
'pattern': '.',
|
||||||
'condition': 'checkout_linux and checkout_mips64',
|
'condition': 'install_sysroot and checkout_linux and checkout_mips64',
|
||||||
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
||||||
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
||||||
'--arch=mips64el'],
|
'--arch=mips64el'],
|
||||||
|
@ -204,7 +207,7 @@ hooks = [
|
||||||
{
|
{
|
||||||
'name': 'sysroot_x64',
|
'name': 'sysroot_x64',
|
||||||
'pattern': '.',
|
'pattern': '.',
|
||||||
'condition': 'checkout_linux and checkout_x64',
|
'condition': 'install_sysroot and checkout_linux and checkout_x64',
|
||||||
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
||||||
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
'--sysroots-json-path=' + Var('sysroots_json_path'),
|
||||||
'--arch=x64'],
|
'--arch=x64'],
|
||||||
|
|
Loading…
Reference in a new issue