mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
build relative paths
This commit is contained in:
parent
3fe9ca7540
commit
07df597912
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ class StackBuild(Subcommand):
|
|||
# save build.yaml spec for building same distribution again
|
||||
if build_config.image_type == ImageType.docker.value:
|
||||
# TODO (xiyan): docker needs build file to be in the llama-stack repo dir
|
||||
llama_toolchain_path = Path(os.path.relpath(__file__)).parent.parent.parent
|
||||
build_dir = (
|
||||
Path(os.path.expanduser("./.llama/distributions"))
|
||||
/ build_config.image_type
|
||||
llama_toolchain_path / "configs/distributions" / build_config.image_type
|
||||
)
|
||||
else:
|
||||
build_dir = DISTRIBS_BASE_DIR / build_config.image_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue