Re: [darktable-dev] Re: clang vs. gcc: dramatic performance difference
hi, clang needs libomp-dev, not libgomp which gcc uses. i assume you have that installed? cheers, jo On Fri, Sep 14, 2018 at 5:45 AM Matthias Bodenbinder wrote: > > Am 13.09.18 um 15:58 schrieb sturmflut: > > Hi all, > > > > IIRC this has something to do with clang not linking against libatomic > > by default, but GCC doing so. > > > > regards, > > Simon > > > And how to I make this happen with clang? > > > ___ > darktable developer mailing list > to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org > ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
Re: [darktable-dev] Re: clang vs. gcc: dramatic performance difference
Hi all, IIRC this has something to do with clang not linking against libatomic by default, but GCC doing so. regards, Simon On 9/13/18 7:49 AM, Matthias Bodenbinder wrote: > Am 13.09.18 um 07:38 schrieb Matthias Bodenbinder: >> I assume I am missing some significant compiler options for clang. But dont >> know what that is. >> Can somebody help me with that and tell me what I need to do to make the >> clang binary faster? > > I found these messages with clang enabled: > > -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) > -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) > -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) > CMake Warning at src/external/rawspeed/cmake/OpenMP.cmake:18 (message): > Looking for OpenMP - failed. utilities will not use openmp-based > parallelization > Call Stack (most recent call first): > src/external/rawspeed/CMakeLists.txt:186 (include) > > > What is missing? I installed openmp. > > > PS > I am using Manjaro > > > ___ > darktable developer mailing list > to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org > ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org