RenderKit / oidn

Intel® Open Image Denoise library
https://www.openimagedenoise.org/
Apache License 2.0
1.77k stars 164 forks source link

Build error on Mac #35

Closed Ono-Sendai closed 4 years ago

Ono-Sendai commented 5 years ago

Hi, We're trying to build oidn 0.9.0 on Mac, and are hitting this error:

Building CXX object mkl-dnn/src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o
clang: error: unknown argument: '-fopenmp-simd'

clang -v gives

Apple LLVM version 9.1.0 (clang-902.0.29.2)

The mac is running macOS High Sierra Version 10.13.6.

jmengintel commented 4 years ago

This problem is fixed in recent versions of Apple LLVM. Do you have the option of upgrading?

Ono-Sendai commented 4 years ago

This indeed doesn't seem to be a problem on macOS Catalina, so closing.