403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/py-pyvex/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/py-pyvex/files/patch-setup.py
--- setup.py.orig	2020-01-08 00:58:26 UTC
+++ setup.py
@@ -73,10 +73,8 @@ def _build_vex():
     e['MULTIARCH'] = '1'
     e['DEBUG'] = '1'
 
-    cmd1 = ['nmake', '/f', 'Makefile-msvc', 'all']
-    cmd2 = ['make', '-f', 'Makefile-gcc', '-j', str(multiprocessing.cpu_count()), 'all']
-    cmd3 = ['gmake', '-f', 'Makefile-gcc', '-j', str(multiprocessing.cpu_count()), 'all']
-    for cmd in (cmd1, cmd2, cmd3):
+    cmd3 = ['gmake', '-f', 'Makefile-gcc', '-j', '%%MAKE_JOBS_NUMBER%%', 'all']
+    for cmd in (cmd3,):
         try:
             if subprocess.call(cmd, cwd=VEX_PATH, env=e) == 0:
                 break
@@ -91,10 +89,8 @@ def _build_pyvex():
     e['VEX_INCLUDE_PATH'] = os.path.join(VEX_PATH, 'pub')
     e['VEX_LIB_FILE'] = os.path.join(VEX_PATH, 'libvex.lib')
 
-    cmd1 = ['nmake', '/f', 'Makefile-msvc']
-    cmd2 = ['make', '-j', str(multiprocessing.cpu_count())]
-    cmd3 = ['gmake', '-j', str(multiprocessing.cpu_count())]
-    for cmd in (cmd1, cmd2, cmd3):
+    cmd3 = ['gmake', '-j', '%%MAKE_JOBS_NUMBER%%']
+    for cmd in (cmd3,):
         try:
             if subprocess.call(cmd, cwd='pyvex_c', env=e) == 0:
                 break

Youez - 2016 - github.com/yon3zu
LinuXploit