mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Separate make clean and make lib in check_names
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
@ -569,8 +569,15 @@ class CodeParser():
|
|||||||
)
|
)
|
||||||
my_environment = os.environ.copy()
|
my_environment = os.environ.copy()
|
||||||
my_environment["CFLAGS"] = "-fno-asynchronous-unwind-tables"
|
my_environment["CFLAGS"] = "-fno-asynchronous-unwind-tables"
|
||||||
|
# Run make clean separately to lib to prevent unwanted behavior when
|
||||||
|
# make is invoked with parallelism.
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
["make", "clean", "lib"],
|
["make", "clean"],
|
||||||
|
universal_newlines=True,
|
||||||
|
check=True
|
||||||
|
)
|
||||||
|
subprocess.run(
|
||||||
|
["make", "lib"],
|
||||||
env=my_environment,
|
env=my_environment,
|
||||||
universal_newlines=True,
|
universal_newlines=True,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
|
Reference in New Issue
Block a user