Enable OpenMP support. clang now supports this.
authorAlastair McKinstry <mckinstry@debian.org>
Wed, 17 Apr 2019 13:20:11 +0000 (14:20 +0100)
committerAlastair McKinstry <mckinstry@debian.org>
Wed, 17 Apr 2019 13:40:34 +0000 (14:40 +0100)
(Disabling posix threads support)

debian/changelog
debian/patches/CMakeLists.patch

index 32a2c83a83bfec89c62a7e1c5ddac3eb5bc884f6..585d30aff698b4ec481b45bfd67bf2af24ea90de 100644 (file)
@@ -1,6 +1,7 @@
 mathgl (2.4.3-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Enable OpenMP support. clang now supports this.
 
  -- Alastair McKinstry <mckinstry@debian.org>  Wed, 27 Mar 2019 14:44:55 +0000
 
index 0b80552e294077eced3414e88562bf219a283e9e..85e52fb970c46ac6540d06a5f355ea42d905b485 100644 (file)
@@ -16,7 +16,7 @@ Index: mathgl-2.4.3/CMakeLists.txt
  option(enable-all-swig "Enable all SWIG based interfaces")
  option(enable-rvalue "Enable move constructor support (need C++11)" OFF)
 -option(enable-pthread "Enable POSIX threads support" OFF)
-+option(enable-pthread "Enable POSIX threads support" ON)
++option(enable-pthread "Enable POSIX threads support" OFF)
  if(MSVC)
        option(enable-pthr-widget "Enable POSIX threads for widgets" OFF)
  else(MSVC)