python3: parallelize quicktest
This commit is contained in:
parent
6c2880dc6f
commit
5eb9f5922b
1 changed files with 8 additions and 6 deletions
|
@ -192,13 +192,15 @@ class Python3 < Formula
|
|||
system "./configure", *args
|
||||
|
||||
system "make"
|
||||
if build.with?("quicktest")
|
||||
system "make", "quicktest", "TESTPYTHONOPTS=-s", "TESTOPTS=-j#{ENV.make_jobs} -w"
|
||||
end
|
||||
|
||||
ENV.deparallelize # Installs must be serialized
|
||||
# Tell Python not to install into /Applications (default for framework builds)
|
||||
system "make", "install", "PYTHONAPPSDIR=#{prefix}"
|
||||
# Demos and Tools
|
||||
system "make", "frameworkinstallextras", "PYTHONAPPSDIR=#{pkgshare}"
|
||||
system "make", "quicktest" if build.with? "quicktest"
|
||||
ENV.deparallelize do
|
||||
# Tell Python not to install into /Applications (default for framework builds)
|
||||
system "make", "install", "PYTHONAPPSDIR=#{prefix}"
|
||||
system "make", "frameworkinstallextras", "PYTHONAPPSDIR=#{pkgshare}"
|
||||
end
|
||||
|
||||
# Any .app get a " 3" attached, so it does not conflict with python 2.x.
|
||||
Dir.glob("#{prefix}/*.app") { |app| mv app, app.sub(/\.app$/, " 3.app") }
|
||||
|
|
Loading…
Reference in a new issue