This commit is contained in:
@@ -144,24 +144,24 @@ function install_packages() {
|
||||
|
||||
}
|
||||
|
||||
function install_headers() {
|
||||
# put libassert headers on the host.
|
||||
echo "Checking for libassert headers"
|
||||
if [ ! -f "/usr/local/lib/libassert.a" ]; then
|
||||
echo "libassert not found, installing..."
|
||||
git clone https://github.com/jeremy-rifkin/libassert.git
|
||||
#git checkout v2.1.5
|
||||
mkdir libassert/build
|
||||
cd "libassert/build" || exit 1
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make -j
|
||||
${SUDOCMD:-} make install
|
||||
cd ../..
|
||||
rm -rf libassert
|
||||
else
|
||||
echo "libassert headers already installed"
|
||||
fi
|
||||
}
|
||||
# function install_libassert() {
|
||||
# # put libassert headers on the host.
|
||||
# echo "Checking for libassert headers"
|
||||
# if [ ! -f "/usr/local/lib/libassert.a" ]; then
|
||||
# echo "libassert not found, installing..."
|
||||
# git clone https://github.com/jeremy-rifkin/libassert.git
|
||||
# #git checkout v2.1.5
|
||||
# mkdir libassert/build
|
||||
# cd "libassert/build" || exit 1
|
||||
# cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
# make -j
|
||||
# ${SUDOCMD:-} make install
|
||||
# cd ../..
|
||||
# rm -rf libassert
|
||||
# else
|
||||
# echo "libassert headers already installed"
|
||||
# fi
|
||||
# }
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------------------------------------
|
||||
@@ -334,8 +334,6 @@ function main() {
|
||||
|
||||
install_packages
|
||||
|
||||
install_headers
|
||||
|
||||
install_musl
|
||||
|
||||
output_version
|
||||
|
Reference in New Issue
Block a user