[Dune-devel] CMake and std::thread

Markus Blatt markus at dr-blatt.de
Thu May 28 11:44:33 CEST 2015


Hi,

I would have loved to help with the parallel index set bug, but on
my system the master does not even configure any more:

-- Performing Test STDTHREAD_WORKS
CMake Error at CMakeLists.txt:10 (ADD_EXECUTABLE):
  Target "cmTryCompileExec3261532357" links to item " -pthread" which
  has
  leading or trailing whitespace.  This is now an error according to
  policy
  CMP0004.


CMake Error: Internal CMake error, TryCompile generation of cmake
failed
-- Performing Test STDTHREAD_WORKS - Failed
CMake Error at
/home/mblatt/src/dune/current/dune-common/cmake/modules/CheckCXX11Features.cmake:383 (message):
  Your system does not seem to have a working implementation of
  std::thread.
  If it does, please set the linker flags required to get std::thread
  working
  in the cache variable STDTHREAD_LINK_FLAGS.  If you think this test
  is
  wrong, set the cache variable STDTHREAD_WORKS.
Call Stack (most recent call first):
  /home/mblatt/src/dune/current/dune-common/cmake/modules/DuneMacros.cmake:607
  (include)
  CMakeLists.txt:24 (dune_project)


Stock debian wheezy system.

Markus
-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20150528/c6db43df/attachment.sig>


More information about the Dune-devel mailing list