mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 23:48:24 +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
@ -157,6 +157,14 @@ def install_prerequisites():
|
|||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# 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('curl')
|
||||||
install_package('wget')
|
install_package('wget')
|
||||||
install_package('git')
|
install_package('git')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user