Skip to content
Snippets Groups Projects
Commit f3ce3893 authored by Arend Dijkstra's avatar Arend Dijkstra
Browse files

openmp support

parent 62b23caf
No related branches found
No related tags found
1 merge request!18Add c++ version of mean shift algorithm
...@@ -60,7 +60,7 @@ class LSMToolDistribution(Distribution): ...@@ -60,7 +60,7 @@ class LSMToolDistribution(Distribution):
class BuildExt(build_ext): class BuildExt(build_ext):
def build_extensions(self): def build_extensions(self):
opts = ['-std=c++11'] opts = ['-fopenmp', '-std=c++11']
if sys.platform == 'darwin': if sys.platform == 'darwin':
opts += ['-stdlib=libc++'] opts += ['-stdlib=libc++']
for ext in self.extensions: for ext in self.extensions:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment