'Generic Commit'
Some checks failed
dropshell-build / build (push) Has been cancelled

This commit is contained in:
Your Name
2025-06-02 16:39:42 +12:00
parent d8598933ec
commit 7d1910d6bd
3 changed files with 178 additions and 23 deletions

View File

@@ -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