Skip to content

Commit

Permalink
toolchain/libsmm: overwrite existing symlink
Browse files Browse the repository at this point in the history
all other operations are idempotent, so should creating a symlink
  • Loading branch information
dev-zero authored and oschuett committed Nov 3, 2018
1 parent c23eae4 commit 0455189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/install_libsmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ case "$with_libsmm" in
# install manually
! [ -d "${pkg_install_dir}/lib" ] && mkdir -p "${pkg_install_dir}/lib"
cp $libsmm "${pkg_install_dir}/lib"
ln -s "${pkg_install_dir}/lib/$libsmm" "${pkg_install_dir}/lib/libsmm_dnn.a"
ln -sf "${pkg_install_dir}/lib/$libsmm" "${pkg_install_dir}/lib/libsmm_dnn.a"
else
echo "No libsmm is available"
echo "Consider building an optimized libsmm on your system yourself"
Expand Down

0 comments on commit 0455189

Please sign in to comment.