summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-08-22 20:35:31 +1000
committerMatthew Waters <matthew@centricular.com>2016-08-22 20:44:08 +1000
commit49b699f521a9e5ee279740de58eb9c515e214d49 (patch)
treecf7bebc4799c35c86b570b712c0c5ea00a69011e /recipes
parentc95e766d0758de85f02684bab21a96dcde3f6dd5 (diff)
recipes: graphene: update to 1.4.0
In the process disable sse4.1 usage on x86_64 OS X and iOS as it crashes the compiler.
Diffstat (limited to 'recipes')
-rw-r--r--recipes/graphene.recipe9
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes/graphene.recipe b/recipes/graphene.recipe
index 7b37d972..8467d23f 100644
--- a/recipes/graphene.recipe
+++ b/recipes/graphene.recipe
@@ -21,7 +21,7 @@ GRAPHENE_CONFIG_UNVERSAL='''\
class Recipe(recipe.Recipe):
name = 'graphene'
stype = SourceType.TARBALL
- version = '1.2.6'
+ version = '1.4.0'
url = 'https://github.com/ebassi/graphene/archive/{0}.tar.gz'.format(version)
licenses = [License.MIT]
# Disable NEON completly, it's broken and experimental
@@ -48,6 +48,13 @@ class Recipe(recipe.Recipe):
if self.config.target_arch == Architecture.X86:
self.configure_options += ' --disable-sse2 --disable-gcc-vector '
+ # -msse4.1 causes clang to segfault building graphene-matrix.c on OS X
+ # when building for x64_64. Disable it for now.
+ if self.config.target_platform in [Platform.DARWIN, Platform.IOS]:
+ arch = self.config.target_arch
+ if arch == Architecture.X86_64:
+ self.new_env['SSE41_CFLAGS'] = " "
+
def post_install(self):
if self.config.target_platform in [Platform.DARWIN, Platform.IOS]:
# For the universal build we need to ship graphene-config.h of all