Closed lynnmunday closed 11 months ago
@hugary1995 this is how far I made it building NEML2 on my mac. I'm going to try pulling your NEML2 blackbear branch and building it. Or I'll try building NEML2 on linux.
Can you try this libtorch instead (for resolving the linker error)? https://download.pytorch.org/libtorch/cpu/libtorch-macos-2.1.0.zip
You could pick a specific libtorch using the LIBTORCH_DIR
variable, e.g.,
cmake -DLIBTORCH_DIR=/path/to/libtorch .
I've also corrected the default URL for mac's libtorch. See if that works.
Alright, the Mac tests seem to be passing now. We will wait for @reverendbedford to modify the list of expected checks and update the lcov credentials.
Tests are, in fact, not passing.
Tests are passing. The coverage workflow has bad credentials which I can't deal with.
I can only assume that the coverage report isn't running because @lynnmunday isn't a member of the project... I added him and let's see what happens.
I'll wait for @lynnmunday accepts the invite then.
@lynnmunday I joined
@reverendbedford @hugary1995 Thanks for all this, I am able to build this pr on my mac with the 2.1 version of libtorch.
Closed in favor of #103 -- @lynnmunday you're now a member of the project so in the future I guess just work in this repo. I wasn't able to figure out why "external" PRs from forks can't access the secret needed to upload the coverage report.
These are now hitting a linker error that I cannot fix. This is the linker error:
From what I found on google, the "--no-as-needed" option is not supported for Macs. I've tried using libtorch 1.12 that I download with the moose script and the libtorch that NEML2 downloads and neither work.
ref #98