NAME

Alien::OpenMP::configure - Install time configuration helper

SYNOPSIS

# alienfile
use Alien::OpenMP::configure;

if (!Alien::OpenMP::configure->is_known) {
  Alien::OpenMP::configure->unsupported(__PACKAGE__);
  exit;
}

plugin 'Probe::CBuilder' => (
  cflags  => Alien::OpenMP::configure->cflags,
  libs    => Alien::OpenMP::configure->libs,
  ...
);

DESCRIPTION

Alien::OpenMP::configure is storage for the compiler flags required for multiple compilers on multiple systems and an attempt to intelligently support them.

This module is designed to be used by the Alien::OpenMP::configure authors and contributors, rather than end users.

METHODS

Alien::OpenMP::configure implements the following methods.

cflags

Obtain the compiler flags for the compiler and architecture suitable for passing as cflags to Alien::Build::Plugin::Probe::CBuilder.

is_known

Return a Boolean to indicate whether the compiler is known to this module.

lddlflags

A synonym for "libs".

libs

Obtain the compiler flags for the compiler and architecture suitable for passing as libs to Alien::Build::Plugin::Probe::CBuilder.

unsupported

Report using Alien::Build::Log or warn that the compiler/architecture combination is unsupported and provide minimal notes on any solutions. There is little to no guarding of the actual state of support in this function.