Skip to content

Commit

Permalink
Clean-Up More
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jul 1, 2019
1 parent 624fe99 commit d654b04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
3 changes: 0 additions & 3 deletions recipes/adios2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ if [[ ${target_platform} =~ osx.* ]]; then
CMAKE_PLATFORM_FLAGS+=(-DADIOS2_USE_Fortran=OFF)
CMAKE_PLATFORM_FLAGS+=(-DADIOS2_USE_BZip2=OFF)
elif [[ ${target_platform} =~ linux.* ]]; then
# link transitive libraries during build of intermediate wrapper lib
# export LDFLAGS="${LDFLAGS} -Wl,-rpath-link,${PREFIX}/lib"

CMAKE_PLATFORM_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE="${RECIPE_DIR}/cross-linux.cmake")
fi

Expand Down
11 changes: 5 additions & 6 deletions recipes/adios2/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ build:

run_exports:
# strict runtime dependency on build-time MPI flavor
- {{ name }} * {{ mpi_prefix }}_*
- {{ name }} * {{ mpi_prefix }}_*
- hdf5 * {{ mpi_prefix }}_*
# https://conda.io/docs/user-guide/tasks/build-packages/variants.html#referencing-subpackages
# in 0.X.*, newer minor versions are compatible
- {{ pin_subpackage('adios2', min_pin='x.x', max_pin='x.x') }}
Expand All @@ -59,9 +60,8 @@ requirements:
- mpi4py # [mpi != 'nompi']
- python
- numpy >=1.15.0
# missing linker symbols on Windows
- hdf5 >=1.8.13 # [mpi == 'nompi' and not win]
- hdf5 >=1.8.13 = mpi_{{ mpi }}_* # [mpi != 'nompi' and not win]
# TODO: missing linker symbols on Windows
- hdf5 >=1.8.13 = {{ mpi_prefix }}_* # [not win]
# TODO: seams broken on OSX
- zeromq >=4.1 # [not osx]
- bzip2 # [not osx]
Expand All @@ -74,8 +74,7 @@ requirements:

test:
imports:
# TODO: MPI_Init will be fixed in 2.4.0+
- adios2 # [mpi == 'nompi']
- adios2
commands:
# - python -c "import adios2; print(adios2.__version__);"
- test -f ${PREFIX}/lib/cmake/adios2/adios2-config.cmake # [unix]
Expand Down

0 comments on commit d654b04

Please sign in to comment.