Closed ischoegl closed 3 months ago
HI @ischoegl are you using any special flags to build Cantera from source on MacOS M1? Because when I try to use cantera with Xcode, it uses Rosetta as the architecture to match the dynamically linked libraries generated by Cantera. I am able to use it just fine, but was curious if I am compiling it the wrong way
HI @ischoegl are you using any special flags to build Cantera from source on MacOS M1? Because when I try to use cantera with Xcode, it uses Rosetta as the architecture to match the dynamically linked libraries generated by Cantera. I am able to use it just fine, but was curious if I am compiling it the wrong way
Good question. On my own M2, I am compiling within a conda environment that is built for ARM; I am attempting the same in here via this setup-miniconda example. It obviously isn't running yet.
Edit: aborting this attempt - not familiar enough with the GH Actions infrastructure.
PS: likely forgot a shell: bash -el {0}
in the setup script, but oh well.
PPS: @santoshshanbhogue ... to answer your question: I just checked about Rosetta and cxx samples compiled on my machine appear to be running natively, i.e. on "Apple" ("kind" in Activity Monitor would otherwise be "PowerPC"). I am sure there are easier ways to check ...
@ischoegl hope you don't mind, I'll reopen this and try to get it working this week 😊
@ischoegl hope you don't mind, I'll reopen this and try to get it working this week 😊
Thanks - no problem whatsoever!
Changes proposed in this pull request
macOS Apple Silicon runners are now available in beta (see standard-github-hosted-runners-for-public-repositories). This PR is a simple test whether things work at the moment.
If applicable, fill in the issue number this pull request is fixing
Closes #
If applicable, provide an example illustrating new features this pull request is introducing
Checklist
scons build
&scons test
) and unit tests address code coverage