From 49b699f521a9e5ee279740de58eb9c515e214d49 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 22 Aug 2016 20:35:31 +1000 Subject: 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. --- recipes/graphene.recipe | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'recipes') 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 -- cgit v1.2.3