# Copyright 2013 Karsten Ahnert # Copyright 2013 Mario Mulansky # Copyright 2013 Pascal Germroth # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) # Only builds target with supported OpenMP enabled toolsets. # # use as: # exe omp : omp.cpp : [ openmp ] ; # rule openmp return # default no # GNU C++ gcc:-fopenmp gcc:-fopenmp gcc:yes # Microsoft Visual C++ msvc:/openmp msvc:/openmp msvc:yes # Intel C++ intel-linux:-openmp intel-linux:-openmp intel-linux:yes intel-win:-Qopenmp intel-win:-Qopenmp intel-win:yes # HP aC++ acc:+Oopenmp acc:+Oopenmp acc:yes # Sun Studio sun:-xopenmp sun:-xopenmp sun:yes # IBM XL vacpp:-qsmp=omp vacpp:-qsmp=omp vacpp:yes # PG++ pgi:-mp pgi:-mp pgi:yes # Pathscale pathscale:-mp pathscale:-mp pathscale:yes ;