[152373] trunk/dports/science/octopus/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Mon Sep 5 21:24:46 PDT 2016


Revision: 152373
          https://trac.macports.org/changeset/152373
Author:   dstrubbe at macports.org
Date:     2016-09-05 21:24:46 -0700 (Mon, 05 Sep 2016)
Log Message:
-----------
octopus: Remove some logic about number of processor for test, which is now handled by the code itself.

Modified Paths:
--------------
    trunk/dports/science/octopus/Portfile

Modified: trunk/dports/science/octopus/Portfile
===================================================================
--- trunk/dports/science/octopus/Portfile	2016-09-05 19:39:00 UTC (rev 152372)
+++ trunk/dports/science/octopus/Portfile	2016-09-06 04:24:46 UTC (rev 152373)
@@ -73,19 +73,6 @@
 test.target         check
 
 pre-test {
-    # emulate some behavior from octopus development version
-    if {![catch {sysctl hw.ncpu} result]} {
-        if {[mpi_variant_isset]} {
-            set njobs [expr {$result/4}]
-        } else {
-            set njobs $result
-        }
-    } else {
-        set njobs 1
-    }
-    test.env-append OCT_TEST_NJOBS=$njobs
-    ui_msg "Running testsuite with $njobs jobs in parallel"
-
     if {[mpi_variant_isset]} {
         test.env-append MPIEXEC=${prefix}/bin/${mpi.exec}
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160905/c0396923/attachment.html>


More information about the macports-changes mailing list