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

Update mpich2 to use the cross compilation toolchain. #129

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion mpich2/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

./configure --enable-shared --prefix=$PREFIX
./configure --enable-shared --prefix=$PREFIX "F77=$FC" "FCFLAGS=$FFLAGS"
make
make install

Expand Down
15 changes: 12 additions & 3 deletions mpich2/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
# This is legacy recipe, which has not been tested using conda-build.
# See: https://github.com/ContinuumIO/anaconda-recipes/blob/master/LEGACY.md

package:
name: mpich2
version: 1.4.1p1

source:
fn: mpich2-1.4.1p1.tar.gz
md5: b470666749bcb4a0449a072a18e2c204
url: http://www.mpich.org/static/downloads/1.4.1p1/mpich2-1.4.1p1.tar.gz

build:
detect_binary_files_with_prefix : True
number: 1

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}
- libgcc-ng

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You do not need to identify libgcc-ng as a requirements/build.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently if I do not do this I see an error about not being able to find -lquadmath. conda-build doesn't automatically install libgcc-ng. I've just added a comment about this in the yaml file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does automatically install libstdc++-ng and libgfortran-ng though.


about:
home: http://www.mpich.org/
Expand Down