Closed UnixJunkie closed 6 years ago
@hsiaoyi0504 any idea why the CI tests are failing on this?
@UnixJunkie sorry, I don't have any idea. It looks that just make -j 2
not work. Can you point me where you see this option for rdkit ?
I saw that rdkit compiles using a single core on my Mac. Instead, I would like it to use all available cores instead (because it takes ages to compile the whole rdkit).
Weird, I would expect this to work fine.
Looking at other formulas, there are a variety of ways it is specified: https://github.com/Homebrew/homebrew-core/search?utf8=%E2%9C%93&q=system+make+ENV.make_jobs&type=
Maybe try without the space:
system "make", "-j#{ENV.make_jobs}"
or
system "make", "--jobs=#{ENV.make_jobs}"
Another weird thing, I test this using @mcs07 suggestion, but it looks like the make
become even slower and can't pass the test https://travis-ci.org/hsiaoyi0504/homebrew-rdkit/jobs/327720427.
thanks for the proposals. I am trying without the space.
@UnixJunkie it looks like the update method working now. Can you squash the commits together? I think the few trying stuffs are not so important to be included into the git history.
please merge this PR, thanks.
I think this can be closed now. @UnixJunkie I just open a new pull request #51 where I squash the commits together as single commit and you are still the original commiting author to the changes. :)
Ok, sorry for the squash thing. Github allows to merge by squashing commits at the same time I think.
use make -j nprocs instead of make