Update .travis.yml
This commit is contained in:
parent
b6855d70ed
commit
7bdbb022fb
20
.travis.yml
20
.travis.yml
|
@ -32,15 +32,15 @@ matrix:
|
||||||
before_script: &common-before
|
before_script: &common-before
|
||||||
- COMMON_FLAGS="TARGET=POWER8"
|
- COMMON_FLAGS="TARGET=POWER8"
|
||||||
script:
|
script:
|
||||||
- travis_wait 40 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
|
- travis_wait 40 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE//
|
||||||
- wget -q https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-ppc64le.sh
|
- #wget -q https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-ppc64le.sh
|
||||||
- sh ./Anaconda3-2022.05-Linux-ppc64le.sh -b -p $HOME/conda
|
- #sh ./Anaconda3-2022.05-Linux-ppc64le.sh -b -p $HOME/conda
|
||||||
- eval "$($HOME/conda/bin/conda shell.bash hook)"
|
- #eval "$($HOME/conda/bin/conda shell.bash hook)"
|
||||||
- conda init
|
- #conda init
|
||||||
- #conda create condas
|
- #conda create condas
|
||||||
- conda activate #condas
|
- #conda activate #condas
|
||||||
- conda install -y astunparse numpy ninja pyyaml setuptools cmake cffi typing_extensions future six requests dataclasses hypothesis expecttest
|
- #conda install -y astunparse numpy ninja pyyaml setuptools cmake cffi typing_extensions future six requests dataclasses hypothesis expecttest
|
||||||
- conda install -y pytorch
|
- #conda install -y pytorch
|
||||||
- #git clone --recursive https://github.com/pytorch/pytorch
|
- #git clone --recursive https://github.com/pytorch/pytorch
|
||||||
- #export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
|
- #export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
|
||||||
- #cd pytorch
|
- #cd pytorch
|
||||||
|
@ -52,7 +52,9 @@ matrix:
|
||||||
- cd /
|
- cd /
|
||||||
- sudo tar jxf /home/travis/build/xianyi/OpenBLAS/pytorchbin.tbz
|
- sudo tar jxf /home/travis/build/xianyi/OpenBLAS/pytorchbin.tbz
|
||||||
- cd -
|
- cd -
|
||||||
- mv /usr/local/conda/lib/python3.9/site-packages/torch/lib/* /home/travis/conda/lib/python-3.9/site-packages/torch/lib
|
- /usr/local/conda/bin/conda shell.bash hook
|
||||||
|
- /usr/local/conda/bin/conda init
|
||||||
|
- /usr/local/conda/bin/conda activate
|
||||||
- #cd pytorch/build
|
- #cd pytorch/build
|
||||||
- #rm CMakeCache.txt
|
- #rm CMakeCache.txt
|
||||||
- #wget https://www.mkroeker.com/CMakeCache.txt
|
- #wget https://www.mkroeker.com/CMakeCache.txt
|
||||||
|
|
Loading…
Reference in New Issue