1 Star 0 Fork 1

hoopoo/core

forked from 吉祥水/core 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
Cameron Smith 提交于 2020-01-22 09:02 . travis: use meshes from submodule
dist: trusty
language: cpp
compiler: gcc
sudo: true
branches:
only:
- develop
addons:
apt:
update: true
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-7
- g++-7
- mpich
- libmpich-dev
- clang
before_install:
- export DEVROOT=/home/travis/build
- test -n $CC && unset CC
- test -n $CXX && unset CXX
- pwd
- export NP=`grep -c ^processor /proc/cpuinfo`
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
- sudo update-alternatives --config gcc
- cd ${DEVROOT}
- wget https://cmake.org/files/v3.12/cmake-3.12.1.tar.gz
- tar xzf cmake-3.12.1.tar.gz
- cd ${DEVROOT}/cmake-3.12.1
- ./bootstrap
- make -j ${NP} && sudo make install
- which cmake
- cmake --version
- export PATH=/usr/local/bin:${PATH}
script:
- cd ${DEVROOT}/SCOREC/core
- mkdir -p ${DEVROOT}/SCOREC/core/build
- cd build
- cmake .. -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_INSTALL_PREFIX=${DEVROOT}/install/core -DIS_TESTING=ON -DBUILD_EXES=ON -DCMAKE_BUILD_TYPE=Release -DMESHES=${DEVROOT}/SCOREC/core/pumi-meshes
- make -j ${NP}
- ctest
- cmake .. -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_INSTALL_PREFIX=${DEVROOT}/install/core -DIS_TESTING=ON -DBUILD_EXES=ON -DCMAKE_BUILD_TYPE=Debug -DMESHES=${DEVROOT}/SCOREC/core/pumi-meshes
- make -j ${NP}
- ctest
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hoopoo/core.git
git@gitee.com:hoopoo/core.git
hoopoo
core
core
master

搜索帮助