Skip to content

Commit 3b23e0a

Browse files
committed
download_libs [2.7.3 ~ 2.7.4] fix opt args for downloads Linux
1 parent 1cd91bd commit 3b23e0a

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

scripts/dev/download_libs.sh

+8-10
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LEGACY=0
88
SILENT_ARGS=""
99
NO_SSL=""
1010
BLEEDING_EDGE=0
11-
DL_VERSION=2.7.3
11+
DL_VERSION=2.7.4
1212
GCC_VERSION=0
1313
TAG=""
1414

@@ -170,11 +170,7 @@ if [ "$ARCH" == "" ]; then
170170
if [ "$ARCH" == "x86_64" ]; then
171171
ARCH=64
172172
elif [ "$ARCH" == "arm64" ]; then
173-
ARCH=64
174-
elif [ "$ARCH" == "armv7l" ]; then
175-
if [ -f /opt/vc/include/bcm_host.h ]; then # Check for Raspberry Pi
176-
ARCH=armv6l #this makes no sense
177-
fi
173+
ARCH=64 # for now
178174
elif [ "$ARCH" == "i686" ] || [ "$ARCH" == "i386" ]; then
179175
echo "32bit linux is not officially supported anymore but compiling the libraries using the build script in apothecary/scripts should compile all the dependencies without problem"
180176
exit 1
@@ -217,13 +213,15 @@ if [ "$PLATFORM" == "linux" ]; then
217213
elif [ "$ARCH" == "arm64" ]; then
218214
OPT="_${GCC_VERSION}"
219215
elif [ "$ARCH" == "aarch64" ]; then
220-
OPT=bookworm
216+
OPT=""
217+
elif [ "$ARCH" == "armv8l" ]; then
218+
OPT=""
221219
elif [ "$ARCH" == "armv7l" ]; then
222-
OPT=bookworm
220+
OPT=""
223221
elif [ "$ARCH" == "armv6l" ]; then
224-
OPT=bookworm
222+
OPT=""
225223
elif [ "$ARCH" == "jetson" ]; then
226-
OPT=jetson
224+
OPT=""
227225
fi
228226
fi
229227

0 commit comments

Comments
 (0)