Acme::Alien::__cpu_model - Provides the __cpu_model symbol
use ExtUtils::MakeMaker; WriteMakefile( # ... LIBS => Acme::Alien::__cpu_model->libs, );
Older GCCs, and some recent Clangs, like my Apple LLVM 8.0.0 (clang-800.0.42.1), lack the __cpu_model builtin, which some libraries like GLFW depend on.
__cpu_model
This package provides a useless definition, that allows packages using GLFW on such a system to link. As long you don't use any function, that depends on the exact value of __cpu_model, all should be well.
const struct __processor_model { unsigned int __cpu_vendor; unsigned int __cpu_type; unsigned int __cpu_subtype; unsigned int __cpu_features[1]; } __cpu_model;
An archive is created with a single (non-COMMON) __cpu_model symbol
http://github.com/athreef/Alien-__cpu_model
Graphics::Raylib::XS for a package that depends on it to build correctly on some systems.
Ahmad Fatoum <athreef@cpan.org>, http://a3f.at
<athreef@cpan.org>
Copyright (C) 2017 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
=back without =over
To install Acme::Alien::__cpu_model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Alien::__cpu_model
CPAN shell
perl -MCPAN -e shell install Acme::Alien::__cpu_model
For more information on module installation, please visit the detailed CPAN module installation guide.