mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Updating travis variables.
This commit is contained in:
parent
45154ef21f
commit
7b18e7c791
2 changed files with 6 additions and 6 deletions
|
|
@ -35,7 +35,7 @@ env:
|
|||
- OMP=y MPI=n PHDF5=n
|
||||
- OMP=n MPI=y PHDF5=n
|
||||
- OMP=n MPI=y PHDF5=y
|
||||
- OMP=n MPI=y PHDF5=y CAD=y
|
||||
- OMP=n MPI=y PHDF5=y DAGMC=y
|
||||
notifications:
|
||||
webhooks: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN
|
||||
before_install:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ def which(program):
|
|||
return None
|
||||
|
||||
|
||||
def install(omp=False, mpi=False, phdf5=False, cad=False):
|
||||
def install(omp=False, mpi=False, phdf5=False, dagmc=False):
|
||||
# Create build directory and change to it
|
||||
shutil.rmtree('build', ignore_errors=True)
|
||||
os.mkdir('build')
|
||||
|
|
@ -49,9 +49,9 @@ def install(omp=False, mpi=False, phdf5=False, cad=False):
|
|||
else:
|
||||
cmake_cmd.append('-DHDF5_PREFER_PARALLEL=OFF')
|
||||
|
||||
if cad:
|
||||
if dagmc:
|
||||
build_dagmc()
|
||||
cmake_cmd.append('-Dcad=ON')
|
||||
cmake_cmd.append('-Ddagmc=ON')
|
||||
|
||||
# Build and install
|
||||
cmake_cmd.append('..')
|
||||
|
|
@ -132,10 +132,10 @@ def main():
|
|||
mpi = (os.environ.get('MPI') == 'y')
|
||||
phdf5 = (os.environ.get('PHDF5') == 'y')
|
||||
|
||||
cad = (os.environ.get('CAD') == 'y')
|
||||
dagmc = (os.environ.get('DAGMC') == 'y')
|
||||
|
||||
# Build and install
|
||||
install(omp, mpi, phdf5, cad)
|
||||
install(omp, mpi, phdf5, dagmc)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue