Skip to content

Commit 6bfe7d1

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ 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+
if [[ $(uname -m) == 'arm64' ]]; then CONFIGURE_FLAGS+=(--disable-sse2); fi
52+
./configure "${CONFIGURE_FLAGS[@]}" || cat config.log
5153
make -j4
5254
make install
5355
- name: 'Install node.js ${{ matrix.node-version }}'

0 commit comments

Comments
 (0)