| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
I wasn't able to build this following the build instructions in NIX.md (see error message in review comment). @wd15 can you provide guidance on how to troubleshoot?
Sorry, something went wrong.
|
This only currently works with x86_64-linux. Are there other platforms that AdditiveFOAM is typically build it? Can also enable aarch66, aarch64-darwin and x86-64-darwin if you think ExaCA + dependencies would build on those platforms. |
Sorry, something went wrong.
|
Furthermore, I can cache the binaries for x86-64 once we have resolved any issues. It's free for open source projects. That should make the build very fast. |
Sorry, something went wrong.
That's good news, the OpenFOAM nix build is quite slow. I'm building it now, so once that finishes and I can test, I'll re-review.
I don't know of any users typically using anything besides x86_64-linux architectures, so that seems fine for now and we can add support if we get user requests. |
Sorry, something went wrong.
|
|
||
| See the [installation instructions](https://ornl.github.io/AdditiveFOAM/docs/installation/#installation) in the [documentation](https://ornl.github.io/AdditiveFOAM/) for other options for building `AdditiveFOAM`. | ||
|
|
||
| An alternative installation mechanism is using Nix. See |
There was a problem hiding this comment.
@colemanjs would you prefer this be in the docs instead?
Sorry, something went wrong.
|
@gknapp1: just a note that I added cached the AdditiveFOAM binary dependencies to Cachix so the nix build should go much faster. To test it you would need to remove all the dependencies from your current Nix installation or use a different Nix store. Just using a Nix installation on a different machine is probably easier. |
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
@wd15 thanks for the added documentation and caching implementation. This works for me and the install only took a little over a minute for the cache download (~1.6 GB).
For testing this development:
nix develop github:wd15/AdditiveFOAM/nix?dir=envs/nix --accept-flake-config
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Adapts a Nix build for OpenFOAM 12 to OpenFOAM 10 and subsequent build of AdditiveFOAM to work with the existing build of ExaCA.
Edit:
Edit again: