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: log detected compilers in --verbose mode · nodejs/node@9915774

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
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,9 @@ def check_compiler(o):
750750
return
751751

752752
ok, is_clang, clang_version, gcc_version = try_check_compiler(CXX, 'c++')
753+
version_str = ".".join(map(str, clang_version if is_clang else gcc_version))
754+
print_verbose('Detected %sC++ compiler (CXX=%s) version: %s' %
755+
('clang ' if is_clang else '', CXX, version_str))
753756
if not ok:
754757
warn('failed to autodetect C++ compiler version (CXX=%s)' % CXX)
755758
elif sys.platform.startswith('aix') and gcc_version < (6, 3, 0):
@@ -758,6 +761,9 @@ def check_compiler(o):
758761
warn('C++ compiler too old, need g++ 4.9.4 or clang++ 3.4.2 (CXX=%s)' % CXX)
759762

760763
ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c')
764+
version_str = ".".join(map(str, clang_version if is_clang else gcc_version))
765+
print_verbose('Detected %sC compiler (CC=%s) version: %s' %
766+
('clang ' if is_clang else '', CC, version_str))
761767
if not ok:
762768
warn('failed to autodetect C compiler version (CC=%s)' % CC)
763769
elif not is_clang and gcc_version < (4, 2, 0):

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.