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():
54
54
extra_compile_args += ['-DVMPROF_UNIX=1' ]
55
55
if platform .machine ().startswith ("arm" ):
56
56
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" )):
58
60
if sys .maxsize == 2 ** 63 - 1 :
59
61
libraries .append ('unwind-x86_64' )
60
62
else :
61
63
libraries .append ('unwind-x86' )
62
64
else :
63
- raise NotImplementedError ("unknown platform.machine(): %s" % platform .machine ())
65
+ raise NotImplementedError ("unknown platform.machine(): %s" %
66
+ platform .machine ())
64
67
extra_source_files += [
65
68
'src/vmprof_mt.c' ,
66
69
'src/vmprof_unix.c' ,
You can’t perform that action at this time.
0 commit comments