#12 Open

Enable parallel compilation.

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update default
hg pull -r default https://bitbucket.org/echlebek_/orange
hg merge 61a16035ef7a
hg commit -m 'Merged in echlebek_/orange (pull request #12)'
  1. Eric Chlebek

I've modified setup.py to use parallel compilation, as described here: http://stackoverflow.com/questions/11013851/speeding-up-build-process-with-distutils

On my test system, the build succeeds, and saves quite a bit of time.

Comments (2)

  1. Anze Staric

    Hi Eric, thank you for the patch. We have also noticed that the builds are slow, when we set up out test server (ci.biolab.si). We solved this by using ccache (http://ccache.samba.org/), which is suggested in the same StackOverflow answer.

    The monkeypatch is recommended "Since you have a single extension, ... (they are independent)". Orange builds multiple extensions (orange, orangene, orangeom, statc, corn), with dependencies among them. The parallelisation code looks quite simple, and does not care about the possible dependencies, which might result in random build failures, if the files would be built in the wrong order. I might be wrong and am willing to discuss this, but at the moment I am more inclined towards declining this pull request.