| 216 | variant openmp description {Enable OpenMP support to speed up operations on SMP machines} { |
| 217 | configure.compiler macports-gcc-4.3 |
| 218 | depends_lib-append port:gcc43 |
| 219 | } |
| 220 | |
| 221 | post-install { |
| 222 | if { [variant_isset openmp] } { |
| 223 | ui_msg "******************************************************" |
| 224 | ui_msg "* In order to use OpenMP make sure to set the environment variable" |
| 225 | ui_msg "* OMP_NUM_THREADS" |
| 226 | ui_msg "* to the number of CPUs/cores available in your machine." |
| 227 | ui_msg "******************************************************" |
| 228 | } |
| 229 | } |
| 230 | |