mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +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.
|
||||
|
|
|
|||
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.
|
||||
#This detects if we are building on a Mac
|
||||
def ismac():
|
||||
platform = sys.platform
|
||||
ismac = False
|
||||
if platform[:6] == 'darwin':
|
||||
ismac = True
|
||||
return ismac
|
||||
return sys.platform[:6] == 'darwin'
|
||||
|
||||
if ismac():
|
||||
compile_flags = [ '-O3', ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue