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 QD (C++/Fortran quad-double) #2408

Merged
merged 10 commits into from
May 2, 2017
Merged

add QD (C++/Fortran quad-double) #2408

merged 10 commits into from
May 2, 2017

Conversation

grlee77
Copy link
Member

@grlee77 grlee77 commented Feb 11, 2017

a C++/Fortran-90 double-double and quad-double package

This is an optional dependency of Elemental (not yet packaged on conda-forge)

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/qd) and found some lint.

Here's what I've got...

For recipes/qd:

  • The recipe license should not include the word "License".

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/qd) and found it was in an excellent condition.

- toolchain
- gcc
run:
- libgcc
Copy link
Member

Choose a reason for hiding this comment

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

you only need libgfortran right?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is apparently also linking to libquadmath which I believe is included with libgcc?

Copy link
Member

Choose a reason for hiding this comment

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

Ah. Didn't know that. @conda-forge/core can somebody review this?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah for libquadmath one needs libgcc. Also we need to use gcc on all platforms then.

Copy link
Member

Choose a reason for hiding this comment

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

How does that work? gcc is 4.8.3 and libgcc is 5.2.0 in the defaults channel.

Copy link
Member

Choose a reason for hiding this comment

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

4.8.5 I think, but yes they are different.

IIUC libgcc 5 is backwards compatible with libgcc 4. The biggest changes for gcc were for C++11 support, but they provided both the old and new symbols in the new libgcc.

So not something we should need to worry about.

Copy link
Member

Choose a reason for hiding this comment

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

@isuruf
Copy link
Member

isuruf commented Apr 19, 2017

Closing and reopening to trigger travis-ci

@isuruf isuruf closed this Apr 19, 2017
@isuruf isuruf reopened this Apr 19, 2017
- test -f ${PREFIX}/lib/libqd.a
- test -f ${PREFIX}/lib/libqdmod.a
- test -f ${PREFIX}/lib/libqd_f_main.a
- test -f ${PREFIX}/bin/qd-config
Copy link
Member

Choose a reason for hiding this comment

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

Any reason not to run this program?

- test -d ${PREFIX}/include/qd
- test -f ${PREFIX}/lib/libqd.a
- test -f ${PREFIX}/lib/libqdmod.a
- test -f ${PREFIX}/lib/libqd_f_main.a
Copy link
Member

Choose a reason for hiding this comment

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

Are there sos and dylibs that we can check for?


build:
skip: true # [win]
number: 3
Copy link
Member

Choose a reason for hiding this comment

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

Can you change this to 0

if [[ `uname` == 'Darwin' ]]; then
# make check below fails on osx unless $PREFIX/lib is added to rpath
LDFLAGS="$LDFLAGS -Wl,-rpath,${PREFIX}/lib" ./configure
LDFLAGS="$LDFLAGS -Wl,-rpath,${PREFIX}/lib" ./configure ${config_args}
Copy link
Member

Choose a reason for hiding this comment

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

I think this is needed for Linux as well.

@isuruf
Copy link
Member

isuruf commented Apr 30, 2017

@grlee77, I've pushed some changes. Hope you don't mind.

@grlee77
Copy link
Member Author

grlee77 commented May 1, 2017

LGTM. Thanks @isuruf!

@isuruf isuruf merged commit 3a00d78 into conda-forge:master May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants