8120962635
We need to backport a commit so that we can enable/disable sse2 using the ARGON2_CFFI_USE_SSE2 env variable. Fixes: http://autobuild.buildroot.net/results/030/0306d66d081dd0807c577edd50d39075a46d0dd9/build-end.log Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
22 lines
772 B
Makefile
22 lines
772 B
Makefile
################################################################################
|
|
#
|
|
# python-argon2-cffi
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_ARGON2_CFFI_VERSION = 19.2.0
|
|
PYTHON_ARGON2_CFFI_SOURCE = argon2-cffi-$(PYTHON_ARGON2_CFFI_VERSION).tar.gz
|
|
PYTHON_ARGON2_CFFI_SITE = https://files.pythonhosted.org/packages/e4/96/f1bf2369f29794971f836b8eff5e3bdb653043f1b61d104eae21b1de3ccb
|
|
PYTHON_ARGON2_CFFI_SETUP_TYPE = setuptools
|
|
PYTHON_ARGON2_CFFI_LICENSE = MIT
|
|
PYTHON_ARGON2_CFFI_LICENSE_FILES = LICENSE
|
|
PYTHON_ARGON2_CFFI_DEPENDENCIES = host-python-cffi
|
|
|
|
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
|
|
PYTHON_ARGON2_CFFI_ENV = ARGON2_CFFI_USE_SSE2=1
|
|
else
|
|
PYTHON_ARGON2_CFFI_ENV = ARGON2_CFFI_USE_SSE2=0
|
|
endif
|
|
|
|
$(eval $(python-package))
|