Commit 876aa258 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

last healpy

parent 9cef3e5c
......@@ -6,7 +6,7 @@ out = 'build'
def set_options(ctx):
ctx.add_option('--healpix_target', action='store', default='spherelib', help='healpix configuration')
ctx.add_option('--healpix_target', action='store', default='healpy', help='healpix configuration')
ctx.add_option('--cfitsio_prefix', action='store', default='/usr', help='cfitsio location')
ctx.add_option('--with_gsl', action='store', default='', help='location of gsl')
ctx.add_option('--with_fftw3', action='store', default='', help='location of fftw3')
......@@ -50,11 +50,13 @@ def build_healpix(bld):
import os
import Options
target=bld.env["HEALPIX_TARGET"]
os.environ['HEALPIX_TARGET'] = target
cfitsio = str(Options.options.cfitsio_prefix)
compil_result = os.system('cd ../healpix && '
'HEALPIX_TARGET=%s CFITSIO_EXT_PREFIX=%s make '%(target,cfitsio))
compil_result = os.system('cd ../healpix && make ')
if compil_result != 0:
raise Exception('Error while compiling healpix_cxx')
def build(bld):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment