Alien-LLVM
view release on metacpan or search on metacpan
plugin 'Download::GitHub' => (
github_user => 'llvm',
github_repo => 'llvm-project',
asset => 1,
asset_name => qr/llvm-project-([0-9\.]+$rc_part_qr)\.src\.tar\.xz$/,
asset_format => 'tar.xz',
);
plugin 'Build::CMake';
# TODO compare with <https://github.com/ycm-core/llvm/blob/708056a3d8259ce1d9fc0f15676d13b53cc23835/package_llvm.py#L202>.
# May need to expand to include more such as mlir and
# flang <https://github.com/llvm/llvm-project/tree/main/flang>
build [
sub {
die "Not building LLVM from source at this time as this takes too long."
if $ENV{AUTOMATED_TESTING} || $ENV{CI};
},
['%{cmake}',
@{ meta->prop->{plugin_build_cmake}->{args} },
'-DCMAKE_BUILD_TYPE=Release',
# Build just these projects for now. Need to see if more should be the default.
( run in 0.920 second using v1.01-cache-2.11-cpan-5b529ec07f3 )