GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: build with v8 gdbjit support on supported platform · nodejs/node@bb82b44

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • configure.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎configure.py‎

Copy file name to clipboardExpand all lines: configure.py
+10-1Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,16 @@ def configure_v8(o, configs):
19591959
o['variables']['v8_enable_webassembly'] = 0 if options.v8_lite_mode else 1
19601960
o['variables']['v8_enable_javascript_promise_hooks'] = 1
19611961
o['variables']['v8_enable_lite_mode'] = 1 if options.v8_lite_mode else 0
1962-
o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0
1962+
is_gdbjit_supported_arch = (
1963+
'x64' in o['variables']['target_arch'] or
1964+
'ia32' in o['variables']['target_arch'] or
1965+
'ppc64' in o['variables']['target_arch']
1966+
)
1967+
is_linux = flavor == 'linux'
1968+
if (options.gdb is not None):
1969+
o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0
1970+
else:
1971+
o['variables']['v8_enable_gdbjit'] = 1 if is_gdbjit_supported_arch and is_linux else 0
19631972
o['variables']['v8_optimized_debug'] = 0 if options.v8_non_optimized_debug else 1
19641973
o['variables']['dcheck_always_on'] = 1 if options.v8_with_dchecks else 0
19651974
o['variables']['v8_enable_object_print'] = 0 if options.v8_disable_object_print else 1

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.