Skip to content

Commit c5ee720

Browse files
committed
CI: Disable SSE2 on ARM runners
1 parent a14ec8d commit c5ee720

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/push.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ jobs:
4747
git clone https://github.com/openvenues/libpostal
4848
cd libpostal
4949
./bootstrap.sh
50-
./configure --datadir=/data --prefix=/deps --bindir=/deps || cat config.log
50+
CONFIGURE_FLAGS=(--datadir=/data --prefix=/deps --bindir=/deps)
51+
uname -m
52+
if [[ $(uname -m) == 'arm64' ]]; then CONFIGURE_FLAGS+=(--disable-sse2); fi
53+
./configure "${CONFIGURE_FLAGS[@]}" || cat config.log
5154
make -j4
5255
make install
5356
- name: 'Install node.js ${{ matrix.node-version }}'

0 commit comments

Comments
 (0)