cmake -DUSE_OPENMP=no ... Should give a message about OpenMP-based threading being disabled.
On Wed, 19 Aug 2020 at 12:33, Con Cunningham <con.cunning...@gmail.com> wrote: > Hi Robert, how do I switch off openMP? > There are so many pieces to this, I am having a hard time finding the > right places to go for information. But I’ll get there 😊 > > Sent from my iPhone > > On 19 Aug 2020, at 12:20, Robert Bridge <rob...@robbieab.com> wrote: > > > Try switching off openMP with intltool installed? That is the openMP error > again. > > On Wed, 19 Aug 2020 at 12:04, Con Cunningham <con.cunning...@gmail.com> > wrote: > >> I just tried installing intltool on its own, and re-running cmake. No >> joy, sadly. I Must be making some mistake in the steps, but I have done >> them twice now, and can't see it. >> >> concunningham@IMacOffice darktable % sudo port install intltool >> ---> Computing dependencies for intltool >> ---> Cleaning intltool >> ---> Scanning binaries for linking errors >> ---> No broken files found. >> ---> No broken ports found. >> concunningham@IMacOffice darktable % mkdir build >> concunningham@IMacOffice darktable % cd build >> concunningham@IMacOffice build % cmake .. >> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_CXX_FLAGS=-stdlib=libc++ >> -DOpenMP_C_INCLUDE_DIR=/opt/local/include/libomp >> -DOpenMP_CXX_INCLUDE_DIR=/opt/local/include/libomp >> -DCMAKE_LIBRARY_PATH=/opt/local/lib/libomp -DBINARY_PACKAGE_BUILD=ON >> -DRAWSPEED_ENABLE_LTO=ON -DBUILD_CURVE_TOOLS=ON -DBUILD_NOISE_TOOLS=ON >> -- The CXX compiler identification is AppleClang 11.0.3.11030032 >> -- The C compiler identification is AppleClang 11.0.3.11030032 >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> -- Check for working CXX compiler: >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ >> - skipped >> -- Detecting CXX compile features >> -- Detecting CXX compile features - done >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Check for working C compiler: >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc >> - skipped >> -- Detecting C compile features >> -- Detecting C compile features - done >> CMake Error at >> /opt/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 >> (message): >> Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) >> (Required is at least version "4.5") >> Call Stack (most recent call first): >> >> /opt/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 >> (_FPHSA_FAILURE_MESSAGE) >> /opt/local/share/cmake-3.18/Modules/FindOpenMP.cmake:529 >> (find_package_handle_standard_args) >> CMakeLists.txt:76 (find_package) >> >> >> -- Configuring incomplete, errors occurred! >> See also >> "/Users/concunningham/Documents/Projects/Personal/darktable/build/CMakeFiles/CMakeOutput.log". >> concunningham@IMacOffice build % >> >> ___________________________________________________________________________ >> 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