Open xianglous opened 1 month ago
Hi @xianglous
Thank you for raising the issue.
Could you please rerun the script with -p
flag and share the output?
here's the output I got
gcc gcc-c++ make glibc libstdc++ libgcc cmake3 sudo pkgconf-pkg-config python3 python3-pip
@xianglous to workaround this issue you can run installation command with y
flag:
sudo -E ./install_dependencies/install_openvino_dependencies.sh -y
@ilya-lavrenov
If the script called without parameters we've got the command
yum install '' gcc gcc-c++ make glibc libstdc++ libgcc cmake3 sudo pkgconf-pkg-config python3 python3-pip
Amazon Linux does not like empty quotes in the command.
The script works fine if $iopt
is not quoted, however, I assume, you quoted all variables on purpose.
thanks, It worked!
@xianglous glad to hear! please let us know if you face any other issues on Graviton. Your feedback is valuable for us! Also please keep this ticket opened since the original issue is not solved and I'm waiting for my colleague response.
It was done to make shellcheck happy:
CMake Error at /home/devuser/ilavreno/openvino/cmake/developer_package/shellcheck/shellcheck_process.cmake:20 (message):
In
/home/devuser/ilavreno/openvino/scripts/install_dependencies/install_openvino_dependencies.sh
line 293:
yum install $iopt "${pkgs[@]}"
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
yum install "$iopt" "${pkgs[@]}"
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
Looks like we need a way to drop drop empty arguments
OpenVINO Version
2024.2.0
Operating System
Other (Please specify in description)
Hardware Architecture
ARM (64 bits)
Target Platform
Build issue description
The device is an AWS c7g instance with amzn2023 OS and ARM CPU. While following the installation guide for ARM 64 architecture on the documentation page, the
sudo -E ./install_dependencies/install_openvino_dependencies.sh
raised errorError: Unable to find a match
and caused the installation failedBuild script or step-by-step to reproduce
Relevant log output
Issue submission checklist