Commit 5ca3086d authored by Martin Bauer's avatar Martin Bauer
Browse files

Updated conda export scripts

parent 00570bba
...@@ -9,7 +9,7 @@ stages: ...@@ -9,7 +9,7 @@ stages:
- test - test
- deploy - deploy
############################################################################### ###############################################################################
## ## ## ##
## Build templates ## ## Build templates ##
...@@ -1589,7 +1589,7 @@ doc: ...@@ -1589,7 +1589,7 @@ doc:
- docker - docker
artifacts: artifacts:
paths: paths:
- build/doc - build/doc
expire_in: 1 weeks expire_in: 1 weeks
...@@ -1669,13 +1669,13 @@ coverage: ...@@ -1669,13 +1669,13 @@ coverage:
############################################################################### ###############################################################################
## ## ## ##
## Windows Builds ## ## Windows Builds ##
## ## ## ##
############################################################################### ###############################################################################
.win_build_template: &win_build_definition .win_build_template: &win_build_definition
tags: tags:
- win - win
...@@ -1690,8 +1690,8 @@ coverage: ...@@ -1690,8 +1690,8 @@ coverage:
- cmake -LAH -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_DOUBLE_ACCURACY=$WALBERLA_DOUBLE_ACCURACY -DWARNING_ERROR=ON -G "$CMAKE_GENERATOR" .. - cmake -LAH -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_DOUBLE_ACCURACY=$WALBERLA_DOUBLE_ACCURACY -DWARNING_ERROR=ON -G "$CMAKE_GENERATOR" ..
- MSBuild.exe walberla.sln /property:Configuration=$BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4 - MSBuild.exe walberla.sln /property:Configuration=$BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4
- ctest -LE $CTEST_EXCLUDE_LABELS -C $BUILD_CONFIGURATION --output-on-failure -j 4 - ctest -LE $CTEST_EXCLUDE_LABELS -C $BUILD_CONFIGURATION --output-on-failure -j 4
msvc-14_Hybrid_Dbg: msvc-14_Hybrid_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1704,7 +1704,7 @@ msvc-14_Hybrid_Dbg: ...@@ -1704,7 +1704,7 @@ msvc-14_Hybrid_Dbg:
except: except:
variables: variables:
- $DISABLE_PER_COMMIT_BUILDS - $DISABLE_PER_COMMIT_BUILDS
msvc-14_Hybrid_SP_Dbg: msvc-14_Hybrid_SP_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1717,7 +1717,7 @@ msvc-14_Hybrid_SP_Dbg: ...@@ -1717,7 +1717,7 @@ msvc-14_Hybrid_SP_Dbg:
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
msvc-14_Hybrid: msvc-14_Hybrid:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1730,7 +1730,7 @@ msvc-14_Hybrid: ...@@ -1730,7 +1730,7 @@ msvc-14_Hybrid:
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
msvc-14_Serial_Dbg: msvc-14_Serial_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1743,7 +1743,7 @@ msvc-14_Serial_Dbg: ...@@ -1743,7 +1743,7 @@ msvc-14_Serial_Dbg:
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
msvc-14_Serial: msvc-14_Serial:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1756,7 +1756,7 @@ msvc-14_Serial: ...@@ -1756,7 +1756,7 @@ msvc-14_Serial:
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
msvc-14_MpiOnly_Dbg: msvc-14_MpiOnly_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1769,7 +1769,7 @@ msvc-14_MpiOnly_Dbg: ...@@ -1769,7 +1769,7 @@ msvc-14_MpiOnly_Dbg:
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
msvc-14_MpiOnly: msvc-14_MpiOnly:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1782,8 +1782,8 @@ msvc-14_MpiOnly: ...@@ -1782,8 +1782,8 @@ msvc-14_MpiOnly:
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
msvc-14.1_Hybrid_Dbg: msvc-14.1_Hybrid_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1796,7 +1796,7 @@ msvc-14.1_Hybrid_Dbg: ...@@ -1796,7 +1796,7 @@ msvc-14.1_Hybrid_Dbg:
except: except:
variables: variables:
- $DISABLE_PER_COMMIT_BUILDS - $DISABLE_PER_COMMIT_BUILDS
msvc-14.1_Hybrid_SP_Dbg: msvc-14.1_Hybrid_SP_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1809,7 +1809,7 @@ msvc-14.1_Hybrid_SP_Dbg: ...@@ -1809,7 +1809,7 @@ msvc-14.1_Hybrid_SP_Dbg:
except: except:
variables: variables:
- $DISABLE_PER_COMMIT_BUILDS - $DISABLE_PER_COMMIT_BUILDS
msvc-14.1_Hybrid: msvc-14.1_Hybrid:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1822,7 +1822,7 @@ msvc-14.1_Hybrid: ...@@ -1822,7 +1822,7 @@ msvc-14.1_Hybrid:
except: except:
variables: variables:
- $DISABLE_PER_COMMIT_BUILDS - $DISABLE_PER_COMMIT_BUILDS
msvc-14.1_Serial_Dbg: msvc-14.1_Serial_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1835,7 +1835,7 @@ msvc-14.1_Serial_Dbg: ...@@ -1835,7 +1835,7 @@ msvc-14.1_Serial_Dbg:
except: except:
variables: variables:
- $DISABLE_PER_COMMIT_BUILDS - $DISABLE_PER_COMMIT_BUILDS
msvc-14.1_Serial: msvc-14.1_Serial:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1848,7 +1848,7 @@ msvc-14.1_Serial: ...@@ -1848,7 +1848,7 @@ msvc-14.1_Serial:
only: only:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
msvc-14.1_MpiOnly_Dbg: msvc-14.1_MpiOnly_Dbg:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1861,7 +1861,7 @@ msvc-14.1_MpiOnly_Dbg: ...@@ -1861,7 +1861,7 @@ msvc-14.1_MpiOnly_Dbg:
except: except:
variables: variables:
- $DISABLE_PER_COMMIT_BUILDS - $DISABLE_PER_COMMIT_BUILDS
msvc-14.1_MpiOnly: msvc-14.1_MpiOnly:
<<: *win_build_definition <<: *win_build_definition
variables: variables:
...@@ -1971,7 +1971,7 @@ mac_MpiOnly: ...@@ -1971,7 +1971,7 @@ mac_MpiOnly:
dependencies: [] dependencies: []
when: manual when: manual
only: only:
- master@walberla/walberla - master@walberla/walberla
- tags@walberla/walberla - tags@walberla/walberla
conda-py36-win: conda-py36-win:
...@@ -1980,15 +1980,15 @@ conda-py36-win: ...@@ -1980,15 +1980,15 @@ conda-py36-win:
- win - win
script: script:
- conda build --python=3.6 --user=lssfau utilities\\conda\\walberla - conda build --python=3.6 --user=lssfau utilities\\conda\\walberla
conda-py35-win: conda-py37-win:
<<: *conda_deploy_definition <<: *conda_deploy_definition
tags: tags:
- win - win
script: script:
- conda build --python=3.5 --user=lssfau utilities\\conda\\walberla - conda build --python=3.7 --user=lssfau utilities\\conda\\walberla
conda-py36-linux: conda-py37-linux:
<<: *conda_deploy_definition <<: *conda_deploy_definition
tags: tags:
- docker - docker
...@@ -1996,9 +1996,9 @@ conda-py36-linux: ...@@ -1996,9 +1996,9 @@ conda-py36-linux:
script: script:
- apt-get update - apt-get update
- apt-get install -y build-essential - apt-get install -y build-essential
- conda build --python=3.6 --user=lssfau utilities/conda/walberla - conda build --python=3.7 --user=lssfau utilities/conda/walberla
conda-py35-linux: conda-py36-linux:
<<: *conda_deploy_definition <<: *conda_deploy_definition
tags: tags:
- docker - docker
...@@ -2006,7 +2006,7 @@ conda-py35-linux: ...@@ -2006,7 +2006,7 @@ conda-py35-linux:
script: script:
- apt-get update - apt-get update
- apt-get install -y build-essential - apt-get install -y build-essential
- conda build --python=3.5 --user=lssfau utilities/conda/walberla - conda build --python=3.6 --user=lssfau utilities/conda/walberla
############################################################################### ###############################################################################
......
about:
home: www.walberla.net
license: GPLv3
summary: High Performance, Multi-physics Simulation Framework
package: package:
name: walberla name: walberla
version: {{ GIT_DESCRIBE_TAG }} version: {{ GIT_DESCRIBE_TAG }}
...@@ -34,3 +29,8 @@ source: ...@@ -34,3 +29,8 @@ source:
test: test:
imports: imports:
- waLBerla - waLBerla
about:
home: www.walberla.net
license: GPLv3
summary: High Performance, Multi-physics Simulation Framework
about:
home: www.walberla.net
license: GPLv3
summary: High Performance, Multi-physics Simulation Framework
package:
name: walberla-lbm
version: {{ GIT_DESCRIBE_TAG }}
build:
number: {{ GIT_DESCRIBE_NUMBER }}
requirements:
build:
- {{ compiler('cxx') }}
- git
- cmake
- make
host:
- python
- boost
- mpich2 [linux]
- openmesh
run:
- python >=3.6
- boost
- numpy
- mpich2 [linux]
- openmesh
source:
path: ../../..
mkdir build
cd build
cmake \
-DCMAKE_FIND_ROOT_PATH=${PREFIX} \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DWALBERLA_BUILD_WITH_PYTHON=ON \
-DWALBERLA_BUILD_WITH_PYTHON_MODULE=ON \
-DWALBERLA_BUILD_WITH_PYTHON_LBM=ON \
..
make -j ${CPU_COUNT} pythonModuleInstall
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment