• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -eux
4
5# build the requested version of libyaml locally
6echo "::group::fetch libyaml ${LIBYAML_REF}"
7git config --global advice.detachedHead false
8git clone --branch "$LIBYAML_REF" "$LIBYAML_REPO" libyaml
9pushd libyaml
10git reset --hard "$LIBYAML_REF"
11echo "::endgroup::"
12
13echo "::group::autoconf libyaml w/ static only"
14./bootstrap
15# build only a static library- reduces our reliance on auditwheel/delocate magic
16./configure --disable-dependency-tracking --with-pic --enable-shared=no
17echo "::endgroup::"
18
19echo "::group::build libyaml"
20make
21echo "::endgroup::"
22
23echo "::group::test built libyaml"
24make test-all
25echo "::endgroup::"
26popd
27