This commit is contained in:
John
2025-04-27 09:34:04 +12:00
parent 3c50260ed3
commit c6665f3044
11 changed files with 75 additions and 37 deletions

View File

@ -41,7 +41,7 @@ print_status "Detected OS: $OS $VER"
case $OS in
"Ubuntu"|"Debian GNU/Linux")
# Common packages for both Ubuntu and Debian
PACKAGES="cmake make g++ libboost-all-dev devscripts debhelper"
PACKAGES="cmake make g++ devscripts debhelper libtbb-dev"
;;
*)
print_error "Unsupported distribution: $OS"
@ -82,11 +82,17 @@ for tool in cmake make g++; do
fi
done
# Check Boost installation
if [ ! -d "/usr/include/boost" ]; then
print_error "Boost headers not found"
# Check TBB installation
if [ ! -d "/usr/include/tbb" ]; then
print_error "TBB headers not found"
exit 1
fi
# # Check Boost installation
# if [ ! -d "/usr/include/boost" ]; then
# print_error "Boost headers not found"
# exit 1
# fi
print_status "All dependencies installed successfully!"
print_status "You can now run ./build.sh to build the project"