mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 07:28:25 +00:00
fix(install): Install dev packages for Arm 64-bit
Until psycopg2-binary is available for aarch64 (Arm 64-bit), we'll need libpq and libssl dev packages to build psycopg2 from source Fixes https://github.com/frappe/bench/issues/1084
This commit is contained in:
parent
d9521b4406
commit
df0562d59b
@ -156,6 +156,14 @@ def install_prerequisites():
|
||||
'sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel'
|
||||
]
|
||||
})
|
||||
|
||||
# until psycopg2-binary is available for aarch64 (Arm 64-bit), we'll need libpq and libssl dev packages to build psycopg2 from source
|
||||
if platform.machine() == 'aarch64':
|
||||
log("Installing libpq and libssl dev packages to build psycopg2 for aarch64...")
|
||||
run_os_command({
|
||||
'apt-get': ['sudo apt-get install -y libpq-dev libssl-dev'],
|
||||
'yum': ['sudo yum install -y libpq-devel openssl-devel']
|
||||
})
|
||||
|
||||
install_package('curl')
|
||||
install_package('wget')
|
||||
|
Loading…
x
Reference in New Issue
Block a user