diff --git a/cross/cryptography/Makefile b/cross/cryptography/Makefile index 0d401383fd2d..7ccfe9e30572 100644 --- a/cross/cryptography/Makefile +++ b/cross/cryptography/Makefile @@ -1,5 +1,5 @@ PKG_NAME = cryptography -PKG_VERS = 2.9.2 +PKG_VERS = 3.3.2 PKG_EXT = tar.gz PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) PKG_DIST_SITE = https://files.pythonhosted.org/packages/source/c/$(PKG_NAME) diff --git a/cross/cryptography/digests b/cross/cryptography/digests index 82df6690a0b5..d34407fca843 100644 --- a/cross/cryptography/digests +++ b/cross/cryptography/digests @@ -1,3 +1,3 @@ -cryptography-2.9.2.tar.gz SHA1 af16e069cad7d36442f8481542de51f87c3c7708 -cryptography-2.9.2.tar.gz SHA256 a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229 -cryptography-2.9.2.tar.gz MD5 89f355fd2500f7b7ce13999afc7cd092 +cryptography-3.3.2.tar.gz SHA1 eb8be696115458f9368432525e9cae11d0f6bebf +cryptography-3.3.2.tar.gz SHA256 5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed +cryptography-3.3.2.tar.gz MD5 e2ce2ec8a63965fad351f36ed70fde4b diff --git a/cross/numpy/patches/x64/001-fix-auto-detection-of-avx-512f-intrinsics.patch b/cross/numpy/patches/x64/001-fix-auto-detection-of-avx-512f-intrinsics.patch deleted file mode 100644 index 302d7209b76e..000000000000 --- a/cross/numpy/patches/x64/001-fix-auto-detection-of-avx-512f-intrinsics.patch +++ /dev/null @@ -1,30 +0,0 @@ -#From 39c915c1236d61debb4b3e10dfadf910da6c9b30 Mon Sep 17 00:00:00 2001 -#From: Raghuveer Devulapalli -#Date: Tue, 14 Jul 2020 13:34:55 -0700 -#Subject: [PATCH] BUG: Update compiler check for AVX-512F -# -#gcc-4.9 is missing a few AVX-512F intrisics, see -#https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61878. We use some of these -#missing intrinsics to check for compiler support of AVX-512F. -#---diff --git numpy/core/setup_common.py numpy/core/setup_common.py -#index 8c0149497bc..f15425c8763 100644 ---- numpy/core/setup_common.py -+++ numpy/core/setup_common.py -@@ -171,6 +171,9 @@ def check_api_version(apiversion, codegen_dir): - # gcc 4.8.4 support attributes but not with intrisics - # tested via "#include<%s> int %s %s(void *){code; return 0;};" % (header, attribute, name, code) - # function name will be converted to HAVE_ preprocessor macro -+# The _mm512_castps_si512 instruction is specific check for AVX-512F support -+# in gcc-4.9 which is missing a subset of intrinsics. See -+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61878 - OPTIONAL_FUNCTION_ATTRIBUTES_WITH_INTRINSICS = [('__attribute__((target("avx2,fma")))', - 'attribute_target_avx2_with_intrinsics', - '__m256 temp = _mm256_set1_ps(1.0); temp = \ -@@ -178,6 +181,6 @@ def check_api_version(apiversion, codegen_dir): - 'immintrin.h'), - ('__attribute__((target("avx512f")))', - 'attribute_target_avx512f_with_intrinsics', -- '__m512 temp = _mm512_set1_ps(1.0)', -+ '__m512i temp = _mm512_castps_si512(_mm512_set1_ps(1.0))', - 'immintrin.h'), - ] \ No newline at end of file