[138996] trunk/dports/science/ompl/Portfile
Ryan Schmidt
ryandesign at macports.org
Mon Jul 27 19:41:04 PDT 2015
> On Jul 26, 2015, at 6:47 PM, mmoll at macports.org wrote:
>
> Revision
> 138996
> Author
> mmoll at macports.org
> Date
> 2015-07-26 16:47:09 -0700 (Sun, 26 Jul 2015)
> Log Message
>
> ompl: don't use pre-generated python bindings now that llvm-gcc42 works on OS X 10.10. The bindings may be dependent on OS X or Boost version.
> Modified: trunk/dports/science/ompl/Portfile (138995 => 138996)
> +# generate the extra C++ code needed for Python bindings. This code seems
> +# somewhat dependent on compiler and/or boost version, so we can't
> +# pre-generate them and make them available as an extra download.
> +post-configure {
> + # enable parallel build on at most 2 cores. Generating the bindings
> + # uses large amounts of memory, so don't use more cores.
> + if { ${use_parallel_build} } { set cj "-j 2" } else { set cj "" }
> + system "cd ${cmake.build_dir}; ${build.cmd} ${cj} update_bindings"
> +}
Use the -W argument of system, instead of running "cd" inside system.
system -W ${cmake.build_dir} "${build.cmd} ${cj} update_bindings"
More information about the macports-dev
mailing list