diff options
author | James R. Barlow <james@purplerock.ca> | 2021-10-05 17:36:18 -0700 |
---|---|---|
committer | James R. Barlow <james@purplerock.ca> | 2021-10-29 17:01:32 -0700 |
commit | 59fffef33c7ec57f99327a4df334264f724e4927 (patch) | |
tree | 7be6a4558e30f17e43bd47c90dc0dc4249842d24 /build-scripts | |
parent | 63305aa7165a5ba38186343612ad7a5009002488 (diff) |
Work around CentOS 7 not providing libxmp for i686
For some reason CentOS 7 doesn't provide this library for i686 and
does for x86_64. Go figure. Anyway, we only use this for testing,
so opt unless we are on x86_64.
CentOS 7 is the manylinux2014 build platform.
Diffstat (limited to 'build-scripts')
-rw-r--r-- | build-scripts/linux-install-libxmp.bash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-scripts/linux-install-libxmp.bash b/build-scripts/linux-install-libxmp.bash new file mode 100644 index 0000000..79026b3 --- /dev/null +++ b/build-scripts/linux-install-libxmp.bash @@ -0,0 +1,4 @@ +# CentOS 7 does not provide libxmp for i686; only install for x86_64 +if [[ $(uname -p) == 'x86_64' ]]; then + yum install -y libxmp +fi
\ No newline at end of file |