Skip to content

Commit

Permalink
fixes for apple systems
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Mar 19, 2023
1 parent 49a8ebf commit 0f1a784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def add_openmp_linkage(self):
args_apple_omp2 = ["-Xclang", "-fopenmp", "-L/usr/local/lib", "-lomp", "-I/usr/local/include"]
has_brew_omp = False
if is_apple:
res_brew_pref = subprocess.run(["brew", "--prefix", "libomp"], capture_output=silent_tests)
res_brew_pref = subprocess.run(["brew", "--prefix", "libomp"], capture_output=True)
if res_brew_pref.returncode == EXIT_SUCCESS:
has_brew_omp = True
brew_omp_prefix = res_brew_pref.stdout.decode().strip()
Expand Down Expand Up @@ -210,7 +210,7 @@ def test_supports_compile_arg(self, comm, with_omp=False):
'scipy',
'cython'
],
version = '0.2.5-9',
version = '0.2.5-10',
description = 'Hierarchical Poisson matrix factorization for recommender systems',
author = 'David Cortes',
url = 'https://github.com/david-cortes/hpfrec',
Expand Down

0 comments on commit 0f1a784

Please sign in to comment.