forked from gsneha26/SegAlign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (36 loc) · 1.48 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: cpp
os: linux
dist: bionic
before_install:
- git submodule update --init --recursive
- sudo apt update
- sudo apt-get --yes install build-essential
- sudo apt-get --yes install libboost-all-dev
- sudo apt-get --yes install zlib1g-dev
- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
- sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
- wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
- sudo dpkg -i cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
- sudo apt-key add /var/cuda-repo-10-2-local-10.2.89-440.33.01/7fa2af80.pub
- sudo apt-get update
- sudo apt-get -y install cuda
- rm cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
- CUDA_HOME=/usr/local/cuda-10.2
- LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
- PATH=${CUDA_HOME}/bin:${PATH}
- CURR=${PWD}
- cd ${CURR}/submodules/lastz/src
- make -j $(nproc)
- PATH=${CURR}/submodules/lastz/src/:${PATH}
- cd ${CURR}
compiler: nvcc
before_script:
- mkdir ${CURR}/build
- cd ${CURR}/build
- cmake -DCMAKE_BUILD_TYPE=Release -DTBB_ROOT=${PWD}/../submodules/TBB -DCMAKE_PREFIX_PATH=${PWD}/../submodules/TBB/cmake ..
- make -j $(nproc)
- PATH=${CURR}/build/:${PATH}
- PATH=${CURR}/scripts/:${PATH}
script:
- run_segalign --help
- segalign_repeat_masker --help