Ask Your Question

Aitik Gupta's profile - activity

2020-10-11 15:16:20 -0600 commented answer Best/efficient development workflow?

Yeah I understand @sturkmen, I already have a merged PR in OpenCV - Problem was that it took long development times for

2020-10-11 11:06:26 -0600 marked best answer Best/efficient development workflow?

I've recently started open-source, contributing to OpenCV. I searched through the questions, never really found a good exhaustive development workflow. (Might be a rookie search)
My current workflow:

  1. Sync up everything with upstream, create a new branch.
  2. Run cmake-gui, configure and generate. [BUILD_opencv_world checked]
  3. Install OpenCV globally (via sudo make install -j12) <- This takes a huge, huge amount of time.
  4. Make changes in files. (actual contribution)
  5. Repeat 3)
  6. Create a directory in a separate location, use CMakeLists.txt to find OpenCV package, bind libs to arbitrary test.cpp
  7. Compile, check if changes were correct. Repeat 4) and 5) until the changes make sense.
  8. Push and create a PR.

The step 3) is very time consuming, if I were to shift from master to 3.4 or vice versa, or if I were to quickly check out another working branch. Is there any workaround to this? (Might be a rookie overview of the problem, any help would be much appreciated!)

2020-10-11 11:06:25 -0600 received badge  Scholar (source)
2020-10-11 11:04:39 -0600 commented answer Best/efficient development workflow?

@sturkmen I'm not sure I get you, this is what I understood: I can create multiple commits on the PR, OpenCV's build sys

2020-10-11 11:00:03 -0600 commented answer Best/efficient development workflow?

Thanks for all the pointers! This is precisely what I needed @berak :)

2020-10-11 10:59:45 -0600 commented question Best/efficient development workflow?

This is a good point, I'll make sure of this from next time.

2020-10-11 10:58:02 -0600 commented question Best/efficient development workflow?

This is a good point, I'll make sure of this from next time.

2020-10-11 10:55:40 -0600 received badge  Supporter (source)
2020-10-11 07:52:39 -0600 received badge  Student (source)
2020-10-11 07:05:53 -0600 asked a question Best/efficient development workflow?

Best/efficient development workflow? I've recently started open-source, contributing to OpenCV. I searched through the q