#
#  OMPi OpenMP Compiler
#  == Copyright since 2001 the OMPi Team
#  == Dept. of Computer Science & Engineering, University of Ioannina
#
# This file is part of OMPi.
#
# OMPi is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# OMPi is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OMPi; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# This file must be processed by meson

#---------------------------
# OMPi configuration options
#---------------------------

option('ext', type : 'boolean', value : false)
option('portable', type : 'boolean', value : false)
option('static', type : 'boolean', value : false)
option('ortlib', type : 'array', value : [ 'pthreads' ])
option('defaultlib', type : 'boolean', value : true)
option('modules', type : 'array', value : [ 'tryall' ] )
option('cuda-jit', type : 'boolean', value : true)
option('mpi', type : 'boolean', value : false)
option('kernel-bundling', type : 'combo', choices : ['auto', 'true', 'false'], value : 'auto')

# Remote offloading-related
option('remote-offloading', type : 'boolean', value : false)
option('defaultcommlib', type : 'boolean', value : true)
option('commlib', type : 'array', value : [ 'mpi' ])
option('roff-options', type : 'array', value : [ 'noopts' ])
option('roff-worker-address', type : 'string', value : '')
