Alien-SIMDe
view release on metacpan or search on metacpan
NAME
Alien::SIMDe - Find or build the SIMDe library
VERSION
version 0.01
SYNOPSIS
use Alien::SIMDe;
my $include_dir = Alien::SIMDe->cflags;
Install the SIMDe portable intrinsics header only library.
DESCRIPTION
This module provides access to the SIMDe (SIMD Everywhere) library,
which offers portable implementations of SIMD intrinsics across various
architectures.
SEE ALSO
SIMDe <https://github.com/simd-everywhere/simde>
# Set runtime properties for client code
gather sub {
my ($build) = @_;
my $prefix = $build->runtime_prop->{prefix};
# Set include and library paths
my $include_dir = path( $prefix, 'include' )->stringify;
my $lib_dir = path( $prefix, 'lib' )->stringify;
# Set compiler flags
$build->runtime_prop->{cflags} = "-I$include_dir";
# Store raw paths
$build->runtime_prop->{include_dir} = $include_dir;
# Print confirmation
print "Alien::SIMDe configured with:\n";
print " cflags: ", $build->runtime_prop->{cflags}, "\n";
print " include_dir: ", $build->runtime_prop->{include_dir}, "\n";
};
# Run tests after installation
=pod
test sub {
my ($build) = @_;
my $lib_dir = path( $build->install_prop->{stage}, 'lib' );
lib/Alien/SIMDe.pm view on Meta::CPAN
Alien::SIMDe - Find or build the SIMDe library
=head1 VERSION
version 0.01
=head1 SYNOPSIS
use Alien::SIMDe;
my $include_dir = Alien::SIMDe->cflags;
Install the SIMDe portable intrinsics header only library.
=head1 DESCRIPTION
This module provides access to the SIMDe (SIMD Everywhere) library, which
offers portable implementations of SIMD intrinsics across various architectures.
=head1 SEE ALSO
( run in 2.596 seconds using v1.01-cache-2.11-cpan-140bd7fdf52 )