We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 235fe83 commit 1dbc72bCopy full SHA for 1dbc72b
src/bootstrap/bootstrap.py
@@ -404,14 +404,6 @@ def build_triple(self):
404
raise Exception(err)
405
sys.exit(err)
406
407
- # Darwin's `uname -s` lies and always returns i386. We have to use
408
- # sysctl instead.
409
- if ostype == 'Darwin' and cputype == 'i686':
410
- args = ['sysctl', 'hw.optional.x86_64']
411
- sysctl = subprocess.check_output(args).decode(default_encoding)
412
- if ': 1' in sysctl:
413
- cputype = 'x86_64'
414
-
415
# The goal here is to come up with the same triple as LLVM would,
416
# at least for the subset of platforms we're willing to target.
417
if ostype == 'Linux':
0 commit comments