Skip to content

Commit

Permalink
Check for valid c++ compiler in docker, if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed May 14, 2024
1 parent 0f62890 commit b58e7f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alibuild_helpers/doctor.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def doDoctor(args, parser):
# Decide if we can use homebrew. If not, we replace it with "true" so
# that we do not get spurious messages on linux
homebrew_replacement = ""
err, output = getstatusoutput("type c++")
with DockerRunner(args.dockerImage, args.docker_extra_args) as getstatusoutput_docker:
err, output = getstatusoutput_docker("type c++")
if err:
warning("Unable to find system compiler.\n"
"%s\n"
Expand Down

0 comments on commit b58e7f2

Please sign in to comment.