Ticket #249 (closed defect: fixed)
build overhead
| Reported by: | nicdumz | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.13 |
| Component: | Build System | Keywords: | |
| Cc: | nicdumz@… |
Description
python setup.py build --no-cython-compile python setup.py build --no-cython-compile
Works as expected. The module is built only once
But
python setup.py build python setup.py build
Builds twice all the C-extensions, and compiles twice the generated .c
1) all C-extensions are being compiled using the python-only compiler before calling setup() 2) Because of #1, at every use of setup.py, new .c files are generated 3) An because those .c are new, build_ext will call at each run a C compiler on those .c
That's a lot of unnecessary overhead! It is also problematic for users that build and install separately, doing the latter operation as root.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

