mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-07-11 16:22:13 +02:00
[setup] check if darwin
This commit is contained in:
parent
2a48ee99dd
commit
b8b77aef95
2 changed files with 1 additions and 7 deletions
|
|
@ -1,3 +1 @@
|
||||||
# This list was out of date, I've put "see contributors" for the moment. Not sure how to fix long term but don't want to be
|
|
||||||
# embarrassed by some off the great contributors of late being omitted from a list.
|
|
||||||
See contributors.
|
See contributors.
|
||||||
|
|
|
||||||
6
setup.py
6
setup.py
|
|
@ -26,11 +26,7 @@ del version_dummy
|
||||||
#Mac OS X Clang doesn't support OpenMP at the current time.
|
#Mac OS X Clang doesn't support OpenMP at the current time.
|
||||||
#This detects if we are building on a Mac
|
#This detects if we are building on a Mac
|
||||||
def ismac():
|
def ismac():
|
||||||
platform = sys.platform
|
return sys.platform[:6] == 'darwin'
|
||||||
ismac = False
|
|
||||||
if platform[:6] == 'darwin':
|
|
||||||
ismac = True
|
|
||||||
return ismac
|
|
||||||
|
|
||||||
if ismac():
|
if ismac():
|
||||||
compile_flags = [ '-O3', ]
|
compile_flags = [ '-O3', ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue