alan-turing-institute / network-comparison

An R package implementing the NetEMD and NetDis network comparison measures
MIT License
14 stars 3 forks source link

Issue installing on M1 Mac #137

Open andeElliott opened 2 years ago

andeElliott commented 2 years ago

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’

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 commented 2 years ago

See #138