File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -60,31 +60,31 @@ install:
6060 - CUDA_REPO_PKG=cuda-repo-ubuntu1404_${CUDA_PKG_LONGVERSION}_amd64.deb
6161 - wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/$CUDA_REPO_PKG
6262 - sudo dpkg -i $CUDA_REPO_PKG
63- - rm $CUDA_REPO_PKG
63+ - rm ${ CUDA_REPO_PKG}
6464 - sudo apt-get -y update
6565 - sudo apt-get install -y --no-install-recommends cuda-core-$CUDA_PKG_VERSION cuda-cudart-dev-$CUDA_PKG_VERSION cuda-cublas-dev-$CUDA_PKG_VERSION cuda-curand-dev-$CUDA_PKG_VERSION
6666 - sudo ln -s /usr/local/cuda-${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR} /usr/local/cuda
6767
6868before_script :
6969 # Create build folder
70- - mkdir $ POPSIFT_BUILD
71- - cd $POPSIFT_BUILD
70+ - mkdir -p ${ POPSIFT_BUILD}
71+ - cd ${ POPSIFT_BUILD}
7272 # Classic release build
7373 - >
74- cmake . $POPSIFT_SOURCE -DCMAKE_INSTALL_PREFIX=$POPSIFT_INSTALL
74+ cmake . ${ POPSIFT_SOURCE} -DCMAKE_INSTALL_PREFIX=${ POPSIFT_INSTALL}
7575
7676script :
7777# limit GCC builds to a reduced number of thread for the virtual machine
7878 - make install -j 2 VERBOSE=1
7979# Perform unit tests
8080 # - make test
8181# Perform tests building application with PopSift as 3rd party
82- - cd $POPSIFT_APP_SRC
83- - mkdir POPSIFT_APP_BUILD
84- - cd POPSIFT_APP_BUILD
85- - cmake .. -DPopSift_DIR=$POPSIFT_INSTALL/lib/cmake/PopSift/ -DCMAKE_INSTALL_PREFIX=$POPSIFT_APP_INSTALL
82+ - cd ${ POPSIFT_APP_SRC}
83+ - mkdir -p ${ POPSIFT_APP_BUILD}
84+ - cd ${ POPSIFT_APP_BUILD}
85+ - cmake .. -DPopSift_DIR=${ POPSIFT_INSTALL} /lib/cmake/PopSift/ -DCMAKE_INSTALL_PREFIX=${ POPSIFT_APP_INSTALL}
8686 - make install -j 2 VERBOSE=1
8787
8888cache :
8989 directories :
90- - $CMAKE_INSTALL
90+ - ${ CMAKE_INSTALL}
You can’t perform that action at this time.
0 commit comments