Skip to content

Commit

Permalink
buildomat: install ragel for build
Browse files Browse the repository at this point in the history
  • Loading branch information
arekinath committed Nov 14, 2023
1 parent 59765f5 commit 9182c7d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/buildomat/jobs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ set -o xtrace
privhdrs="https://stluc.manta.uqcloud.net/xlex/public/zfs-privhdrs-r151038.tar.gz"
jsonc_ver="0.16"
jsonc="https://s3.amazonaws.com/json-c_releases/releases/json-c-${jsonc_ver}.tar.gz"
ragel_ver="6.10"
ragel="http://www.colm.net/files/ragel/ragel-${ragel_ver}.tar.gz"

mkdir -p /work/dist

Expand All @@ -38,6 +40,18 @@ pushd /work/zfs-priv
curl ${privhdrs} | gtar -zxvf -
popd

#
banner ragel
#
mkdir -p /work/ragel
pushd /work/ragel
curl ${ragel} | gtar -zxf -
cd ragel-${ragel_ver}
./configure --prefix=/opt/ragel-${ragel_ver}
gmake -j2
pfexec gmake -j2 install
popd

#
banner libjson-c
#
Expand Down Expand Up @@ -70,7 +84,7 @@ popd
#
banner build
#
export PATH=$PATH:/opt/onbld/bin/i386
export PATH=$PATH:/opt/onbld/bin/i386:/opt/ragel-${ragel_ver}/bin
export MAKE=gmake
export PKG_CONFIG_PATH=/opt/pivy/lib/pkgconfig:$PKG_CONFIG_PATH
gmake -j2 \
Expand Down

0 comments on commit 9182c7d

Please sign in to comment.