Skip to content

Commit

Permalink
Fix containerization on arm32 missing GLIBC_2.15
Browse files Browse the repository at this point in the history
N.b. although the `docker build` invocation succeeds it is a false
positive having timed out after build (see
<#3> for status of
that problem).

Addresses <#2>
  • Loading branch information
easye committed Feb 10, 2016
1 parent b7b18e5 commit f2c400b
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions setup/install-parachute.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
#
# TODO
# Work out what happens on non-ARM

set -x
. "/opt/cloudfleet/apps/parachute/etc/cf-vars.sh"
if [[ -z "${CF}" ]]; then
Expand Down Expand Up @@ -46,6 +50,15 @@ fi

mkdir -p $base

test_ccl() {
${CF_APPS}/ccl/armcl --no-init --eval '(quit)'
}

recompile_ccl () {
apt-get install -y make m4 binutils gcc
(cd ${CF_APPS}/ccl/lisp-kernel/linuxarm && make clean && make)
}

# Install CCL
if [[ ! -z $ccl_uri ]]; then
echo Installing CCL from _uri $ccl_uri
Expand All @@ -54,7 +67,15 @@ if [[ ! -z $ccl_uri ]]; then
if [ ! -d "${CF_APPS}/ccl" ]; then
(cd "${CF_APPS}" && tar xvzf "$tmp/$file")
fi

test_ccl
if [[ $? -ne 0 ]]; then
recompile_ccl
test_ccl
if [[ $? -ne 0 ]]; then
echo "Failed to recompile CCL."
exit 1
fi
fi
fi

# Download Quicklisp install shim
Expand All @@ -77,4 +98,3 @@ $ccl --eval '(progn (require :asdf) (load (asdf:system-relative-pathname (asdf:f




0 comments on commit f2c400b

Please sign in to comment.