Skip to content

Commit

Permalink
Fix host-config-build.py with changes to sexe routine
Browse files Browse the repository at this point in the history
  • Loading branch information
ldowen committed Jul 25, 2024
1 parent 3431eca commit 4bf2fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/devtools/host-config-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main():
install_dir=args.install_dir
build_dir=build_dir+"/build"
# Pull the cmake command to use out of our host config.
cmake_cmd=sexe("grep 'CMake executable' \"{0}\"".format(hostconfig_path), ret_output=True, echo=True)[1].split()[-1]
cmake_cmd=sexe("grep 'CMake executable' \"{0}\"".format(hostconfig_path), ret_output=True, echo=True).split()[-1]

cmake_extra_args=""
if args.D and args.D != ['']:
Expand Down Expand Up @@ -107,7 +107,7 @@ def main():
print("~~~~~ Building Spheral")
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")

build_result = sexe("{0} {1} --build . -j 48 --target install".format(ml_cmd, cmake_cmd), echo=True)
build_result = sexe("{0} {1} --build . -j 48 --target install".format(ml_cmd, cmake_cmd), echo=True, ret_output=True)

# If our build or install failed, run again to get our first error.
if build_result != 0:
Expand Down

0 comments on commit 4bf2fb3

Please sign in to comment.