Skip to content

Commit

Permalink
Test architecture arm/v6 (part 12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mansuf committed Jun 7, 2024
1 parent ee36010 commit c167396
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions arm_v6_workaround.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ export CPU_FLAGS=$(lscpu | grep Flags | sed -e 's/Flags:\s//g')
echo $ARCHITECTURE
echo $CPU_FLAGS

echo $ARCHITECTURE
if [ $ARCHITECTURE = "armv7l" ] && ! [[ $CPU_FLAGS =~ "v_vmsave_vmlo" ]]; then
apt install libc6-armhf-cross
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib
ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
fi
# echo $ARCHITECTURE
apt install libc6-armhf-cross
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib
ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
# if [ $ARCHITECTURE = "armv7l" ] && ! [[ $CPU_FLAGS =~ "v_vmsave_vmlo" ]]; then
# apt install libc6-armhf-cross
# export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib
# ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
# fi

0 comments on commit c167396

Please sign in to comment.