From 4bf2fb39346ff57230228bb66b6701bc7d5dae46 Mon Sep 17 00:00:00 2001 From: Landon Owen Date: Thu, 25 Jul 2024 16:10:55 -0700 Subject: [PATCH] Fix host-config-build.py with changes to sexe routine --- scripts/devtools/host-config-build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/devtools/host-config-build.py b/scripts/devtools/host-config-build.py index 11cdbfb75..86219e88e 100755 --- a/scripts/devtools/host-config-build.py +++ b/scripts/devtools/host-config-build.py @@ -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 != ['']: @@ -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: