mirror of
https://github.com/fastogt/pyfastogt
synced 2025-02-12 16:01:51 +00:00
Update build_utils.py
This commit is contained in:
parent
8047743c64
commit
4578222d7e
1 changed files with 0 additions and 21 deletions
|
@ -180,27 +180,6 @@ class BuildRequest(object):
|
|||
libev_compiler_flags = ['--with-pic', '--disable-shared', '--enable-static']
|
||||
self._clone_and_build_via_autogen(generate_fastogt_github_path('libev'), libev_compiler_flags)
|
||||
|
||||
def build_cpuid(self):
|
||||
cpuid_compiler_flags = ['--disable-shared', '--enable-static']
|
||||
|
||||
pwd = os.getcwd()
|
||||
cloned_dir = utils.git_clone(generate_fastogt_github_path('libcpuid'))
|
||||
os.chdir(cloned_dir)
|
||||
|
||||
platform_name = self.platform_name()
|
||||
if platform_name == 'macosx':
|
||||
libtoolize_cpuid = ['glibtoolize']
|
||||
else:
|
||||
libtoolize_cpuid = ['libtoolize']
|
||||
subprocess.call(libtoolize_cpuid)
|
||||
|
||||
autoreconf_cpuid = ['autoreconf', '--install']
|
||||
subprocess.call(autoreconf_cpuid)
|
||||
|
||||
self._build_via_configure(cpuid_compiler_flags)
|
||||
|
||||
os.chdir(pwd)
|
||||
|
||||
def update_pyfastogt(self):
|
||||
self._clone_and_build_via_python3(generate_fastogt_github_path('pyfastogt'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue