-
Notifications
You must be signed in to change notification settings - Fork 50
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
flux command should be runnable in build tree from any directory #14
Comments
What about
and So for example in a flux-sched project, |
Here's a set of commits I was working on: |
This might work, but I'm concerned it is a bit ad hoc and having code in installed If it were me I'd gravitate toward a solution with colon-separated paths for flux-module-path and flux-command-path, perhaps with a default base path made up of
Ideally adding new command and module paths could be done with something as simple as
Maybe this could be extended via a config file which could be found in The main benefit I guess is that module-path and command-path make sense for both However, I do also get what you're doing by trying to make this easier and have only one |
What is the best way to communicate |
Yeah... the more I think about it I really like the flux config idea. Am I just having a hard time letting that concept go? :-) |
I've had a go at the config file idea here: garlick@flux-config2
Let me know what you think. |
This looks like a great improvement to me!
I don't feel strongly about either point above, but they are things that came to mind when looking at the functionality. Finally, for developers, it might be really useful to have an Also, I had failure to compile with
|
This was mentioned in issue flux-framework#14
I fixed the gcc error with garlick/flux-core@d28a306 (untested). I don't feel strongly about the others either - maybe we should press ahead and fix later after we've had a bit of experience with it? I submitted pull request #18. |
Agreed. I merged your pull request. (I had test the same fix as in garlick/flux-core@d28a306) |
We should be able to use flux(1) cmd in build tree from any directory, e.g.
flux
run in this way should work the same as when run from src/cmd directly, i.e. it should still find all modules from builddir, point cmd dir to src/cmd, etc.From top-level build directory. This will be necessary for running system testing.
The text was updated successfully, but these errors were encountered: