Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add smtk #994

Open
wants to merge 3 commits into
base: stable/proteus
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/proteus.darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ packages:
netcdf4:
netcdf4cpp:
python-netcdf4:
smtk:
h5py:
ode:
openblas:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/boost/boost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ dependencies:
build: [bzip2, mpi, zlib, {{build_with}}]

sources:
- key: tar.bz2:nbvp774ytlberd3zvf5zi6ppxhzkxlqd
url: http://downloads.sourceforge.net/boost/boost_1_60_0.tar.bz2
- key: tar.bz2:tad2lulfm3cx7v2pwurhmtqlcnfixptl
url: http://downloads.sourceforge.net/boost/boost_1_65_1.tar.bz2

build_stages:
- name: bootstrap
Expand Down
4 changes: 2 additions & 2 deletions pkgs/cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ dependencies:
build: [zlib, bzip2, curl, openssl, libidn, expat, ncurses]

sources:
- key: tar.gz:zzozcyjznydfagya4uutg6brkcuhymyi
url: https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz
- key: tar.gz:r2xxlypjgikzvluyvnphjekjsvcvks7g
url: https://cmake.org/files/v3.9/cmake-3.9.3.tar.gz

build_stages:
- when: platform == 'Darwin'
Expand Down
9 changes: 0 additions & 9 deletions pkgs/doxygen/doxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,3 @@ dependencies:
sources:
- key: tar.gz:chw522awd5akqmsoig2jnhncxz67neew
url: https://github.com/doxygen/doxygen/archive/Release_1_8_13.tar.gz

#build_stages:
# - when: platform == 'Darwin'
# name: patch
# before: configure
# files: [libiconv_plug.patch]
# handler: bash
# bash: |
# patch -up1 < _hashdist/libiconv_plug.patch
13 changes: 4 additions & 9 deletions pkgs/smtk.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
extends: [cmake_package]
dependencies:
build: [boost, gdal, hdf5, netcdf4, mpi, python, remus, vtk, zmq]
build: [boost, hdf5, netcdf4, python, remus, zmq]

sources:
- url: https://gitlab.kitware.com/tjcorona/smtk.git
key: git:9c18b1d7207d17995ce260e095e7a5e9ae5f63cb
- url: https://gitlab.kitware.com/cmb/smtk.git
key: git:2c34aace226d5d2d0215f16e9cb043b49d00d7f0

defaults:
relocatable: true

build_stages:
- name: configure
extra: ['-D SMTK_ENABLE_VTK_SUPPORT:BOOL=ON',
'-D SMTK_ENABLE_DISCRETE_SESSION:BOOL=ON',
'-D SMTK_ENABLE_EXODUS_SESSION:BOOL=ON',
extra: ['-D SMTK_ENABLE_VTK_SUPPORT:BOOL=OFF',
'-D SMTK_ENABLE_MESH_SESSION:BOOL=ON',
'-D SMTK_ENABLE_POLYGON_SESSION:BOOL=ON',
'-D SMTK_ENABLE_REMOTE_SESSION:BOOL=ON',
'-D SMTK_ENABLE_REMUS_SUPPORT:BOOL=ON',
'-D SMTK_ENABLE_PYTHON_WRAPPING:BOOL=ON',
'-D SMTK_USE_PYBIND11:BOOL=ON',
'-D SMTK_USE_SYSTEM_MOAB:BOOL=OFF',
'-D ENABLE_HDF5:BOOL=ON',
'-D ENABLE_NETCDF:BOOL=ON',
'-D NETCDF_ROOT:STRING=${NETCDF4_DIR}',
'-D VTK_DIR:STRING=${VTK_DIR}',
'-D PYTHON_LIBRARY:FILEPATH=${PYTHON_DIR}/lib/libpython2.7.dylib',
'-D PYTHON_EXECUTABLE:FILEPATH=${PYTHON_DIR}/bin/python2.7',
'-D PYTHON_INCLUDE_DIR:PATH=${PYTHON_DIR}/include/python2.7',
Expand Down