1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Source package provided by upstream contains embedded Boost source code,
needed to build PyOpenCL under Microsoft Windows and Mac OS X. I have
decided to write get-orig-source rule in debian/rules instead of
repackaging upstream source.
debian/rules get-orig-source retrieves all the source files needed to
build PyOpenCL from git repositories and builds pyopencl_*.orig.tar.gz.
get-orig-source downloads both PyOpenCL and compyte; compyte is managed
as PyOpenCL submodule in git and contains code for managing GPU-based
arrays common for PyCUDA and PyOpenCL.
get-orig-source behaviour is governed by following variables, defined
in debian/make
* GIT_URL - git repository from which to download source
* GIT_SUBMODULES - list of git submodules to download; upstream repository
contains two submodules (boost and compyte) and get-orig-source
retrieves on of them (compyte)
* GIT_REVISION - git revision to retrieve; you can change it to get
different revision, for example for debugging purposes.
|