mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 00:37:51 +00:00
Merge pull request #1086 from ceefour/patch-6
fix(install): Install dev packages for Arm 64-bit
This commit is contained in:
commit
fffafd20ef
@ -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…
Reference in New Issue
Block a user