-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Start a "How to contribute" guide in the docs #3365
Comments
The following gist by @jorgensd is also helpful: https://gist.github.com/jorgensd/e1984f6055b0f91197be6e406f0c901f |
To properly install any branch one needs slightly more control than the above:
|
The above approaches do not allow for editing of the source on the host and require a complete rebuild on every Instead I would recommend:
You can also write a script that does this and put it in the root of Note that editable installs are still a bit broken for |
Aren't we running |
The file above is more for the use-case:
I agree that for a long-term dev env, I wouldn't recommend the approach above, and that there are many different use-cases and ways to develop, and personally I use something closer to what @jhale has suggested (as also shown in the notes)
|
We run it for bsaix, ufl and ffcx first, and then dolfinx. |
There is a shortcut to 'build a container with a particular version': https://github.com/FEniCS/dolfinx/blob/main/docker/Dockerfile.end-user#L33 Feedback on the overall experience would be welcome. |
Currently the only developer resources are C++ guidelines.
I recently wanted to test a PR and used this dockerfile to create a container within which I could run some tests.
We could adapt this Dockerfile to install any branch/commit to easily test PRs.
Would it be worth adding a section to Developer resources with this as an alternative to build everything locally?
What do people think?
The text was updated successfully, but these errors were encountered: