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
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
20 changes: 0 additions & 20 deletions recipes/bzip2/bld.bat

This file was deleted.

6 changes: 0 additions & 6 deletions recipes/bzip2/build.sh

This file was deleted.

75 changes: 0 additions & 75 deletions recipes/bzip2/meta.yaml

This file was deleted.

56 changes: 0 additions & 56 deletions recipes/ldaptor/meta.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions recipes/libsakura/build.sh

This file was deleted.

48 changes: 0 additions & 48 deletions recipes/libsakura/compile-fixes.patch

This file was deleted.

45 changes: 0 additions & 45 deletions recipes/libsakura/meta.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions recipes/libsakura/osx.patch

This file was deleted.

1 change: 0 additions & 1 deletion recipes/libsakura/yum_requirements.txt

This file was deleted.

10 changes: 10 additions & 0 deletions recipes/qd/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

config_args="--enable-shared"
export LDFLAGS="$LDFLAGS -Wl,-rpath,${PREFIX}/lib"

./configure ${config_args}

make
make check
make install prefix=${PREFIX} exec_prefix=${PREFIX}
43 changes: 43 additions & 0 deletions recipes/qd/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set version = "2.3.17" %}

package:
name: qd
version: {{ version }}

source:
fn: qd-{{ version }}.tar.gz
url: http://crd.lbl.gov/~dhbailey/mpdist/qd-{{ version }}.tar.gz
sha256: c58e276f6fcf5f2f442c525f3de42ea00004734572b29c74028bbda0ad81096d

build:
skip: true # [win]
number: 0

requirements:
build:
- toolchain
- gcc # [osx]
run:
- libgfortran

test:
# make check in build.sh runs tests, these check the installation path
commands:
- 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?

- test -f ${PREFIX}/lib/libqd${SHLIB_EXT}
- test -f ${PREFIX}/bin/qd-config
- qd-config --fclibs

about:
home: http://crd-legacy.lbl.gov/~dhbailey/mpdist/
license: LBNL-BSD
license_file: COPYING
summary: A C++/Fortran-90 double-double and quad-double package

extra:
recipe-maintainers:
- grlee77
- isuruf
1 change: 1 addition & 0 deletions recipes/qd/yum_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
devtoolset-2-gcc-gfortran
22 changes: 0 additions & 22 deletions recipes/sagelib/build.sh

This file was deleted.

Loading