Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m4rie: init at 20150908 #38797

Merged
merged 1 commit into from Apr 14, 2018
Merged

m4rie: init at 20150908 #38797

merged 1 commit into from Apr 14, 2018

Conversation

timokau
Copy link
Member

@timokau timokau commented Apr 11, 2018

Motivation for this change

This depends on #38762, do not merge before that.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

homepage = http://m4ri.sagemath.org/;
description = "Library for matrix multiplication, reduction and inversion over GF(2)";
longDescription = ''
M4RIE is a library for fast arithmetic with dense matrices over small finite fields of even characteristic. It uses the M4RI library, implementing the same operations over the finite field F2.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line break

];

meta = with stdenv.lib; {
homepage = http://m4ri.sagemath.org/;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

down

longDescription = ''
M4RIE is a library for fast arithmetic with dense matrices over small finite fields of even characteristic. It uses the M4RI library, implementing the same operations over the finite field F2.
'';
license = with licenses; [ gpl2 ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

licenses.gpl2Plus

'';
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ timokau ];
platforms = platforms.all;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

platforms.linux

homepage = https://malb.bitbucket.io/m4rie/;
description = "Library for matrix multiplication, reduction and inversion over GF(2^k) for 2 <= k <= 10";
longDescription = ''
M4RIE is a library for fast arithmetic with dense matrices over small finite fields of even characteristic.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm always suprised of the complicated names mathematicians use: the only even characteristic a field can have is 2 :D

@dotlambda
Copy link
Member

@GrahamcOfBorg build m4rie

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: m4rie

Partial log (click to expand)

make[2]: Leaving directory '/tmp/nix-build-m4rie-20150908.drv-0/source/tests'
make[1]: Leaving directory '/tmp/nix-build-m4rie-20150908.drv-0/source/tests'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/8hbgzaa448f1n2bml2wxl04a98h7ggn6-m4rie-20150908
shrinking /nix/store/8hbgzaa448f1n2bml2wxl04a98h7ggn6-m4rie-20150908/lib/libm4rie-0.0.20150908.so
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8hbgzaa448f1n2bml2wxl04a98h7ggn6-m4rie-20150908/lib
patching script interpreter paths in /nix/store/8hbgzaa448f1n2bml2wxl04a98h7ggn6-m4rie-20150908
checking for references to /tmp/nix-build-m4rie-20150908.drv-0 in /nix/store/8hbgzaa448f1n2bml2wxl04a98h7ggn6-m4rie-20150908...
/nix/store/8hbgzaa448f1n2bml2wxl04a98h7ggn6-m4rie-20150908

sha256 = "0r8lv46qx5mkz5kp3ay2jnsp0mbhlqr5z2z220wdk73wdshcznss";
};

doCheck = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe

doInstallCheck = true;

would be a better option?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no install tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
installcheck flags: SHELL=/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash installcheck
Making installcheck in .
make[1]: Entering directory '/tmp/nix-build-m4rie-20150908.drv-0/source'
make[1]: Nothing to be done for 'installcheck-am'.
make[1]: Leaving directory '/tmp/nix-build-m4rie-20150908.drv-0/source'
Making installcheck in tests
make[1]: Entering directory '/tmp/nix-build-m4rie-20150908.drv-0/source/tests'
make[1]: Nothing to be done for 'installcheck'.
make[1]: Leaving directory '/tmp/nix-build-m4rie-20150908.drv-0/source/tests'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe that's because make check has already been run, but it shouldn't. Let's stay with make check then.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: m4rie

Partial log (click to expand)

make[2]: Leaving directory '/build/source/tests'
make[1]: Leaving directory '/build/source/tests'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/snqqszd80cyg0p8zydm2dd4q7drmvg1w-m4rie-20150908
shrinking /nix/store/snqqszd80cyg0p8zydm2dd4q7drmvg1w-m4rie-20150908/lib/libm4rie-0.0.20150908.so
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/snqqszd80cyg0p8zydm2dd4q7drmvg1w-m4rie-20150908/lib
patching script interpreter paths in /nix/store/snqqszd80cyg0p8zydm2dd4q7drmvg1w-m4rie-20150908
checking for references to /build in /nix/store/snqqszd80cyg0p8zydm2dd4q7drmvg1w-m4rie-20150908...
/nix/store/snqqszd80cyg0p8zydm2dd4q7drmvg1w-m4rie-20150908

@dotlambda dotlambda merged commit 2152819 into NixOS:master Apr 14, 2018
@timokau timokau deleted the m4rie-init branch April 14, 2018 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants