Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Jul 25, 2021
1 parent 9617ded commit 8354050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class build_ext_subclass( build_ext ):
def build_extensions(self):
if self.compiler.compiler_type == 'msvc':
for e in self.extensions:
e.extra_compile_args = ['/openmp', '/O2']
e.extra_compile_args += ['/openmp', '/O2']
else:
self.add_march_native()
self.add_openmp_linkage()
Expand All @@ -28,7 +28,7 @@ def build_extensions(self):
# e.extra_compile_args = ['-fopenmp', '-O2', '-march=native', '-std=c99']
# e.extra_link_args = ['-fopenmp']
### Comment: -Ofast gives worse speed than -O2 or -O3
e.extra_compile_args = ['-O2', '-std=c99']
e.extra_compile_args += ['-O2', '-std=c99']

build_ext.build_extensions(self)

Expand Down Expand Up @@ -107,7 +107,7 @@ def test_supports_compile_arg(self, comm):
'scipy',
'cython'
],
version = '0.2.5',
version = '0.2.5-1',
description = 'Hierarchical Poisson matrix factorization for recommender systems',
author = 'David Cortes',
author_email = 'david.cortes.rivera@gmail.com',
Expand Down

0 comments on commit 8354050

Please sign in to comment.