MCPcopy Index your code
hub / github.com/python/cpython / _build_src

Method _build_src

Tools/ssl/multissltests.py:485–502  ·  view source on GitHub ↗
(self, config_args=())

Source from the content-addressed store, hash-verified

483 build_template = "aws-lc-{}"
484
485 def _build_src(self, config_args=()):
486 cwd = self.build_dir
487 log.info("Running build in {}".format(cwd))
488 env = os.environ.copy()
489 env["LD_RUN_PATH"] = self.lib_dir # set rpath
490 if self.system:
491 env['SYSTEM'] = self.system
492 cmd = [
493 "cmake",
494 "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
495 "-DCMAKE_PREFIX_PATH={}".format(self.install_dir),
496 "-DCMAKE_INSTALL_PREFIX={}".format(self.install_dir),
497 "-DBUILD_SHARED_LIBS=ON",
498 "-DBUILD_TESTING=OFF",
499 "-DFIPS=OFF",
500 ]
501 self._subprocess_call(cmd, cwd=cwd, env=env)
502 self._subprocess_call(["make", "-j{}".format(self.jobs)], cwd=cwd, env=env)
503
504
505def configure_make():

Callers 1

_build_srcMethod · 0.45

Calls 4

_subprocess_callMethod · 0.80
infoMethod · 0.45
formatMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected