Remove unsupported error for aarch64 Linux

While SignalWire doesn't have aarch64 debs of FreeSWITCH, PostgreSQL.org
and sury.org have debs of PgSQL & PHP for aarch64, respectively.
Compiling FreeSWITCH from source works cleanly on aarch64, tested on
both Armbian and stock Debian. So might as well remove the unsupported,
unless there's another reason to not?

While we're add it, let's parallelize the makes, as it's dreadfully slow
on most SBCs without it
This commit is contained in:
JailBird 2023-10-03 16:15:10 -05:00
parent c71ec93538
commit 7ac97adbea
3 changed files with 5 additions and 6 deletions

View File

@ -69,7 +69,6 @@ if [ .$cpu_architecture = .'arm' ]; then
if [ .$os_mode = .'32' ]; then if [ .$os_mode = .'32' ]; then
verbose "Correct CPU and Operating System detected, using the ARM repo" verbose "Correct CPU and Operating System detected, using the ARM repo"
elif [ .$os_mode = .'64' ]; then elif [ .$os_mode = .'64' ]; then
error "You are using a 64bit arm OS this is unsupported"
switch_source=true switch_source=true
switch_package=false switch_package=false
else else

View File

@ -25,7 +25,7 @@ sed -i /usr/src/freeswitch/modules.conf -e s:'#formats/mod_pgsql:formats/mod_pgs
./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs ./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs
#make mod_shout-install #make mod_shout-install
make make -j $(getconf _NPROCESSORS_ONLN)
rm -rf /usr/local/freeswitch/{lib,mod,bin}/* rm -rf /usr/local/freeswitch/{lib,mod,bin}/*
make install make install
make sounds-install moh-install make sounds-install moh-install

View File

@ -46,7 +46,7 @@ if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then
git clone https://github.com/signalwire/libks.git libks git clone https://github.com/signalwire/libks.git libks
cd libks cd libks
cmake . cmake .
make make -j $(getconf _NPROCESSORS_ONLN)
make install make install
# libks C includes # libks C includes
@ -62,7 +62,7 @@ if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then
cd sofia-sip cd sofia-sip
sh autogen.sh sh autogen.sh
./configure ./configure
make make -j $(getconf _NPROCESSORS_ONLN)
make install make install
# spandsp # spandsp
@ -73,7 +73,7 @@ if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then
#/usr/bin/sed -i 's/AC_PREREQ(\[2\.71\])/AC_PREREQ([2.69])/g' /usr/src/spandsp/configure.ac #/usr/bin/sed -i 's/AC_PREREQ(\[2\.71\])/AC_PREREQ([2.69])/g' /usr/src/spandsp/configure.ac
sh autogen.sh sh autogen.sh
./configure ./configure
make make -j $(getconf _NPROCESSORS_ONLN)
make install make install
ldconfig ldconfig
fi fi
@ -140,7 +140,7 @@ sed -i /usr/src/freeswitch/modules.conf -e s:'endpoints/mod_verto:#endpoints/mod
--with-openssl --enable-core-pgsql-support --with-openssl --enable-core-pgsql-support
# compile and install # compile and install
make make -j $(getconf _NPROCESSORS_ONLN)
make install make install
#return to the executing directory #return to the executing directory