desihub / specex

DESI spectrograph PSF fitting
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Fix compilation of libspecex on OS X #19

Closed tskisner closed 7 years ago

tskisner commented 7 years ago

This adds a portability header that defines functions in fenv.h that are missing on OS X. It also disables the building of the harp plugin, which we are not currently using in DESI. If we need this in the future on OS X, we should change the way that the build system gets variables from harpconfig, and also change the way the plugin is built.

This is a short term fix to allow the conda packaging of specex on OSX.

tskisner commented 7 years ago

This is actually the last remaining package on OSX for conda packages (except for redrock). So actually we have now conda packages for the full spectro pipeline :-)