We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d7de0e commit 0825433Copy full SHA for 0825433
1 file changed
setup.py
@@ -54,13 +54,16 @@ def _supported_unix():
54
extra_compile_args += ['-DVMPROF_UNIX=1']
55
if platform.machine().startswith("arm"):
56
libraries.append('unwind-arm')
57
- elif platform.machine().startswith("x86") or platform.machine().startswith("amd64"):
+ elif (platform.machine().startswith("x86") or
58
+ platform.machine().startswith("i686") or
59
+ platform.machine().startswith("amd64")):
60
if sys.maxsize == 2**63-1:
61
libraries.append('unwind-x86_64')
62
else:
63
libraries.append('unwind-x86')
64
- raise NotImplementedError("unknown platform.machine(): %s" % platform.machine())
65
+ raise NotImplementedError("unknown platform.machine(): %s" %
66
+ platform.machine())
67
extra_source_files += [
68
'src/vmprof_mt.c',
69
'src/vmprof_unix.c',
0 commit comments