Separate make clean and make lib in check_names
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
parent
704b0f77e1
commit
4b7d23dfa6
1 changed files with 8 additions and 1 deletions
|
@ -569,8 +569,15 @@ class CodeParser():
|
|||
)
|
||||
my_environment = os.environ.copy()
|
||||
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(
|
||||
["make", "clean", "lib"],
|
||||
["make", "clean"],
|
||||
universal_newlines=True,
|
||||
check=True
|
||||
)
|
||||
subprocess.run(
|
||||
["make", "lib"],
|
||||
env=my_environment,
|
||||
universal_newlines=True,
|
||||
stdout=subprocess.PIPE,
|
||||
|
|
Loading…
Reference in a new issue