File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,16 @@ def _supported_unix():
5454 extra_compile_args += ['-DVMPROF_UNIX=1' ]
5555 if platform .machine ().startswith ("arm" ):
5656 libraries .append ('unwind-arm' )
57- elif platform .machine ().startswith ("x86" ) or platform .machine ().startswith ("amd64" ):
57+ elif (platform .machine ().startswith ("x86" ) or
58+ platform .machine ().startswith ("i686" ) or
59+ platform .machine ().startswith ("amd64" )):
5860 if sys .maxsize == 2 ** 63 - 1 :
5961 libraries .append ('unwind-x86_64' )
6062 else :
6163 libraries .append ('unwind-x86' )
6264 else :
63- raise NotImplementedError ("unknown platform.machine(): %s" % platform .machine ())
65+ raise NotImplementedError ("unknown platform.machine(): %s" %
66+ platform .machine ())
6467 extra_source_files += [
6568 'src/vmprof_mt.c' ,
6669 'src/vmprof_unix.c' ,
You can’t perform that action at this time.
0 commit comments