Skip to content

Commit

Permalink
Test architecture arm/v6 (part 11)
Browse files Browse the repository at this point in the history
  • Loading branch information
mansuf committed Jun 7, 2024
1 parent 55c96dd commit ee36010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arm_v6_workaround.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

# Workaround to install rust for building Dockerfile.optional in ARM v6 machine CI
echo $(lscpu)
export ARCHITECTURE=$(lscpu | grep Architecture | sed -e 's/Architecture:\s//g')
Expand All @@ -10,6 +12,4 @@ 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
else
raise_error_lol_command_not_found;
fi

0 comments on commit ee36010

Please sign in to comment.