Skip to content

Commit 6c081a4

Browse files
committed
allow docker to use qemu
1 parent b86c064 commit 6c081a4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/posix.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ jobs:
9595
if: ${{ matrix.os == 'macos-13' }}
9696
with:
9797
xcode-version: '14.3'
98+
- name: Allow docker with qemu
99+
run: |
100+
sudo apt-get update -q -y
101+
sudo apt-get -qq install -y qemu qemu-user-static
102+
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
103+
if: ${{ matrix.PLAT }} == "aarch64"
98104

99105
- name: Print some Environment variable
100106
run: |

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)