retrying travis installation of iVerilog 10.3

This commit is contained in:
tangxifan 2019-11-01 16:36:29 -06:00
parent 3ae841b80f
commit 5332588e82
1 changed files with 14 additions and 14 deletions

View File

@ -94,7 +94,7 @@ install:
- | - |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="https://cmake.org/files/v3.13/cmake-3.13.0-rc3-Linux-x86_64.tar.gz" CMAKE_URL="https://cmake.org/files/v3.13/cmake-3.13.0-rc3-Linux-x86_64.tar.gz"
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake mkdir -p cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
export PATH=${DEPS_DIR}/cmake/bin:${PATH} export PATH=${DEPS_DIR}/cmake/bin:${PATH}
echo ${PATH} echo ${PATH}
else else
@ -102,19 +102,19 @@ install:
fi fi
- cmake --version - cmake --version
# Install latest iVerilog. Since no deb is provided, compile from source codes # Install latest iVerilog. Since no deb is provided, compile from source codes
# - | - |
# if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
# IVERILOG_URL="https://github.com/steveicarus/iverilog/archive/v10_3.tar.gz" IVERILOG_URL="https://github.com/steveicarus/iverilog/archive/v10_3.tar.gz"
# travis_retry wget --no-check-certificate --quiet -O - ${IVERILOG_URL} | tar --strip-components=1 -xz -C iverilog-10.3 mkdir -p iverilog-10.3 && travis_retry wget --no-check-certificate --quiet -O - ${IVERILOG_URL} | tar --strip-components=1 -xz -C iverilog-10.3
# cd iverlog-10.3 cd iverlog-10.3
# sh autoconf.sh --prefix=${DEPS_DIR}/iverilog-10.3/bin sh autoconf.sh --prefix=${DEPS_DIR}/iverilog-10.3/bin
# ./configure --prefix=${DEPS_DIR}/iverilog-10.3/bin ./configure --prefix=${DEPS_DIR}/iverilog-10.3/bin
# make -j4 make -j4
# make check make check
# make install --prefix=${HOME}/iverilog-10.3/bin make install --prefix=${HOME}/iverilog-10.3/bin
# export PATH=${DEPS_DIR}/iverilog-10.3/bin:${PATH} export PATH=${DEPS_DIR}/iverilog-10.3/bin:${PATH}
# echo ${PATH} echo ${PATH}
# fi fi
- iverilog -V - iverilog -V
- cd - - cd -
- .travis/install.sh - .travis/install.sh