/tomo/pyhst

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/pyhst

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Suren A. Chilingaryan
  • Date: 2011-02-09 16:46:23 UTC
  • Revision ID: csa@dside.dyndns.org-20110209164623-euzlyp4a6eh15iqg
Separate CPU code into the hst_cpu

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
      output.append(x)
21
21
  return output
22
22
 
23
 
headers = glob (os.path.join ("*.h") ) + [ "hst_cuda/hst_cuda.h", "hst_opencl/hst_opencl.h" ];
 
23
headers = glob (os.path.join ("*.h") ) + [ "hst_cpu/hst_cpu.h", "hst_cuda/hst_cuda.h", "hst_opencl/hst_opencl.h" ];
24
24
header = headers + glob (os.path.join ("Include/Numeric","*.h") ) 
25
 
objects = ['PyHST_c.c',"Vhst_fourier.c","Vhst_calculate_limits.c", "cpumain.c", "hst.c", "hst_setup.c", "hst_reconstructor.c", "hst_cpu.c", "debug.c", "hw_sched.c", "hw_thread.c"]
 
25
objects = ['PyHST_c.c',"Vhst_calculate_limits.c", "hst.c", "hst_setup.c", "hst_reconstructor.c", "debug.c", "hw_sched.c", "hw_thread.c"]
26
26
 
27
27
if hasattr(build_config, 'CFLAGS'):
28
28
    os.environ["CFLAGS"]=build_config.CFLAGS