mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
The bug fix for the cblas.h problem in Mac os x
This commit is contained in:
parent
d6defa6645
commit
34a1b8cf8e
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -2,6 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
from setuptools import setup, Extension
|
||||
import numpy as np
|
||||
|
||||
|
|
@ -21,7 +22,7 @@ ext_mods = [Extension(name='GPy.kern._src.stationary_cython',
|
|||
extra_link_args = ['-lgomp']),
|
||||
Extension(name='GPy.util.choleskies_cython',
|
||||
sources=['GPy/util/choleskies_cython.c', 'GPy/util/cholesky_backprop.c'],
|
||||
include_dirs=[np.get_include()],
|
||||
include_dirs=[np.get_include()]+(['/System/Library/Frameworks/Accelerate.framework/Versions/Current/Frameworks/vecLib.framework/Versions/Current/Headers'] if sys.platform=='darwin' else []),
|
||||
extra_link_args = ['-lgomp', '-lblas'],
|
||||
extra_compile_args=compile_flags+['-std=c99']),
|
||||
Extension(name='GPy.util.linalg_cython',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue