tidying
This commit is contained in:
@ -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"
|
Reference in New Issue
Block a user