-
Notifications
You must be signed in to change notification settings - Fork 75
Suggested development workflow
Kiriti Gowda edited this page Jan 7, 2019
·
4 revisions
1. Fork your own copy of MIVisionX to your account
Public can access your repository from http://github.com/USER/MIVisionX
where USER
is your GitHub username.
See GitHub help for more details.
- CMake 2.8 or newer
- OpenCL SDK
- OpenCV 3 SDK (optional)
- ROCm dependencies: rocm-cmake, MIOpenGEMM, MIOpen (optional)
% cd ~/work
% git clone --recursive http://github.com/USER/MIVisionX
% cd MIVisionX
% git branch -m master-personal
% git remote add amd http://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX
% git fetch --all
% git checkout -b master --track amd/master
% git checkout -b develop --track amd/develop
% git pull
% git submodule init
% git submodule update
% cd ~/work
% mkdir build
% cd build
% cmake -DCMAKE_BUILD_TYPE=Release ../MIVisionX
% make
% ls -l bin
... all the binaries will be in ~/work/build/bin folder ...
% cd ~/work/MIVisionX
% git checkout develop
% git pull
% git submodule update
% git checkout -b your-name-initials/new-branch-name
Pick a meaningful name for the new branch, for example, user/test_examples
% cd ~/work/MIVisionX
% ... edit source files ...
Now, just build and unit test
% cd ~/work/build
% make
% ... unit test using binaries in ~/work/build/bin folder ...
% cd ~/work/MIVisionX
% git status
... review changes and make sure that only files that you intended to change are listed ...
% git diff
... review every change to source code files ...
% git add list-of-file(s)
% git status
... review changes again and make sure that only files that you intended to change are listed ...
% git commit -m "describe your changes"
% git push
... this will push local commits into your personal repository on github ...
3.4 Create a pull request to GPUOpen-ProfessionalCompute-Libraries/MIVisionX
- select base fork as GPUOpen-ProfessionalCompute-Libraries/MIVisionX
- select base branch as develop
- select head fork as USER/MIVisionX
- select compare branch as your-name-initials/new-branch-name
- type in the title and comment
- scroll down and review all code change once more
- scroll up and click Create pull request button to submit the pull request
See GitHub help for more details.
Copyright (c) 2015 - 2023 Advanced Micro Devices, Inc. All rights reserved.