Commit b54e5dea authored by carnet's avatar carnet
Browse files

added build directories for kokkos

parent f33e9f57
......@@ -25,7 +25,7 @@ def compile_all(base_build_dir: str, kokkos_dir: str):
build_cmd = config['build-cmd'].format(kokkos_dir)
print("======================== {} ========================".format(
build_dir), flush=True)
if subprocess.call("cd {}; {}".format(build_dir, build_cmd), shell=True) == -1:
if subprocess.call("mkdir {}; cd {}; {}".format(build_dir, build_dir, build_cmd), shell=True) == -1:
exit(-1)
print("", flush=True)
......
......@@ -25,7 +25,7 @@ def compile_all(base_build_dir: str, kokkos_dir: str):
build_cmd = config["build-cmd"].format(kokkos_dir)
print("======================== {} ========================".format(
build_dir), flush=True)
if subprocess.call("cd {}; {}".format(build_dir, build_cmd), shell=True) == -1:
if subprocess.call("mkdir {}; cd {}; {}".format(build_dir, build_dir, build_cmd), shell=True) == -1:
exit(-1)
print("", flush=True)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment