Skip to content

Commit

Permalink
tools: Use yaml files to calculate toolchain id
Browse files Browse the repository at this point in the history
If yaml files are present, toolchain bundler uses them instead of txt
 files as source of required tools.

Signed-off-by: Jan Gałda <[email protected]>
  • Loading branch information
jangalda-nsc authored and nordicjm committed Apr 8, 2024
1 parent 1773900 commit cd56080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/print_toolchain_checksum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

BASEDIR=$(dirname "$0")
REQUIREMENTS=$BASEDIR/requirements-fixed.txt
TOOLS_VERSIONS=$BASEDIR/tools-versions-linux.txt
TOOLCHAIN_VERSION=$(cat $REQUIREMENTS $TOOLS_VERSIONS | sha256sum | head -c 10)
TOOLS_VERSIONS=$BASEDIR/tools-versions-linux.yml
TOOLCHAIN_VERSION=$(cat $REQUIREMENTS $TOOLS_VERSIONS | tr -d '\r' | sha256sum | head -c 10)

echo "${TOOLCHAIN_VERSION}"

0 comments on commit cd56080

Please sign in to comment.