Skip to content
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

Issue installing on M1 Mac #137

Open
andeElliott opened this issue May 18, 2022 · 1 comment
Open

Issue installing on M1 Mac #137

andeElliott opened this issue May 18, 2022 · 1 comment

Comments

@andeElliott
Copy link
Collaborator

When trying to install on an M1 mac the following error occurs:

clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
error: unknown FP unit 'sse'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘netdist’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/netdist’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/1y/rvp35fsx51q68twjxjtrqwjm0000gp/T//RtmpptAHQz/filedec5c4b361d/netdist_0.4.9000.tar.gz’ had non-zero exit status

We wanted this argument to make sure that that Kahan summation worked, but it is causing issues on M1, perhaps we need a switch to turn this on, in x86, and turn it off on M1 (and possibly other arm processors?)

@martintoreilly thoughts?

@ots22
Copy link
Member

ots22 commented May 18, 2022

See #138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants