-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
ceph: 9.2.0 -> 12.2.2 #33894
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
ceph: 9.2.0 -> 12.2.2 #33894
Conversation
Thank you for working on this. You must also update the sha256 of ceph otherwise you will build the old version with a new name ;) |
@@ -1,4 +1,4 @@ | |||
{ stdenv, fetchFromGitHub, cmake }: | |||
{ stdenv, fetchFromGitHub, cmake, sharedLibrary ? false }: |
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 would rather build shared libraries by default and remove this option. We prefer shared libraries in nixpkgs.
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.
This variable does not have an effect on this derivation, was this added by mistake?
Hi @Mic92, Ok this patch comes from an old nixpkgs branch we have in our side (BBP). I just realized it diverged way more I expected, and that the recommended way to build Ceph is cmake nowadays. This would imply way more modifications, let me have a look to that and I come back to you. |
f05258d
to
50b95db
Compare
Ok guys, problems fixed.
|
- Update Ceph to last version - Solve vulernatibility problem in the old version - Patch rocksdb ceph rocksdb API - Simplify a lot ceph build by switching to CMake This Pull request require NixOS#34662 and NixOS#34661 to be effective
/cc maintainer @alexanderkjeldaas. BTW, it's good to keep |
@lejonet Might be interesting to test this as the base for your ceph module :) |
@adevress I've tried your branch on a nixos system, with sandbox enabled and all binaries compile and run fine Whoever thought it was a good idea with absolute paths in includes, should be shot... |
@GrahamcOfBorg build ceph bareos |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Thanks! |
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)