From 88dc287aeacbd5b1efcf8462d4407e93ce4bfb0f Mon Sep 17 00:00:00 2001 From: "pull[bot]" <39814207+pull[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 13:02:57 -0800 Subject: [PATCH] [pull] main from openvenues:master (#20) * docs: spelling/grammar fixes (#649) * docs: ARM flags (#652) Extend the `--disable-sse2` comment to also include ARM64-based linux releases. Without this, the following error occurs: ``` libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I/usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/home/ec2-user/libpostal-training/libpostal\" -g -mfpmath=sse -msse2 -DUSE_SSE -g -O2 -O2 -D LIBPOSTAL_EXPORTS -MT libpostal_la-address_dictionary.lo -MD -MP -MF .deps/libpostal_la-address_dictionary.Tpo -c address_dictionary.c -fPIC -DPIC -o .libs/libpostal_la-address_dictionary.o libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I/usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/home/ec2-user/libpostal-training/libpostal\" -g -mfpmath=sse -msse2 -DUSE_SSE -g -O2 -O2 -D LIBPOSTAL_EXPORTS -MT libpostal_la-expand.lo -MD -MP -MF .deps/libpostal_la-expand.Tpo -c expand.c -fPIC -DPIC -o .libs/libpostal_la-expand.o make[2]: *** [libpostal_la-strndup.lo] Error 1 gcc: error: unrecognized command line option '-mfpmath=sse' gcc: error: unrecognized command line option '-msse2' gcc: error: unrecognized command line option '-mfpmath=sse' gcc: error: unrecognized command line option '-msse2' make[2]: *** [libpostal_la-expand.lo] Error 1 make[2]: *** [libpostal_la-address_dictionary.lo] Error 1 make[2]: Leaving directory `/home/ec2-user/libpostal/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ec2-user/libpostal' make: *** [all] Error 2 ``` --------- Co-authored-by: JenTing Co-authored-by: oskar700 <43152874+oskar700@users.noreply.github.com> Co-authored-by: Kristofer M White --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 69bbae07..0b9df4e5 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ brew install curl autoconf automake libtool pkg-config Then to install the C library: -If you're using an M1 Mac, add `--disable-sse2` to the `./configure` command. This will result in poorer performance but the build will succeed. +If you're using an M1 Mac or ARM64-based linux distro, add `--disable-sse2` to the `./configure` command. This will result in poorer performance but the build will succeed. ``` git clone https://github.com/openvenues/libpostal