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
brial: init at 1.2.3 #38794
brial: init at 1.2.3 #38794
Conversation
homepage = https://github.com/BRiAl/BRiAl; | ||
description = "Legacy version of PolyBoRi maintained by sagemath developers"; | ||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong longDescription
caa0267
to
b9a1987
Compare
I just tried to nox-review this and it failed, don't merge. |
Resolved. I had to disable the boost test framework, since thats not packaged. |
src = fetchFromGitHub { | ||
owner = "BRiAl"; | ||
repo = "BRiAl"; | ||
rev = "${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rev = version
description = "Legacy version of PolyBoRi maintained by sagemath developers"; | ||
license = with licenses; [ gpl2 ]; | ||
maintainers = with maintainers; [ timokau ]; | ||
platforms = platforms.all; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested?
meta = with stdenv.lib; { | ||
homepage = https://github.com/BRiAl/BRiAl; | ||
description = "Legacy version of PolyBoRi maintained by sagemath developers"; | ||
license = with licenses; [ gpl2 ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
]; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/BRiAl/BRiAl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inherit (src.meta) homepage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is less clear than explicitly stating it. Its just more or less a coincidence that those two are the same.
490eebf
to
18a5281
Compare
@GrahamcOfBorg build brial |
Success on x86_64-linux (full log) Attempted: brial Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: brial Partial log (click to expand)
|
There are tests in https://github.com/BRiAl/BRiAl/tree/master/tests. I'm not sure whether it makes sense to run these. |
Since this is the "legacy version of PolyBoRi maintained by sagemath developers", it should be put in the overlay. |
The tagline is wrong / confusing: brial is the new one, polybori is legacy. The github short description is "Successor to PolyBoRi". |
]; | ||
|
||
configureFlags = [ | ||
"--with-boost-unit-test-framework=no" # boost-test is not packaged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing would probably reduce the necessary maintenance effort. So if it isn't too difficult, I'd suggest packaging boost-test
and adding doCheck = true
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've done that (boost init
commit is now included in this PR).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Again, not ready for merge (I only tested the build non-sandboxed with boost-test before pushing, doesn't build when sandboxed). |
meta = with stdenv.lib; { | ||
homepage = http://boost.org/libs/test; | ||
description = "Boost.org test module"; | ||
license = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is licenses.boost
.
I'm having issues with The build fails here:
I don't know much about cmake or boost. Do you have an idea what the error might be? I pushed the update to |
@peti @wkennington (maintainers of boost): Do you have an idea what causes the build failure? Do you think its a good idea to package |
5eacbfa
to
d7ca96a
Compare
Since I don't know how to proceed and apparently nobody else does either I reverted the |
}; | ||
|
||
configureFlags = [ | ||
"--with-boost-unit-test-framework=no" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to add
# FIXME: package boost-test and enable doCheck
here and then it's good to go.
Done |
Motivation for this change
This depends on #38762, do not merge before thatThings done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)