Skip to content

Commit

Permalink
assume yes for automatic pkg install
Browse files Browse the repository at this point in the history
  • Loading branch information
sathayen committed Mar 20, 2018
1 parent ce8be89 commit 2cd7607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qasm-simulator-cpp/build_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ elif [[ "$os_type" == "Linux" ]]; then
linux_distro=`cat /etc/*release | grep "ID_LIKE=" | cut -c9- | tr -d '"'`
if [[ "$linux_distro" == "debian" ]]; then
${SUDOCMD} apt-get update
${SUDOCMD} apt-get install build-essential libblas-dev liblapack-dev
${SUDOCMD} apt-get -y install build-essential libblas-dev liblapack-dev
elif [[ "$linux_distro" == "fedora" ]]; then
${SUDOCMD} yum update
${SUDOCMD} yum install devtoolset-6 blas blas-devel lapack lapack-devel
${SUDOCMD} yum -y install devtoolset-6 blas blas-devel lapack lapack-devel
${SUDOCMD} scl enable devtoolset-6 bash
else
echo "Unsupported linux distro: $linux_distro"
Expand Down

0 comments on commit 2cd7607

Please sign in to comment.