mirror of
https://github.com/fastogt/pyfastogt
synced 2025-03-09 23:38:55 +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']
|
libev_compiler_flags = ['--with-pic', '--disable-shared', '--enable-static']
|
||||||
self._clone_and_build_via_autogen(generate_fastogt_github_path('libev'), libev_compiler_flags)
|
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):
|
def update_pyfastogt(self):
|
||||||
self._clone_and_build_via_python3(generate_fastogt_github_path('pyfastogt'))
|
self._clone_and_build_via_python3(generate_fastogt_github_path('pyfastogt'))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue