forked from intel/cartwheel-libjpeg-turbo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.cartwheel
46 lines (34 loc) · 1.21 KB
/
README.cartwheel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# cartwheel : libjpeg-turbo
Intel developer staging area for upstream patch contributions to [libjpeg-turbo](https://github.com/libjpeg-turbo/libjpeg-turbo).
The upstream project is tracked as a submodule in this repo.
## maintainers
* @uartie @FocusLuo @Bin-CI for CI system
## clone
```shell
$ git clone https://github.com/intel-media-ci/cartwheel-libjpeg-turbo --recursive
```
## apply patches
```shell
# at top-level directory
$ git submodule update --init --recursive
# at submodule directory
$ cd libjpeg-turbo
# It is recommended to create a branch before applying the patches
$ git checkout -b <my new branch>
$ git am ../patches/*.patch
```
## rebase
```shell
# at top-level directory
$ git pull --rebase --recurse-submodule
```
## administrators
To update the submodule reference commit id to the latest upstream:
```shell
# at top-level directory
$ git submodule update --remote --recursive
$ git commit -sam "$(git diff --submodule | head -1 | sed 's/:$//')"
```
...verify the patches still apply successfully. If they don't apply, fix them and include in new commit(s).
## additional information
For more information and examples about Git Submodules, see https://git-scm.com/book/en/v2/Git-Tools-Submodules