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
minio: support building on darwin #94873
Conversation
Reviewed points
Possible improvements> minio
NAME:
minio - High Performance Object Storage
DESCRIPTION:
Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO
USAGE:
minio [FLAGS] COMMAND [ARGS...]
COMMANDS:
server start object storage server
gateway start object storage gateway
FLAGS:
--certs-dir value, -S value path to certs directory (default: "/Users/lclaude/.minio/certs")
--quiet disable startup information
--anonymous hide sensitive information from logging
--json output server logs and startup information in json format
--help, -h show help
--version, -v print the version
VERSION:
DEVELOPMENT.GOGET Can you try to provide a better version message? Comments |
@ludovicc unfortunately, the version issue seems to be pre-existing and I don't know enough about how |
Could it be that |
@bachp I mean to say that building |
@afontaine You are right. I will fix this in another MR. @ludovicc We should not block this change because of an unrelated issue. |
yes, please don't block this MR because of this minor issue. @bachp a separate MR would be great, thanks. |
I'm sorry, one last remark: @afontaine you added the flag -tags=kqueue, but I can see also -trimpath being used. Is that relevant to this build? Those flags also seem to be used for all architectures if I understand well goreleaser config. https://github.com/minio/minio/blob/73890f31af5f1247c1f5b8131f136d1045d6b5f6/.goreleaser.yml#L67 |
@ludovicc you seem correct, and it looks like all these flags seem to be used across all architectures, so I removed the |
13dd652
to
0f0f39a
Compare
and a little more playing around and things now all fit into the |
0f0f39a
to
bcad4be
Compare
it looks like |
bcad4be
to
610dd84
Compare
I reviewed the latest update and it works well on Darwin. Version is still |
Ah I just noticed the merge conflicts, they are all fixed up now 🚀 |
Modified build command and flags to allow successful build on Darwin systems. Based on flags in GitHub issue from minio project [0] [0]: minio/minio#10188 (comment)
370b160
to
5e1cb57
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Motivation for this change
Modified build command and flags to allow successful build on Darwin
systems. Based on flags in GitHub issue from minio project
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)