Skip to content

Commit

Permalink
attempt to rely on cpanfile to simplify dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
akotlar committed Sep 18, 2024
1 parent bcd7153 commit 96de231
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions install/install-perl-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@ echo -e "\n\nInstalling Perl libraries\n"

echo "PERL ROOT IN install/install-perl-libs.sh: $PERLBREW_ROOT"

# Install multiple modules at once using cpm
cpm install -g --test Capture::Tiny Mouse Path::Tiny namespace::autoclean DDP YAML::XS JSON::XS Getopt::Long::Descriptive Types::Path::Tiny Sereal MCE::Shared List::MoreUtils Log::Fast Parallel::ForkManager Cpanel::JSON::XS Mouse::Meta::Attribute::Custom::Trait::Array Net::HTTP Math::SigFigs PerlIO::utf8_strict PerlIO::gzip MouseX::SimpleConfig MouseX::ConfigFromFile Archive::Extract DBI String::Strip File::Which Hash::Merge::Simple Module::Build::XSUtil Test::LeakTrace Test::Pod Test::Exception Log::Any::Adapter File::Copy::Recursive

# Install modules that require special handling
ALIEN_INSTALL_TYPE=share cpm install -g --test Alien::LMDB
cpm install -g --test LMDB_File
cpm install -g MouseX::Getopt # fails due to differences from expected output; unimportant
cpm install -g --test IO::FDPass
cpm install -g --test Beanstalk::Client
cpm install -g --test Sys::CpuAffinity
cpm install -g --test DBD::MariaDB

# Custom installation of Data::MessagePack
install_custom_msgpack() {
rm -rf msgpack-perl
Expand All @@ -28,3 +16,11 @@ install_custom_msgpack() {
}

install_custom_msgpack

ALIEN_INSTALL_TYPE=share cpm install -g --test Alien::LMDB
cpm install -g --test LMDB_File

# no --test option because it has a trivial failure related to formatting of cli help strings
cpm install -g MouseX::Getopt

cpm install -g --test --cpanfile ../perl/cpanfile

0 comments on commit 96de231

Please sign in to comment.