V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
JokerSH
V2EX  ›  问与答

Travis Windows 安装 HDF5

  •  
  •   JokerSH · Oct 11, 2021 · 858 views
    This topic created in 1671 days ago, the information mentioned may be changed or developed.

    我想在 Travis windows 实例中使用静默模式安装 HDF5 。安装进程卡在了 msiexec 这个命令,并且没有报错信息。超时后就自动终止了。

    在本地机器安装的时候,采用相同的 msiexec 命令,可以顺利安装,并且安装过程很快,基本不会超过一分钟。请问问题可能出现在哪里啊?

    配置文件如下:

    language: node_js
    
    node_js:
      - "node"
      - "14"
      - "12"
    
    os:
      - windows
    
    before_install:
      - /c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/Common7/Tools/VsDevCmd.bat;
      - which cmake;
      - wget -q https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/bin/hdf5-1.12.0-Std-win10_64-vs15.zip -O /tmp/hdf5-1.12.0-Std-win10_64-vs15.zip;
      - unzip -q /tmp/hdf5-1.12.0-Std-win10_64-vs15.zip;
      - ls ./hdf;
      - mkdir -p `pwd`/hdf5-1.12.0/dist;
      - cd hdf;
      - echo `pwd`;
      - readlink -f HDF5-1.12.0-win64.msi;
      - ls -lastr `pwd`/HDF5-1.12.0-win64.msi;
      - travis_wait msiexec /i `pwd`/HDF5-1.12.0-win64.msi /qn /lv!;
      - cd ..;
      - which h5dump;
      - ls `pwd`/hdf5-1.12.0/dist;
      - export HDF5_HOME_WIN=`pwd`/hdf5-1.12.0/dist;
    

    相关的 build 在这里 https://app.travis-ci.com/github/baojd42/test_travis/jobs/542399576

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1296 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 17:39 · PVG 01:39 · LAX 10:39 · JFK 13:39
    ♥ Do have faith in what you're doing.