Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor improvements and speedups in deps.sh #112

Open
wants to merge 459 commits into
base: master
Choose a base branch
from

Conversation

Kuree
Copy link

@Kuree Kuree commented Dec 20, 2017

  1. add library check before installation;
  2. configure Boost.Build to only compile necessary libraries;
  3. clone with --depth 1 to reduce downloading time (ffmpeg's git server return error with depth, switch to the official Github mirror.)

willcrichton and others added 30 commits May 17, 2017 20:03
Decoder currently requires absolute frame and keyframe ids but the
system was providing relative frame ids
This copy was causing performance regressions on previous benchmarks
@fpoms
Copy link
Contributor

fpoms commented Dec 21, 2017

Looks good! Would you mind rebasing this onto current master?

@Kuree
Copy link
Author

Kuree commented Dec 21, 2017

It should be rebased already.

echo "$lib is not installed. abort"
exit 1
fi
done
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One issue with this check is that a user might have installed some of these dependencies without using the package manager. Having this hard failure here would cause an issue in that case. Perhaps change this to print a warning instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I agree. Maybe we can seperate the library check on dependency basis? For instance, we only check libjpeg-dev etc if the user wants to install OpenCV?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants