Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Heinrich-BR committed Dec 13, 2024
1 parent 7fc7c15 commit 98681e3
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions scripts/build-platypus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,19 @@ parse_options() {
export_config_file() {

INV_COMMAND="$*"
printf 'Invocation command:\n\n ./%s %s\n\n' "$(basename "$0")" "${INV_COMMAND}" >> ${CONFIG_FILE}
printf 'Unused arguments:\n\n' >> ${CONFIG_FILE}
for u in "${OTHER_ARGUMENTS[@]}"; do
printf '%s\n' "${u}" >> ${CONFIG_FILE}
done
printf '\nOptions:\n\n' >> ${CONFIG_FILE}
printf 'GPU_BUILD = %s\n' "${GPU_BUILD}" >> ${CONFIG_FILE}
printf 'GPU_BACKEND = %s\n' "${GPU_BACKEND}" >> ${CONFIG_FILE}
printf 'GPU_ARCH = %s\n' "${GPU_ARCH}" >> ${CONFIG_FILE}
printf 'CPU_TARGET = %s\n\n' "${CPU_TARGET}" >> ${CONFIG_FILE}
{
printf 'Invocation command:\n\n ./%s %s\n\n' "$(basename "$0")" "${INV_COMMAND}"
printf 'Unused arguments:\n\n'
for u in "${OTHER_ARGUMENTS[@]}"; do
printf '%s\n' "${u}"
done

printf '\nOptions:\n\n'
printf 'GPU_BUILD = %s\n' "${GPU_BUILD}"
printf 'GPU_BACKEND = %s\n' "${GPU_BACKEND}"
printf 'GPU_ARCH = %s\n' "${GPU_ARCH}"
printf 'CPU_TARGET = %s\n\n' "${CPU_TARGET}"
} >> ${CONFIG_FILE}

}

Expand Down

0 comments on commit 98681e3

Please sign in to comment.