diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2018-08-09 11:10:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 11:10:15 -0400 |
commit | 6a4484790fefb15b48a11b9640590196e45caaa5 (patch) | |
tree | e4ed9f3fc5f024ca3170416bc8917cb6ab5d164d /hstcal | |
parent | 44c0e17a1740262e17a9f377a2ba7301f2cf093b (diff) | |
download | astroconda-contrib-6a4484790fefb15b48a11b9640590196e45caaa5.tar.gz |
Cfitsio disable cURL (#385)
* Bump build number for affected recipes
Diffstat (limited to 'hstcal')
-rw-r--r-- | hstcal/build.sh | 9 | ||||
-rw-r--r-- | hstcal/meta.yaml | 16 |
2 files changed, 18 insertions, 7 deletions
diff --git a/hstcal/build.sh b/hstcal/build.sh index 4845293..a9727f0 100644 --- a/hstcal/build.sh +++ b/hstcal/build.sh @@ -1,10 +1,11 @@ if [[ `uname` == Darwin ]]; then export CC=`which gcc` - export DARWIN_FLAGS='-m64' - export CFLAGS="$CFLAGS $DARWIN_FLAGS" - export LDFLAGS="$LDFLAGS $DARWIN_FLAGS" + if [[ `uname -m` == x86_64 ]]; then + export CFLAGS="$CFLAGS -m64" + export LDFLAGS="$LDFLAGS -m64" + fi fi -./waf configure --prefix=$PREFIX +./waf configure --prefix=$PREFIX --release-with-symbols ./waf build ./waf install diff --git a/hstcal/meta.yaml b/hstcal/meta.yaml index 26b999f..b6189ca 100644 --- a/hstcal/meta.yaml +++ b/hstcal/meta.yaml @@ -1,6 +1,6 @@ {% set name = 'hstcal' %} {% set version = '2.0.0' %} -{% set number = '0' %} +{% set number = '1' %} about: home: https://github.com/spacetelescope/{{ name }} @@ -16,10 +16,20 @@ package: requirements: build: - - gcc >=4.6 [osx] + - cfitsio >=3.440 + - pkg-config + - gcc >=4.7 + run: - - libgcc >=4.6 [osx] + - cfitsio + - libgcc >=4.7 source: git_tag: {{ version }} git_url: https://github.com/spacetelescope/{{ name }}.git + +test: + commands: + - calacs.e --gitinfo + - otool -L $(which calacs.e) [osx] + - ldd $(which calacs.e) [linux] |