Commit 349bae44 authored by Cosimo Lupo's avatar Cosimo Lupo Committed by xoviat
Browse files

library_builders: add libtool, ragel, flex and bison (#95)

Add libtool, flex, and bison.

flex must be fetched from the released archive, rather
than the GitHub autogenerated source.
parent 59a094a6
......@@ -35,6 +35,10 @@ NETCDF_VERSION=${NETCDF_VERSION:-4.4.1.1}
SWIG_VERSION=${SWIG_VERSION:-3.0.12}
PCRE_VERSION=${PCRE_VERSION:-8.38}
SUITESPARSE_VERSION=${SUITESPARSE_VERSION:-4.5.6}
LIBTOOL_VERSION=${LIBTOOL_VERSION:-2.4.6}
RAGEL_VERSION=${RAGEL_VERSION:-6.10}
FLEX_VERSION=${FLEX_VERSION:-2.6.4}
BISON_VERSION=${BISON_VERSION:-3.0.4}
OPENSSL_ROOT=openssl-1.0.2l
# Hash from https://www.openssl.org/source/openssl-1.0.2?.tar.gz.sha256
OPENSSL_HASH=ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c
......@@ -365,3 +369,21 @@ function build_suitesparse {
yum install -y suitesparse-devel > /dev/null
fi
}
function build_libtool {
build_simple libtool $LIBTOOL_VERSION https://ftp.gnu.org/gnu/libtool/
}
function build_ragel {
build_simple ragel $RAGEL_VERSION http://www.colm.net/files/ragel/
}
function build_bison {
build_simple bison $BISON_VERSION https://ftp.gnu.org/gnu/bison/
}
function build_flex {
# the flex repository's git tags have a 'v' prefix
build_simple flex $FLEX_VERSION \
https://github.com/westes/flex/releases/download/v$FLEX_VERSION
}
......@@ -16,6 +16,7 @@ suppress build_libwebp
suppress build_szip
suppress build_swig
suppress build_github fredrik-johansson/arb 2.11.1
suppress build_flex
suppress build_openblas
stop_spinner
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment