summaryrefslogtreecommitdiff
path: root/sextractor
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2018-02-14 16:04:22 -0500
committerGitHub <noreply@github.com>2018-02-14 16:04:22 -0500
commit000f9fe943522e54fcfd0910711bfdbde8785e3b (patch)
treebc1fe80a8a74668743a3b6c8cef29733debe621a /sextractor
parentb42445476e8dafef90f7190a9fbf20ef94c1ba78 (diff)
downloadastroconda-contrib-000f9fe943522e54fcfd0910711bfdbde8785e3b.tar.gz
Next (#292)
* Strip x.x selectors * Assign build-time python lock * Minimal build matrix * Numpy locking * Force -m64 on darwin * ds9: add md5 hash * stsci: Remove build section * Replace python calls with env variable; Strip redundant exit conditions * Remove dead packages * sextractor: Use Intel MKL * Use autotools whatever the platform; Switch URL to github mirror (astromatic is too slow) * Force linkage against Intel OpenMP Signed-off-by: Joseph Hunkeler <jhunkeler@gmail.com> * Add version guard template * Remove dead sextractor package * Bump all build revisions * Remove recipes that exist in defaults or no longer serve a purpose * Fixup mosviz requirements * Remove purge_path usage * Remove glue* recipes (favor defaults channel) * Remove pydrizzle * Replace glueviz requirement with glue-core * Remove pytools * Remove pytools dependency * Adjust specviz requirements * pyregion moved to astropy org * Fix d2to1 dependency * Remove d2to1 pip calls * Remove deprecated stsci_sphinx_theme
Diffstat (limited to 'sextractor')
-rw-r--r--sextractor/build.sh25
-rw-r--r--sextractor/meta.yaml20
2 files changed, 20 insertions, 25 deletions
diff --git a/sextractor/build.sh b/sextractor/build.sh
index 4a7f951..3c1302d 100644
--- a/sextractor/build.sh
+++ b/sextractor/build.sh
@@ -1,28 +1,11 @@
-export ATLAS="$PREFIX"
-OPTIONS=
-case $(uname) in
- Linux)
- OPTIONS="--with-atlas-libdir=$ATLAS/lib --with-atlas-incdir=$ATLAS/include"
- ;;
-
- Darwin)
- curl https://gist.githubusercontent.com/mwcraig/ae66eadcd0f266e7138f/raw/f4625508784e75c7b3ce11d8a578589425533282/acx_accelerate.m4.diff | patch -p1 -i -
- curl https://gist.githubusercontent.com/mwcraig/4f61431f177b6cc0085a/raw/bf4d29a7a51ccec1ef224006fd10ac260a31c37c/configure.ac.diff | patch -p1 -i -
- curl https://gist.githubusercontent.com/mwcraig/b423656698987b6bc492/raw/f23c4b50d972de4e7902fe3d4fa1363400a98f8f/pattern.c.diff | patch -p1 -i -
-
- OPTIONS="--enable-accelerate"
- autoconf
- autoheader
- ;;
-
- *)
- ;;
-esac
+rm -rf aclocal.m4 autom4te.cache
+libtoolize -f -i
+autoreconf -i
./configure --prefix=$PREFIX \
--with-fftw-libdir=$PREFIX/lib \
--with-fftw-incdir=$PREFIX/include \
${OPTIONS}
-make -j ${CPU_COUNT}
+make -j ${CPU_COUNT} LDFLAGS=-liomp5
make install
diff --git a/sextractor/meta.yaml b/sextractor/meta.yaml
index d8fa4ed..3883c1d 100644
--- a/sextractor/meta.yaml
+++ b/sextractor/meta.yaml
@@ -1,5 +1,8 @@
{% set name = 'sextractor' %}
{% set version = '2.19.5' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
about:
home: http://www.astromatic.net/download/{{ name }}
@@ -17,15 +20,24 @@ package:
requirements:
build:
- - atlas-generic [linux]
- - autoconf [osx]
- - m4 [osx]
+ - autoconf
+ - automake
- fftw
+ - gcc
+ - libtool
+ - m4
+ - mkl-devel
- pkgconfig
+
run:
- atlas-generic [linux]
- fftw
source:
fn: {{ name }}-{{ version }}.tar.gz
- url: http://www.astromatic.net/download/sextractor/{{ name }}-{{ version }}.tar.gz
+ url: https://github.com/astromatic/sextractor/archive/{{ version }}.tar.gz
+ md5: 8b5d957c80d93396503a8bf6698f000a
+
+test:
+ commands:
+ - sex --help