Skip to content

Commit

Permalink
Change placement of libs to build_dir/Config
Browse files Browse the repository at this point in the history
  • Loading branch information
baijumeswani committed Dec 12, 2024
1 parent 8e171c7 commit 181f82d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ def _validate_build_dir(args: argparse.Namespace):
target_sys = "macOS"

# set to a config specific build dir if no build_dir specified from command arguments
args.build_dir = Path("build") / target_sys / args.config
args.build_dir = Path("build") / target_sys

is_strict = not args.update
# Use user-specified build_dir and ignore args.config
# This is to better accommodate the existing cmake presets which can uses arbitrary paths.
args.build_dir = args.build_dir.resolve(strict=is_strict)
args.build_dir = args.build_dir.resolve(strict=is_strict) / args.config


def _validate_cuda_args(args: argparse.Namespace):
Expand Down

0 comments on commit 181f82d

Please sign in to comment.