From: Hans Johnson Date: Wed, 27 Jul 2016 13:56:45 +0000 (-0500) Subject: ENH: Fix travis build pathing X-Git-Tag: accepted/tizen/5.0/unified/20181102.024111~151^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44ef9da070628a2ff7bf63afca60d0ebe0ed7875;p=platform%2Fupstream%2Flapack.git ENH: Fix travis build pathing The travis builds were attempting to be done inside the source tree. This is generally considered bad form since it is possible for dynamically created files to overwrite static files, and because the files manages by git should not be confouded with build files. --- diff --git a/.travis.yml b/.travis.yml index 97b8026..d1b3cc6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,14 @@ os: - osx script: - - cmake -DCMAKE_INSTALL_PREFIX=~/.local -DLAPACKE=ON -DCBLAS=ON . + - export SRC_DIR=$(pwd) + - export BLD_DIR=${SRC_DIR}/../lapack-travis-bld + - export INST_DIR=${SRC_DIR}/../lapack-travis-install + - mkdir -p ${BLD_DIR} + - cd ${BLD_DIR} +# See issue #17 on github dashboard. Once resolved, use -DCBLAS=ON +# - cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} -DLAPACKE=ON ${SRC_DIR} + - cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} -DLAPACKE=ON ${SRC_DIR} - ctest -D ExperimentalStart - ctest -D ExperimentalConfigure - ctest -D ExperimentalBuild -j2