Commit 4525a326 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

experiments: build cpython in build directory

parent b1fe6dfc
......@@ -48,8 +48,10 @@ class ClangHashHelper:
def call_configure(self, path):
if self.project_name() == "postgresql":
shell("cd %s; ./configure --enable-depend", path)
elif self.project_name() in ("musl", "cpython", "bash", "samba"):
elif self.project_name() in ("musl", "bash", "samba"):
shell("cd %s; ./configure", path)
elif self.project_name() in ("cpython",):
shell("cd %s; mkdir build; cd build; ../configure", path)
elif self.project_name() in ('mbedtls'):
shell("cd %s; mkdir build; cd build; cmake .. -DCMAKE_C_COMPILER=$CC", path)
elif self.project_name() in ('lua',):
......@@ -68,7 +70,7 @@ class ClangHashHelper:
raise RuntimeError("Not a valid project")
def call_make(self, path):
if self.project_name() == "mbedtls":
if self.project_name() in ("mbedtls", "cpython"):
return shell("cd %s/build; make -j %s", path, str(self.jobs.value))
else:
return shell("cd %s; make -j %s", path, str(self.jobs.value))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment