[setup] check if darwin

This commit is contained in:
Max Zwiessele 2015-09-10 15:06:15 +01:00
parent 2a48ee99dd
commit b8b77aef95
2 changed files with 1 additions and 7 deletions

View file

@ -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.

View file

@ -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', ]