/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: 2013-06-14 15:30:33 UTC
  • Revision ID: csa@dside.dyndns.org-20130614153033-t9b56hr4jdkd3ul8
Placeholders for DFI implementation

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_cpu/hst_cpu.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", "dfi_cuda/dfi_cuda.h", "hst_opencl/hst_opencl.h" ];
24
24
header = headers + glob (os.path.join ("Include/Numeric","*.h") ) 
25
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", "hw_tools.c"]
26
26
 
101
101
del(sys.argv[define_arg:define_arg+2])
102
102
 
103
103
if cuda_build:
104
 
    libdirs += ["hst_cuda"]
105
 
    libs += ["hst_cuda"]
 
104
    libdirs += ["hst_cuda", "dfi_cuda"]
 
105
    libs += ["hst_cuda", "dfi_cuda"]
106
106
 
107
107
if opencl_build:
108
108
    libdirs += ["hst_opencl"]