thaler-lab / Wasserstein

Python/C++ library for computing Wasserstein distances efficiently.
https://thaler-lab.github.io/Wasserstein
Other
21 stars 8 forks source link

MacOS builds fail #13

Open j-s-ashley opened 1 month ago

j-s-ashley commented 1 month ago

Unless the build is executed locally on a machine with OpenMP pre-installed, MacOS build attempts encounter an error when installing libomp, leading to a subsequent fatal error when omp.h is referenced.

j-s-ashley commented 1 month ago

Removing the install-libomp-macos.sh script produces the same error.

j-s-ashley commented 1 month ago

Updating the OpenMP version in the install script produces a different error when installing libomp, still resulting in the same fatal error in the overall build.

j-s-ashley commented 1 month ago

Updating OpenMP also got the build sequence to progress a little further (compare Line 107 of the original build to Line 102 of the build using the updated library version.

CMake encounters errors at Line 103 (can't find LLVMCheckCompilerLinkerFlag) and Line 184 (can't find ExtendPath).

j-s-ashley commented 1 month ago

This issue is comprised of multiple problems: