Skip to content

Commit

Permalink
Merge pull request #426 from perftool-incubator/dev-kmr
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rister authored Nov 22, 2024
2 parents 5a563e9 + 2c2a392 commit d2d480d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/_main
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ elif [ "${1}" == "run" ]; then
--tools-dir=${CRUCIBLE_HOME}/subprojects/tools\
--registries-json=${REGISTRIES_CFG}\
--base-run-dir=$base_run_dir\
--external-userenvs-dir=${CRUCIBLE_HOME}/subprojects/userenvs\
${passthru_args[@]}"

echo "rickshaw-run command: $rs_run_cmd"
Expand Down
10 changes: 9 additions & 1 deletion bin/subprojects-install
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fi

no_clone=""
pushd "$crucible_repo_dir" >/dev/null || exit_error "Could not change directory to $crucible_repo_dir"
/bin/mkdir -p subprojects/benchmarks subprojects/tools subprojects/core subprojects/docs
/bin/mkdir -p subprojects/benchmarks subprojects/tools subprojects/core subprojects/docs subprojects/userenvs
for link in $(find subprojects -type l); do
type_dir=$(echo "${link}" | awk -F'/' '{ print $2 }')
name_link=$(echo "${link}" | awk -F'/' '{ print $3 }')
Expand Down Expand Up @@ -100,6 +100,11 @@ for link in $(find subprojects -type l); do
active=1
fi
;;
"userenvs")
if [ "${type_dir}" == "userenvs" ]; then
active=1
fi
;;
esac
fi
if [ ${active} == 0 ]; then
Expand Down Expand Up @@ -147,6 +152,9 @@ for subproject in "${!subprojects[@]}"; do
"doc")
sp_dir_prefix="docs/"
;;
"userenvs")
sp_dir_prefix="userenvs/"
;;
esac

clone_user_host_org_dir="repos/${sp_git_user}${sp_git_host_org}"
Expand Down

0 comments on commit d2d480d

Please sign in to comment.