Skip to content

Commit 4f52a35

Browse files
committed
allow docker to use qemu
1 parent b86c064 commit 4f52a35

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/posix.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ jobs:
9696
with:
9797
xcode-version: '14.3'
9898

99+
- name: Allow docker with qemu
100+
if: ${{ matrix.PLAT == "aarch64" }}
101+
run: |
102+
sudo apt-get update -q -y
103+
sudo apt-get -qq install -y qemu qemu-user-static
104+
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
105+
99106
- name: Print some Environment variable
100107
run: |
101108
echo "PLAT: ${PLAT}"

tools/build_steps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function do_build_lib {
173173
pushd OpenBLAS
174174
patch_source
175175
echo start building
176-
if [[ -v dynamic_list ]]; then
176+
if [ -v dynamic_list ]; then
177177
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
178178
make BUFFERSIZE=20 DYNAMIC_ARCH=1 \
179179
USE_OPENMP=0 NUM_THREADS=64 \

0 commit comments

Comments
 (0)