jacobjma / PyQSTEM

A Python interface to the electron microscopy simulation program QSTEM
GNU General Public License v3.0
61 stars 30 forks source link

Make sure clang flag is only used on MacOS. #15

Closed schiotz closed 5 years ago

schiotz commented 5 years ago

Hi @jacobjma

The -stdlib=libc++ flag is a clang flag only, and does not normally work with GNU compilers. It is needed on MacOS up to version 10.13 (High Sierra), it is default for 10.14. I think you need to release a version 1.0.3 (this patch) to restore the ability to build on most Linux'es.

Once that is done, I will update the conda recipe PR https://github.com/conda-forge/staged-recipes/pull/8656

That recipe is by the way waiting for a problem with FFTW to be solved. Apparently, the newest version of Anaconda causes the FFTW package to try to install conflicting dependencies, it seems to be a bug in the conda dependency solver itself.