Skip to content

Commit

Permalink
Run build verbosely
Browse files Browse the repository at this point in the history
  • Loading branch information
oktal3700 committed Nov 16, 2023
1 parent dde127b commit f130dea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ def build(self, jobs, cmake_args, dev_build):

# Workaround while using Make for MacOS to pass number of jobs
if self.__class__.__name__ == 'MacOSBuilder':
subprocess.check_call(["cmake", "--build", ".", "-j3"], env=dict(os.environ))
subprocess.check_call(["cmake", "--build", ".", "-v", "-j3"], env=dict(os.environ))
elif self.__class__.__name__ == 'MSVCBuilder':
# it seems that ninja does not automatically spawn the correct number of jobs on Windows
subprocess.check_call(["cmake", "--build", ".", "-j2"], env=dict(os.environ))
subprocess.check_call(["cmake", "--build", ".", "-v", "-j2"], env=dict(os.environ))
else:
subprocess.check_call(["cmake", "--build", "."], env=dict(os.environ))
subprocess.check_call(["cmake", "--build", ".", "-v"], env=dict(os.environ))

def checks(self):
"""
Expand Down

0 comments on commit f130dea

Please sign in to comment.