-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi. I tested the latest GitHub commit of Math::Prime::Util
on a 32-bit Android phone, using the Termux environment and the clang
compiler.
Unfortunately, some tests failed:
Here are the versions of the dependencies:
Perl version is 5.34.1:
The library can be installed, by ignoring the tests, but some functions will produce incorrect results:
Steps to reproduce the issue:
- get a 32-bit Android phone
- install Termux from F-Droid
- run the following commands:
pkg up
pkg install perl make clang libgmp curl
cpan App::cpanminus
cpanm -v https://github.com/danaj/Math-Prime-Util-GMP/archive/refs/heads/master.zip
cpanm -v https://github.com/danaj/Math-Prime-Util/archive/refs/heads/master.zip
Alternative commands, using git
instead of cpanm
(and also without installing Math::Prime::Util::GMP
):
pkg up
pkg install perl make clang git
git clone --depth=1 https://github.com/danaj/Math-Prime-Util
cd Math-Prime-Util
perl Makefile.PL
make test
Metadata
Metadata
Assignees
Labels
No labels