Update the Windows packaging script.
authorCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Tue, 12 Jul 2022 05:37:29 +0000 (06:37 +0100)
committerCarlos Alberto Enciso <carlos.alberto.enciso@gmail.com>
Tue, 12 Jul 2022 05:37:29 +0000 (06:37 +0100)
commitdf7c5772a2db6dd7bcf4a89bae4543a8f8984916
treeb1d138b9db775828769c24c4eae5aa939d83939f
parent1544d1f9fdb115782202d72ad200c3f93b2c4f5a
Update the Windows packaging script.

As discussed on:
  https://discourse.llvm.org/t/build-llvm-release-bat-script-options/63146/6

Latest 7-zip versions (21.x) require administrator permissions
to create symbolic links.

Check if any of the following conditions is true:
- Version of 7-zip is 20.x or older
- Script is running with administrator permissions

Reviewed By: hans, thieta

Differential Revision: https://reviews.llvm.org/D129263
llvm/utils/release/build_llvm_release.bat