Removed
Link Here
|
1 |
--- setup.py.orig 2020-01-08 00:58:26 UTC |
2 |
+++ setup.py |
3 |
@@ -73,10 +73,8 @@ def _build_vex(): |
4 |
e['MULTIARCH'] = '1' |
5 |
e['DEBUG'] = '1' |
6 |
|
7 |
- cmd1 = ['nmake', '/f', 'Makefile-msvc', 'all'] |
8 |
- cmd2 = ['make', '-f', 'Makefile-gcc', '-j', str(multiprocessing.cpu_count()), 'all'] |
9 |
- cmd3 = ['gmake', '-f', 'Makefile-gcc', '-j', str(multiprocessing.cpu_count()), 'all'] |
10 |
- for cmd in (cmd1, cmd2, cmd3): |
11 |
+ cmd3 = ['gmake', '-f', 'Makefile-gcc', '-j', '%%MAKE_JOBS_NUMBER%%', 'all'] |
12 |
+ for cmd in (cmd3,): |
13 |
try: |
14 |
if subprocess.call(cmd, cwd=VEX_PATH, env=e) == 0: |
15 |
break |
16 |
@@ -91,10 +89,8 @@ def _build_pyvex(): |
17 |
e['VEX_INCLUDE_PATH'] = os.path.join(VEX_PATH, 'pub') |
18 |
e['VEX_LIB_FILE'] = os.path.join(VEX_PATH, 'libvex.lib') |
19 |
|
20 |
- cmd1 = ['nmake', '/f', 'Makefile-msvc'] |
21 |
- cmd2 = ['make', '-j', str(multiprocessing.cpu_count())] |
22 |
- cmd3 = ['gmake', '-j', str(multiprocessing.cpu_count())] |
23 |
- for cmd in (cmd1, cmd2, cmd3): |
24 |
+ cmd3 = ['gmake', '-j', '%%MAKE_JOBS_NUMBER%%'] |
25 |
+ for cmd in (cmd3,): |
26 |
try: |
27 |
if subprocess.call(cmd, cwd='pyvex_c', env=e) == 0: |
28 |
break |
29 |
- |